nv-l
[Top] [All Lists]

Re: seedfile question AIX

To: nv-l@lists.tivoli.com
Subject: Re: seedfile question AIX
From: Sean Davidson <sean.davidson@MAIL.PUBLIX.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 1.3.6.1.4.1.2.3.23               # Ignore IBM RS/6000
! @oid 1.3.6.1.4.1.2.3.1.2.1.1.3        # Ignore IBM RS/6000
! @oid 1.3.6.1.4.1.11.2.3.9.1           # Ignore HP Enet JetDirect JD24
! @oid 1.3.6.1.4.1.311.1.1.3.1.3        # Ignore Windows NT Version 4.0
! @oid 1.3.6.1.4.1.311.1.1.3.1.2        # Ignore Windows NT Version 4.0
! @oid 1.3.6.1.4.1.311.1.1.3.1.1        # Ignore Windows NT Version 4.0
! @oid 1.3.6.1.4.1.311.1.1.3.1          # Ignore Windows NT
! @oid 1.3.6.1.4.1.368.1.2              # Ignore Axis 850/851CD-ROM Server
! @oid 1.3.6.1.4.1.641.1                # Ignore Lexmark Optra S 1625
! @oid 1.3.6.1.4.1.551.2.1.74           # Ignore TR Arlan 631
! @oid 1.3.6.1.4.1.32.1.2.0.0           # Ignore SCO Pharmacy
! @oid 1.3.6.1.4.1.42.2.1.1             # Ignore SUN SNMP Agent
! @oid 1.3.6.1.4.1.529.1.2              # Ignore ASCEND MAX 1800
! @oid 1.3.6.1.4.901                    # Ignore Konica KN-201
! @oid 1.3.6.1.4.1.11.2.3.9.5           # Ignore HP Enet JetDirect JD33
! @oid 1.3.6.1.4.1.1610.1.1.1.4         # Ignore LXE R 03.03.03 6280G10003E
! @oid 1.3.6.1.4.1.1610.1.1.1.3         # Ignore LXE R 03.03.03 6230G40003E
! @oid 1.3.6.1.4.1.1610.1.1.1.2         # Ignore LXE R 03.03.03 6220G40003E
! @oid 1.3.6.1.4.1.95.1.3               # Ignore PLC Allen-Bradley 1785-L40E
PLC5-40/E
! @oid 1.3.6.1.4.1.95.1.4               # Ignore PLC Allen-Bradley 1785-L80E
PLC5-80/E
! @oid 1.3.6.1.4.1.128.2.2.2.2          # Ignore Tektronix Phaser(TM) Share
Ethernet Card, firmware version 3.06
! @oid 1.3.6.1.4.1.128.2.1.4.1.4.3      # Ignore Tektronix, Inc., Phaser
780P, PhaserShare Series B Network Interface
! @oid 1.3.6.1.4.1.388.1.3              # Ignore Symbol Spectrum24 Ethernet
Access Point
! @oid 1.3.6.1.4.1.442.1.1.1.9.2        # Ignore BMC Software SNMP Toolkit,
OptiMaster Release 1.9.1 on MS-Windows

l17mlm1
l17mlm2
nv6000
sysman4

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
netmonseed=/usr/OV/conf/netmon.seed.bak
netmonseed1=/usr/OV/conf/netmon.seed.obj.bak

# 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>
/dev/null

# 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}' >
$netmonseed1

I also take weekly full system backups.

__________________________
Thanks,
Sean Davidson

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






-----Original Message-----
From: Leslie Clark [mailto:lclark@US.IBM.COM]
Sent: Thursday, December 23, 1999 12:21 PM
To: NV-L@UCSBVM.ucsb.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 !@oid 0 and the @oid 1.3.6.1.* is the chance
that !@oid 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 !@oid 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?

Cordially,

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


Hi, forum!

In a recent posting I found the following...

!@oid 0             # exclude non-snmp things

Until now I've used something like...

@oid 1.3.6.1.*   # discover SNMP-stuff only, except...
!@oid 1.3.6.1.4.1.11.2.3.9.1          # HP Network Printer
!@oid 1.3.6.1.4.1.11.2.3.9.2          # HP Network Plotter
!@oid 1.3.6.1.4.1.108.1.1.7           # Emulex NetQue Version 4.0
!@oid 1.3.6.1.4.1.253.8.62.1.1.3.1.3  # Xerox Document Centre 230ST
!@oid 1.3.6.1.4.1.253.8.62.1.1.7.1.1  # Xerox Document Centre 255ST
!@oid 1.3.6.1.4.1.253.8.62.1.3.2.1.1  # Xerox DocuPrint N24/N32/N40 Network
Laser Printer
!@oid 1.3.6.1.4.1.641.1               # Lexmark Optra SC 1275
!@oid 1.3.6.1.4.1.683.6               # ExtendNet DX
!@oid 1.3.6.1.4.1.2136.2.2            # EFI Fiery Color Printer Server
!@oid 1.3.6.1.4.1.42.2.3.1.2          # Sun X Terminal
!@oid 1.3.6.1.4.1.82.1.12             # NCD HMXpro24 hmx_x V5.0.202 #33814
02/23/1998
!@oid 1.3.6.1.4.1.82.1.13             # NCD EXPLORApro xpl V5.0.202 #33811
02/23/1998
!@oid 1.3.6.1.4.1.311.1.1.3.1.1       # NT4-Workstation
!@oid 1.3.6.1.4.1.311.1.1.3.2         # 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
!@oid 1.3.6.1.4.1.368.1.2

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

Merry XMas! Ralph Schiffinger.
iT-AUSTRIA / OE2100 / WPNM
Tel  (mobil)  0664 1908469
Tel  (iT-A)    21717 58948
FAX (iT-A)    21717 58979
Mailto:Ralph.Schiffinger@erstebank.at


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

Archive operated by Skills 1st Ltd

See also: The NetView Web