Server Management - Systems Insight Manager
1753988 Members
5785 Online
108811 Solutions
New Discussion юеВ

Cannot Import Cisco-General-Traps mib

 
Josh Hansen
Occasional Contributor

Cannot Import Cisco-General-Traps mib

I was able to successfully compile the Cisco-General-traps.mib in HP SIM v5 sp4 but i cannot import the cfg file into SIM. The error is "IMPORTING CFG CISCO-GENERAL-TRAPS.cfg Error reading CFG: MIB node has no parent Line 31 AN ERROR OCCURRED EXECUTING THE COMMAND"
I have successfully imported all of the prerequisit mibs. Anyone successfull in doing this or can shed some light on fixing this? Thanks
5 REPLIES 5
Reinhard Dreeen
New Member

Re: Cannot Import Cisco-General-Traps mib

I guess you cannot import that MIB directly, because it has some dependencies.
I looked it up at the Cisco site:

MIB Name
1. SNMPv2-SMI
2. SNMPv2-TC
3. IANAifType-MIB
4. RFC1155-SMI Non-Cisco MIB
5. RFC-1212 Non-Cisco MIB
6. RFC1213-MIB Not Required
7. CISCO-SMI
8. OLD-CISCO-INTERFACES-MIB
9. OLD-CISCO-SYSTEM-MIB
10. OLD-CISCO-TCP-MIB
11. OLD-CISCO-TS-MIB
12. RFC-1215 Non-Cisco MIB
13. CISCO-GENERAL-TRAPS

Compile all of these MIB's in that order, and see if that works.

Grtz, Rein.
Kevin Brown_4
Frequent Advisor

Re: Cannot Import Cisco-General-Traps mib

I have run into the exact same issue. I have compiled all the prerequisit MIBs successfully and get teh same error as you.
Line 31 seems to be right before the "linkDown" section starts.

::= 0
Right here ->
linkDown TRAP-TYPE
ENTERPRISE snmp
Chris Wong_1
Advisor

Re: Cannot Import Cisco-General-Traps mib

Same deal for me with the same HP SIM version...
GarethE
Advisor

Re: Cannot Import Cisco-General-Traps mib

Josh, Kevin & Chris,

I too have had a similar import issue but think I have it sorted. Some files seem to be incomplete.

It looks like each OBJECT IDENTIFIER line of the cfg file defines an object using another object - which has to have already been defined itself.

For example, if you had:
lgpConTable OBJECT IDENTIFIER ::= { lgpConditions 3 }
...you would want to see an "lgpConditions OBJECT IDENTIFIER ::=" line somewhere before it.

I fixed my errors by opening other compiled MIBs (CFGs) that had loaded OK, found the definition line missing from my non-working CFG, then added it in just in front of the error line & re-import.
This sorted it out for me.

Hope this info helps. Good luck.

Gareth.
GarethE
Advisor

Re: Cannot Import Cisco-General-Traps mib

...also, this may help. All my import errors were caused by these two lines missing from the CFG files:

cisco OBJECT IDENTIFIER ::= { enterprises 9 }
ciscoMgmt OBJECT IDENTIFIER ::= { cisco 9 }


Hope the same fix works for you...

Gareth