Networker

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

2008-04-11 15:07:24
Subject: Re: [Networker] Linux does not report the client version in nsradmin
From: "Werth, Dave" <dave.werth AT GARMIN DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 11 Apr 2008 11:28:36 -0700
If you put the names of the 1200 clients in a file (one name per line)
you can call the script below with something like this:

 for client in 'cat client-names'
 do
        nsr_get_client_version_from_client $client >> outputfile
 done


Dave Werth
Garmin AT, Inc.
Salem, Oregon
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Venkat Tudi
Sent: Friday, April 11, 2008 11:03 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Linux does not report the client version in
nsradmin

Hi Tim,
I have over 1200 clients. If I have run this from each client that is a
painful one. Can I run this from any Backup Server.
-Venkat

On Fri, Apr 11, 2008 at 12:20 PM, Tim Mooney <Tim.Mooney AT ndsu DOT edu>
wrote:

> 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
>



-- 
Venkat Tudi

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

-------------------------
This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient. If you are not the intended recipient, please be 
aware that any disclosure, copying, distribution or use of this e-mail or any 
attachment is prohibited. If you have received this e-mail in error, please 
contact the sender and delete all copies.
Thank you for your cooperation

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