quick shot:
build a collection with something like...
[james@NMSSR1:/home/root]> nvUtil g FUDEL
Collection: FUDEL
Description: Fudel-Collection
Rule: ((('isSNMPSupported' = True) && (!('isPrinter' = True))) &&
(!('SNMPAgent' = 'HP Network Printer')))
[james@NMSSR1:/home/root]>
run a script like...
for whatshisname in `nvUtil l FUDEL`
do
gethost.txt(see below) $whatshisname >>/tmp/hosts.new
done
[[ gethost.txt : 3642 In gethost.txt ]]
Cordially, Ralph.
iT-AUSTRIA / OE2100 / TK-NET
Tel (mobil) 0664 1908469
Tel (iT-A) 21717 58948
FAX (iT-A) 21717 58979
Mailto:Ralph.Schiffinger@erstebank.at
-----Ursprüngliche Nachricht-----
Von: Dror Katzman [SMTP:zdror@IL.IBM.COM]
Gesendet am: Mittwoch, 16. Juni 1999 15:31
An: NV-L@UCSBVM.ucsb.edu; Schiffinger Ralph 2100
Betreff: How to generate /etc/hosts from netview
Is their a tool availabel to build /etc/hosts based on Netview/6000
database .
My customer has generated /etc/hosts using traps and rulleset to do
snmpget for the host .
Yet , this 3000 lines /etc/hots has caused netmon and ovtopomd to kill the
cpu .
Anybody has a better tool ?
Thanks Dror
gethost.txt
Description: Text Data
|