problem when add new MIBs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

problem when add new MIBs

Post by hanya.radwan »

hi,

when I tried to add new MIBs files from nagios XI page(Manage MIBs) and when check (process trap), the following problem appear :

Failed to convert uploaded file to snmptt mib.. (rc: 13)

I tried to add them from server:
[root@nms mibs]# /usr/local/bin/addmib /usr/share/snmp/mibs/ALARM-MIB.txt
Cannot find module (ERICSSON-SNF-TOP-MIB): At line 4 in /usr/share/snmp/mibs/ALARM-MIB.txt
Did not find 'snfGeneric' in module #-1 (/usr/share/snmp/mibs/ALARM-MIB.txt)
Unlinked OID in ALARM-MIB: alarmMIB ::= { snfGeneric 666 }
Undefined identifier: snfGeneric near line 17 of /usr/share/snmp/mibs/ALARM-MIB.txt
Cannot adopt OID in ALARM-MIB: alarmActiveVariableOpaqueVal ::= { alarmActiveVariableEntry 12 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableCounter64Val ::= { alarmActiveVariableEntry 11 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableOidVal ::= { alarmActiveVariableEntry 10 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableIpAddressVal ::= { alarmActiveVariableEntry 9 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableOctetStringVal ::= { alarmActiveVariableEntry 8 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableInteger32Val ::= { alarmActiveVariableEntry 7 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableTimeTicksVal ::= { alarmActiveVariableEntry 6 }
Cannot adopt OID in ALARM-MIB: alarmActiveVariableUnsigned32Val ::= { alarmActiveVariableEntry
.
.
.
.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: problem when add new MIBs

Post by slansing »

I'd take a look at this thread:

http://support.nagios.com/forum/viewtop ... 76&start=0

Looks to me like you need to add some pre-requesite mibs.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: problem when add new MIBs

Post by hanya.radwan »

I follow up that but all of thing is Ok, but this problem always appear when I try to add new mib file
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: problem when add new MIBs

Post by abrist »

We covered this in the other thread, but you are still missing the following mib:

Code: Select all

ERICSSON-SNF-TOP-MIB
This is quite evident in the text of the error:

Code: Select all

Cannot find module (ERICSSON-SNF-TOP-MIB): At line 4 in /usr/share/snmp/mibs/ALARM-MIB.txt
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked