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
.
.
.
.
problem when add new MIBs
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
problem when add new MIBs
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
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.
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
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
We covered this in the other thread, but you are still missing the following mib:
This is quite evident in the text of the error:
Code: Select all
ERICSSON-SNF-TOP-MIBCode: Select all
Cannot find module (ERICSSON-SNF-TOP-MIB): At line 4 in /usr/share/snmp/mibs/ALARM-MIB.txtFormer 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.
"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.