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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

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

Post by ukboarder »

Same issue tgriep I'm afraid
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

Can you run the following and post the results back.

Code: Select all

rpm -qa | grep snmp
ll /usr/share/snmp/mibs
ps aux |grep snmp
cat /etc/group
Be sure to check out our Knowledgebase for helpful articles and solutions!
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

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

Post by ukboarder »

Hi,

Please find attached the output from these commands as requested
commandoutputs.txt
Thanks
Nick
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

Could you run these also and post the output?

Code: Select all

 which addmib
 which snmpttconvertmib
 which snmptraphandling.py
 
 snmpttconvertmib --version
 snmptt --version
 ll /usr/local/bin
 
 cat /etc/snmp/snmptt.conf
 cat /etc/snmp/snmptt.ini
 cat /etc/snmp/snmptrapd.conf
Be sure to check out our Knowledgebase for helpful articles and solutions!
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

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

Post by ukboarder »

Hi,

Here are the details you requested
Commandoutputsv2.txt
Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

Can you run this on the server while you try to upload the MIB file and post the output?

Code: Select all

tail -f /var/log/httpd/error_log
Here is another post with the same error you are having. Maybe it will work for you.

http://support.nagios.com/forum/viewtop ... =6&t=30410
Be sure to check out our Knowledgebase for helpful articles and solutions!
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

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

Post by ukboarder »

Hi,

We have removed it already and reinstalled with the file from the integrating SNMP document

Our error log is here -
error_log.txt
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

A few more permissions checks

Code: Select all

ls -al /etc/snmp
ls -ld /usr/local/bin
ls -al /usr/share/snmp
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

It looks like the installer didn't run all of the way. Can you try this from a command line, log the output and post the results back?

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-SNMPTrap-setup.sh
sh ./NagiosXI-SNMPTrap-setup.sh
Be sure to check out our Knowledgebase for helpful articles and solutions!
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

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

Post by ukboarder »

Hi Guys,

Thanks for all of your help.. it looks like re-running the install script again seems to have resolved the issue, third time lucky

Thanks
Nick
Locked