Unfortunately "wtcoll" is no more available in NetView 6.
So try this one:
#!/bin/ksh
for x in `/usr/OV/bin/nvUtil l collection_name`
do
/usr/OV/bin/ovtopodump $x | /usr/bin/tail +2 | /usr/bin/awk '{print $NF}'
done
Kind regards
Oliver Bruchhaeuser
"Owens, Blaine
C" To: "'IBM NetView Discussion'"
<nv-l@tkg.com>
<bowens@EASTMA cc:
N.COM> Subject: RE: [NV-L] Listing IP
Addresses in a Collection
Sent by:
owner-nv-l@tkg
.com
30.08.2001
15:27
Please respond
to IBM NetView
Discussion
Unix? If so, try the following script:
#!/bin/ksh
for x in `/usr/OV/samples/wtcoll -listIds collection_name`
do
/usr/OV/bin/ovtopodump -o $x | tail -1 | awk '{print $5}'
done
-----Original Message-----
From: jarcila@bancolombia.com.co [mailto:jarcila@bancolombia.com.co]
Sent: Thursday, August 30, 2001 9:11 AM
To: IBM NetView Discussion
Subject: [NV-L] Listing IP Addresses in a Collection
Good morning
I´m interested to know if any of you know any way to see the entire list
of Ip addresses of a group of objects, for example I want to know all the
IP addresses (each interface) of all the routers in a collection.
How can I do that ??. I will be very grateful if any of you can help me.
Best Regards
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|