Networker

Re: [Networker] Printing out clients and schedules

2004-02-13 07:34:38
Subject: Re: [Networker] Printing out clients and schedules
From: Conrad Macina <conrad.macina AT PFIZER DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 13 Feb 2004 07:34:38 -0500
In most cases this will also work:

echo "option hidden\nprint type:nsr client;name:myclient" | nsradmin -i - >
myclient.cli

There has been some discussion on this list (sorry I don't have time to
look it up) that different versions of echo may not honor the "\n" newline
sequence, but it works consistently on Solaris 8.

Conrad Macina
Pfizer, Inc.


On Fri, 13 Feb 2004 10:20:35 +0200, Riaan Louwrens
<riaanl AT SOURCECONSULTING.CO DOT ZA> wrote:

>Hi Dean,
>
>You can run a nsradmin query,
>
>type from cmd line:
>nsradmin
>option hidden
>. NSR client
>show
>print
>
>This will show you al of your configuration details for each and every
>client - this list can be enroumous.
>
>Once youre satisfuied with that you can run the commands from a script and
>pipe it to a output file:
>
>put all of the above in a text file (without the nsradmin)
>then run
>nsradmin -i yourefilename > outputfilename
>
>by adding lines in the script like show name=yourclientname
>
>you can limit the output.
>
>Enjoy !
>Riaan
>
>
>
>-----Original Message-----
>From: Eidler, Dean [mailto:dean.eidler AT AGRESEARCH.CO DOT NZ]
>Sent: Thursday, February 12, 2004 10:58 PM
>To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
>Subject: [Networker] Printing out clients and schedules
>
>
>Hi
>
>Is there any easy way to print out each instance of a client, for all
>clients, in all groups along with its associatted schedule?
>
>Ordered by group or maybe storage node or even alphabetically .....
>
>Thanks
>Dean
>=======================================================================
>Attention: The information contained in this message and/or attachments
>from AgResearch Limited is intended only for the persons or entities
>to which it is addressed and may contain confidential and/or privileged
>material. Any review, retransmission, dissemination or other use of, or
>taking of any action in reliance upon, this information by persons or
>entities other than the intended recipients is prohibited by AgResearch
>Limited. If you have received this message in error, please notify the
>sender immediately.
>=======================================================================
>
>--
>Note: To sign off this list, send a "signoff networker" command via email
>to listserv AT listmail.temple DOT edu or visit the list's Web site at
>http://listmail.temple.edu/archives/networker.html where you can
>also view and post messages to the list.
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
>--
>Note: To sign off this list, send a "signoff networker" command via email
>to listserv AT listmail.temple DOT edu or visit the list's Web site at
>http://listmail.temple.edu/archives/networker.html where you can
>also view and post messages to the list.
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>