This didn't work. An error came up saying "invalid MIB table" upon trying
to load a new MIB after the copy.
It appears I can use the "-load" parameter with the xnmloadmib2 command so I
can script the loading of these MIBs rather than via the GUI, right?
Joe
-----Original Message-----
From: James Shanks [mailto:James_Shanks@TIVOLI.COM]
Sent: Tuesday, January 11, 2000 3:07 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Loading SNMPv1/SNMPv2 MIBs
Well, you could try this if you like, and it may even work, but it's not
supported. I'm sure it has not been tested.
Each mib compiler maintains its own binary file and its own text file and no
attempt has ever been made to make them interchangeable. Indeed, because
each
one has different parsing routines, it is hard to say whether they could
read
each other's binary files or not. If you want to really try this, then I
would
do it this way:
(1) make a backup copy of /usr/OV/conf/snmpv2mib
(2) make a backup copy of /usr/OV/conf/snmpv2mib.bin
(3) cp snmpmib snmpv2mib
(4) cp snmpmib.bin snmpv2mib.bin
(5) try loading a new MIB with xnmloadmib2.
You won't really know whether your copying was successful until you get the
first new MIB loaded, because the entire MIB database is re-compiled with
every
new MIB added to it. That's the acid test.
If it works, then please tell us all, but don't be surprised if it doesn't.
James Shanks
Tivoli (NetView for UNIX) L3 Support
"Prokott, Joe" <Joe.Prokott@WESTGROUP.COM> on 01/11/2000 03:54:59 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView
<NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: Loading SNMPv1/SNMPv2 MIBs
Without having to reload all MIBs over again one-by-one, is there a way to
convert the existing SNMPv1 MIBs loaded into the SNMPv1/SNMPv2 NetView
browser? Can one just copy the "snmpmib.bin" file over to the
"snmpv2mib.bin" file and then just reload the few SNMPv2 MIBs (we have many
more SNMPv1 MIBs than SNMPv2)?
Joe Prokott
Network Architect
West Group
e-mail: joe.prokott@westgroup.com
|