I’ve been working on configuring a new HP Open View Network Node Manager 9i installation on Windows 2008 this week, installing all the SNMP MIBS and migrating all the trapd.conf information from the old Network Node Manager 6.4 install.
I came across an interesting error today trying to load all the Avaya (formerly Nortel) RAPID-CITY SNMP MIBs. I manually copied all the SNMP MIBs from the 6.2 software release for the Avaya Ethernet Routing Switch 5000 series up to the proper directory, in my case it was D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mibs\. As a side note “Rapid City” was the development codename for the Ethernet Routing Switch 8600.
I originally tried to load the SNMP MIB from the web GUI but it would continually timeout so I took to the command line interface and issued the following command from a command prompt on the server;
nnmloadmib.ovpl -load "D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mibs\RC-ERROR-MIB.mib"
I received the following error message from that command;
Error execution program: Error detected while loading MIB File: D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-m -MIB.mib. This MIB cannot be loaded until the following problem is corrected: [RC-ERROR-MIB] - Line 2418: Warning: token longer than allowed maximum, truncating [RC-ERROR-MIB] - Line 2419: Warning: token longer than allowed maximum, truncating [RC-ERROR-MIB] - Line 2419: Error defining enumerated type: Missing ')' in 'cannotSetPt2PtOrSpokeTypeWithoutRemoteUniWhi bled(707' Accepted syntax for enumerated list: { label1(value) [ , label2(value) ... ] } Examples: { other(1), invalid(2), direct(3), indirect(4) }[RC-ERROR-MIB] - Line 2419: Error defining OBJECT-TYPE: last token 'ca OrSpokeTypeWithoutRemoteUniWhileEndptIsEnabled(707' Accepted syntax for OBJECT-TYPE: object-label OBJECT-TYPE SYNTAX type [ UNITS "text" ] MAX-ACCESS read-only | read-write | read-create | not-accessible STATUS current | obsolete | deprecated [ DESCRIPTION "text" ] [ REFERENCE "text" ] [ INDEX { variable ... } ] [ DEFVAL { value } ] ::= { parentlabel subid } Example: sysUpTime OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "The time (in hundredths of a second) since the network management portion of the system was last re-initialized." ::= { system 3 }
It turns out that HP Open View NNM doesn’t like tokens that are longer than 60 characters so I had to edit the RC-ERROR-MIB file so that every token was 60 characters or less. If you don’t feel like doing that yourself you can download the file I edited right here, RC-ERROR-MIB
I also had to edit RC-IP-BGP-MIB to fix a different error;
D:\>nnmloadmib.ovpl -load "D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mibs\RC-IP-BGP.mib" Error execution program: nnmloadmib: Load file, D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mibs\RC-IP-BGP.mib, exist. D:\>nnmloadmib.ovpl -load "D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mibs\RC-IP-BGP-MIB.mib" Error execution program: Error detected while loading MIB File: D:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mib P-MIB.mib. This MIB cannot be loaded until the following problem is corrected: [RC-IP-BGP-MIB] - Line 1529: Error defining OBJECT-TYPE: Expected '::=', found 'The' Accepted syntax for OBJECT-TYPE: object-label OBJECT-TYPE SYNTAX type [ UNITS "text" ] MAX-ACCESS read-only | read-write | read-create | not-accessible STATUS current | obsolete | deprecated [ DESCRIPTION "text" ] [ REFERENCE "text" ] [ INDEX { variable ... } ] [ DEFVAL { value } ] ::= { parentlabel subid } Example: sysUpTime OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "The time (in hundredths of a second) since the network management portion of the system was last re-initialized." ::= { system 3 }
The fix was to tweak the description used on line 1508, DESCRIPTION “————–“. I replaced it with, DESCRIPTION “Why does this choke within NNM”. If you don’t care to hack the MIB yourself, you can download a fixed copy from here, RC-IP-BGP-MIB
Cheers!
Derek says
As a side note “Rapid City” was the development codename for the Ethernet Routing Switch 8600.
Rapid City Communications developed the L3 switch aquired by Bay called the Accelar then the pp8000 which became the ERS8000 series we know today. A lot of the original L2 switch technology was aquired when Bay bought synoptics if you look at baystack switches the MIB’s are Synoptics. These companies registerd the MIB’s prior to aquisition which is why you can see rc, syn & even wf wellfleet in the old BCN/ASN ranges of routers. The MIB contains history :)
Keep up the good work, I often find your blogs more helpfull than the info I can get internally LOL