Re: seedfile question AIX

1999-12-28 08:42:38
Subject: Re: seedfile question AIX
From: Sean Davidson <sean.davidson AT MAIL.PUBLIX DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 28 Dec 1999 08:42:38 -0500
I do the same thing as a backup, but have new node discovery disabled:

# Discover snmp managed nodes only
! @oid 0   # only discover snmp managed devices

# Don't discover devices with following OIDs:
! @oid               # Ignore IBM RS/6000
! @oid        # Ignore IBM RS/6000
! @oid           # Ignore HP Enet JetDirect JD24
! @oid        # Ignore Windows NT Version 4.0
! @oid        # Ignore Windows NT Version 4.0
! @oid        # Ignore Windows NT Version 4.0
! @oid          # Ignore Windows NT
! @oid              # Ignore Axis 850/851CD-ROM Server
! @oid                # Ignore Lexmark Optra S 1625
! @oid           # Ignore TR Arlan 631
! @oid           # Ignore SCO Pharmacy
! @oid             # Ignore SUN SNMP Agent
! @oid              # Ignore ASCEND MAX 1800
! @oid                    # Ignore Konica KN-201
! @oid           # Ignore HP Enet JetDirect JD33
! @oid         # Ignore LXE R 03.03.03 6280G10003E
! @oid         # Ignore LXE R 03.03.03 6230G40003E
! @oid         # Ignore LXE R 03.03.03 6220G40003E
! @oid               # Ignore PLC Allen-Bradley 1785-L40E
! @oid               # Ignore PLC Allen-Bradley 1785-L80E
! @oid          # Ignore Tektronix Phaser(TM) Share
Ethernet Card, firmware version 3.06
! @oid      # Ignore Tektronix, Inc., Phaser
780P, PhaserShare Series B Network Interface
! @oid              # Ignore Symbol Spectrum24 Ethernet
Access Point
! @oid        # Ignore BMC Software SNMP Toolkit,
OptiMaster Release 1.9.1 on MS-Windows


I didn't really like all the stub objects I got in the database, so I run w/
discovery disabled and use the seed
file to add new objects. I've got 30,000 objects, 14,000 were stub objects
due to the seed file. We only care about network gear.

I also create a backup seed file in case something happens to my database.
Everything I care about is in a collection, so I dump all the members of my
collections to a file once a week. I also dump all devices in the object
database once a week.

Here's the script I use from cron:

# Setup variables

# Copy previuos netmon seed file to old
copy /usr/OV/conf/netmon.seed.bak /usr/OV/conf/netmon.seed.old 2> /dev/null
copy /usr/OV/conf/netmon.seed.obj.bak /usr/OV/conf/netmon.seed.obj.old 2>

# Remove old seed file
rm -f /usr/OV/conf/netmon.seed.bak
rm -f /usr/OV/conf/netmon.seed.obj.bak

# Create seed file
/usr/OV/bin/nvUtil l All_Cisco_Routers > $netmonseed
/usr/OV/bin/nvUtil l All_Hubs >> $netmonseed
/usr/OV/bin/nvUtil l Chase_Terminal_Servers >> $netmonseed
/usr/OV/bin/nvUtil l Dallas_Servers >> $netmonseed
/usr/OV/bin/nvUtil l Firewall >> $netmonseed
/usr/OV/bin/nvUtil l NetViews >> $netmonseed
/usr/OV/bin/nvUtil l Paradyne_Frame_Saver_DSU >> $netmonseed
/usr/OV/bin/nvUtil l ARLAN_630E_RF_Access_Points >> $netmonseed
/usr/OV/bin/nvUtil l Mainframe >> $netmonseed
/usr/OV/bin/nvUtil l Stratus >> $netmonseed
/usr/OV/bin/nvUtil l mlmGroup >> $netmonseed

# Create another seed file with all objects in database
/usr/OV/bin/ovobjprint | grep "IP Hostname" | awk -F \" '{print $2}' >

I also take weekly full system backups.

Sean Davidson

Sr. Network Systems Engineer
Publix Super Markets, Inc.
P.O. Box 32015
Lakeland, Fl. 33802-2015
Email - sean.davidson AT publix DOT com
Voice - (863) 686-8754 x6889
Fax - (863)616-5895

-----Original Message-----
From: Leslie Clark [mailto:lclark AT US.IBM DOT COM]
Sent: Thursday, December 23, 1999 12:21 PM
To: NV-L AT UCSBVM.ucsb DOT edu
Subject: Re: seedfile question AIX

Ralph, if your seedfile is working for you, stick with it. It may only
be a question of style. Taken by themselves, the only difference I
know of between the [email protected] 0 and the @oid* is the chance
that [email protected] 0 will allow the discovery of things with badly formed
oids, such as you sometimes see on firewalls.

I do have suspicions, based on poorly-recorded notes I took at
an update and observations at a number of customer sites, about the
order of precedence between negative and positive entries of the oid
and address-range types, that lead me to use the [email protected] 0. But you
should not change what is working for you. There is a certain amount
of voodoo involved here.

I think most people do it the way you are doing it. Anyone else?


Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking

Hi, forum!

In a recent posting I found the following...

[email protected] 0             # exclude non-snmp things

Until now I've used something like...

@oid*   # discover SNMP-stuff only, except...
[email protected]          # HP Network Printer
[email protected]          # HP Network Plotter
[email protected]           # Emulex NetQue Version 4.0
[email protected]  # Xerox Document Centre 230ST
[email protected]  # Xerox Document Centre 255ST
[email protected]  # Xerox DocuPrint N24/N32/N40 Network
Laser Printer
[email protected]               # Lexmark Optra SC 1275
[email protected]               # ExtendNet DX
[email protected]            # EFI Fiery Color Printer Server
[email protected]          # Sun X Terminal
[email protected]             # NCD HMXpro24 hmx_x V5.0.202 #33814
[email protected]             # NCD EXPLORApro xpl V5.0.202 #33811
[email protected]       # NT4-Workstation
[email protected]         # Windows 98!? - holy jeezuz!
# AXIS StorPoint CDCD-ROM ServerV4.12 Aug 12 1997
# HP CD-ROM Server compatible,AXIS StorPoint CD CD-ROM Server,Version: 4.26
[email protected]

Question: Should I switch to the "new" version? Do I miss something?
Any info appreciated.

Merry XMas! Ralph Schiffinger.
Tel  (mobil)  0664 1908469
Tel  (iT-A)    21717 58948
FAX (iT-A)    21717 58979
Mailto:Ralph.Schiffinger AT erstebank DOT at

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