Page 1 of 1

problem when add new MIBs

Posted: Wed Aug 20, 2014 4:01 am
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
.
.
.
.

Re: problem when add new MIBs

Posted: Wed Aug 20, 2014 4:42 pm
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.

Re: problem when add new MIBs

Posted: Mon Sep 01, 2014 9:00 am
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

Re: problem when add new MIBs

Posted: Tue Sep 02, 2014 2:45 pm
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