Networker

Re: [Networker] How Do I Get A Client Info Report?

2009-04-10 05:35:07
Subject: Re: [Networker] How Do I Get A Client Info Report?
From: "Macina, Conrad" <Conrad.Macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 10 Apr 2009 05:27:38 -0400
Or you could try it this way (again, Unix only):

echo "show name;comment;client os type;networker version \n print
type:nsr client;name:<clientname>" | nsradmin -s <server> -i - | cut -d
':' -f 2 | cut -d ';' -f 1 | while read LINE
do
  echo "${LINE},\c"
done ; echo ""


Conrad Macina
Pfizer, Inc.



-----Original Message-----
From: Leese, Mark (HP Team) 
Sent: Thursday, April 09, 2009 10:29 AM
Subject: Re: How Do I Get A Client Info Report?



Hi Tom,

The closest I can get you at short notice is the attached script. Must
be run from Solaris in the Korn shell.

Hope this helps, it is a bit buggy but gives you what you want.

Regards
Mark


-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Tom Birkenbach
Sent: 08 April 2009 15:22
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] How Do I Get A Client Info Report?

I think that will work for me Frank.  Thanks!!  I appreciate it.

Only one modification and this would be perfect.  Can I get the output
to
list all the desired items on one line?  This would make it easier to
import
into a spreadsheet (for tracking/reporting purposes).

Right now, the output looks something like...

                name: servername.fqdn;
             comment: my client comments;
      client os type: Solaris;
   NetWorker version: 7.3.2.build.364;

What I would like is...
servername.fqd; my client comments; Solaris; 7.3.2.build.364;



On Wed, 8 Apr 2009 09:24:42 -0400, Francis Swasey <Frank.Swasey AT UVM DOT EDU>
wrote:
>
>nsradmin is your friend:
>
>
>/usr/sbin/nsradmin <<EOF
>. type: nsr client
>show name; comment; client OS type; NetWorker version
>print
>EOF
>
>--
>Frank Swasey                    | http://www.uvm.edu/~fcs
>Sr Systems Administrator        | Always remember: You are UNIQUE,
>University of Vermont           |    just like everyone else.
>   "I am not young enough to know everything." - Oscar Wilde
(1854-1900)

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

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

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