Networker

Re: [Networker] Linux does not report the client version in nsradmin

2008-04-11 12:24:21
Subject: Re: [Networker] Linux does not report the client version in nsradmin
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 11 Apr 2008 11:20:28 -0500
In regard to: [Networker] Linux does not report the client version in...:

Hi all,
Any one know a way of capturing Networker Version of client and OS type in
Linux NW server.

Just ask the client directly.  Put this in a file and run it with the
client name:





#! /bin/sh

#
# Author: Davina Treiber et. al.
#
# Synopsis: Given a client name on the command line, contact that client
# and ask it for info.
#

if test $# -lt 1 ; then
    echo "$0: usage: nsr_get_client_version_from_client clientname" >&2
    exit 1
fi

printf "%s\n%s\n" 'show NetWorker version:' 'print type:NSRLA' \
    | nsradmin -p390113 -i - -s "$1" \
    | sed -e 's/^ *NetWorker version: //' -e 's/;//g'




Tim
--
Tim Mooney                                        Tim.Mooney AT ndsu DOT edu
Information Technology Services                   (701) 231-1076 (Voice)
Room 242-J6, IACC Building                        (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER