Page 1 of 1

Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Fri Dec 05, 2014 9:49 am
by paulol
When i try to upload mib SVC_MIB_7.4.0.MIB (Storage V7000) on nagios xi i receive the folllowing error:

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

Im using snmptt-1.4-0.9.beta2.el6.noarch. I don't know if this can impact.

Obs: Just this MIB i cant import.

Follow attached file

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Fri Dec 05, 2014 10:14 am
by tmcdonald
What XI version are you using? Are you checking the "Process trap" box before uploading?

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Fri Dec 05, 2014 10:21 am
by paulol
Nagios XI 2014R2.0. Yes i checked the box Process trap.

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Fri Dec 05, 2014 3:35 pm
by tmcdonald
Let's check the permissions on a few things:

Code: Select all

ls -l /usr/share/snmp/mibs/ -d
ls -l /usr/share/snmp/mibs/processed_mibs/ -d
I am assuming it works if you do not check the process trap box?

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Sat Dec 06, 2014 6:54 am
by paulol
[root@DOUAI ~]# ls -l /usr/share/snmp/mibs/ -d
drwxrwsr-x. 3 root nagios 4096 Dec 6 09:27 /usr/share/snmp/mibs/
[root@DOUAI ~]# ls -l /usr/share/snmp/mibs/processed_mibs/ -d
drwxr-sr-x 2 apache nagios 4096 Nov 29 11:52 /usr/share/snmp/mibs/processed_mibs/

Process Trap box unchecked. New MIB was installed successfully.

Re: Error when upload mib FORTINET-TRAP-MIB.mib

Posted: Sat Dec 06, 2014 8:12 am
by paulol
Same error for MIB File: FORTINET-TRAP-MIB.mib with box process trap checked.

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

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Sat Dec 06, 2014 8:30 am
by paulol
I'm receiving this error everytime when i upload any mib with the trap process box checked.

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Sat Dec 06, 2014 8:36 am
by paulol
I got this error on apache error log /var/log/httpd/error_log when i tried to upload with the checked box

sh: Array: command not found

Re: Error when upload mib SVC_MIB_7.4.0.MIB Solved

Posted: Sat Dec 06, 2014 9:37 am
by paulol
I Solved. I removed snmptt and re-installed via -> sh ./NagiosXI-SNMPTrap-setup.sh.
Now i can upload with process trap box checked.

thx for help.

Re: Error when upload mib SVC_MIB_7.4.0.MIB

Posted: Mon Dec 08, 2014 10:50 am
by cmerchant
Glad you were able to resolve this. Sorry, we were not able to respond so quickly over the weekend. Our support hours are Monday - Friday 9:00am to 5:00pm CST. I will go ahead and close this thread.