Server Management - Systems Insight Manager
1832420 Members
2824 Online
110042 Solutions
New Discussion

registration problem with mxmib -a

 
Nick M_1
Frequent Advisor

registration problem with mxmib -a

All

BACKGROUND

I compiled and registered a XP24K MIB on HP SIM. I generated an alert on XP24K and a SNMP trap was received on the HP SIM server. The SNMP trap message on HP SIM indicates the XP24K MIB hasn’t registered properly and the wrong MIB is being used.

These messages were displayed for the SNMP trap on HP SIM -

“Mib Information – The associated MIB File Name for this trap is xp1024trapmib.mib and the MIB identifier RAID450MB”

“Mib data does not match the trap, make sure the latest version of the MIB is registered. The SNMP OID is 1.3.6.1.4.1.116.5.11.4.2.1”

I ran these commands when I compiled and registered the XP24K MIB –

C:\Program Files\HP\Systems Insight Manager\mibs>mcompile USPMIB.txt

HP Systems Insight Manager Mib Compiler, Version 5.0.2.1
Copyright (c) 2003-2006 Hewlett Packard Corporation

Compiling USPMIB.txt

Processing import file: RFC-1212.mib
Processing import file: RFC-1215.mib
Processing import file: rfc1213.mib
Processing import file: RFC1155-SMI.mib
Mib Compilation completed successfully

C:\Program Files\HP\Systems Insight Manager\mibs>mxmib -a USPMIB.cfg

IMPORTING CFG USPMIB.cfg
COMMAND COMPLETED SUCCESSFULLY

C:\Program Files\HP\Systems Insight Manager\mibs>

How do I know if XP24K MIB is registered successfully? “mxmib –l” doesn’t show uspmib.mib, but
“xp1024trapmib.mib” DOES appear in the “mxmib –l” listing

QUESTIONS

* Would you expect “mxmib –a” to create a new file with the “*.mib” suffix (and for me to be able to list this new file using “mxmib –l”)?

* Is there any debug facility that allows you to collect verbose diagnostics for mxmib? (I am wondering whether the xp1024 mib is preventing the xp24K mib from registering)

All help would be much appreciated I am new to snmp

thanks

Nick
3 REPLIES 3
Rob Buxton
Honored Contributor

Re: registration problem with mxmib -a

I don't think the import would generate a MIB as it should load the cfg file as you've done.

I would have thought the MIB would show in the mxmib -l command.
You could try restarting HP SIM itself and see if that shows it more clearly.

Also as a test you could use mxmib to delete the added mib, rename the .txt as a mib and repeat the process.
I'm not aware of any way of getting mxmib to generate more info. The fact it reported as successful should indicate it loaded the mib.
Nick M_1
Frequent Advisor

Re: registration problem with mxmib -a

I tried recompiling and reregistering the MIB and I found if I generate a test trap (not a thin provision trap) - it uses USPMIB for test traps.

So USPMIB appears to register OK, but the thin provision alerts use the xp1024trapmib. This results in some of the trap information not getting formatted properly.

Does anyone know if I can tell HP SIM to use USPMIB to accept thin provision alerts?
Sergey Fetisov
New Member

Re: registration problem with mxmib -a

Hi there! I had the same problem with HP SIM Linux platform. The problem was with file permissions (USPMIB.cfg & .mib). After correcting the files permissions you have to register them into the SIM again.
Regards.
Sergey N. Fetisov