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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

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

Post by WillemDH »

Hello,

Today I followed the prcoedure http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

to the letter. After downloading and unzipping the akcp.mib file, I got the following error after clicking "Upload MIB": "Failed to convert uploaded file to snmptt mib.. (rc: 13)"

Apparently Bandit had the same issue here http://support.nagios.com/forum/viewtop ... =16&t=9917

The MIB file does seem to be added in the list however.

Code: Select all

ll /usr/local/bin/snmpttconvertmib
-rwxr-xr-x 1 root root 30438 Jan 15 08:50 /usr/local/bin/snmpttconvertmib
I executed an addmib

Code: Select all

 /usr/local/bin/addmib /usr/share/snmp/mibs/akcp.mib
Which did not gave any error, but also no confirmation that something happened..

What could be het reason of "Failed to convert uploaded file to snmptt mib.. (rc: 13)"?

After finishing the procedure, and executing the SNMP wizard, the checks don't seem to work:

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_snmp -H cpf-sensor01  -o 1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -C public -P 2c -l "Temperature" -u "Deg Celsius" -m akcp.mib -w 30 -c 31
OUTPUT: Temperature problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m akcp.mib -v 2c [authpriv] cpf-sensor01:161  1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0
Any help is welcome. When I use a MIB Browser and use the same public / oid, I do get a result.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

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

Post by WillemDH »

I'd still like to know what was going wrong with the procedure from Nagios XI http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Just noticed I placed this in general support, could someone move it to customer support?
Nagios XI 5.8.1
https://outsideit.net
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

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

Post by sreinhardt »

It looks like the oid queried did not return data, or the device did not have snmp open at the time. If the other script is working, I would take it that snmp is open and working, and it is just a matter of what oid is in use. Let's do a snmpwalk and see what we can find.

Code: Select all

snmpwalk -O n -v 2c -c  public cpf-sensor01 1.3.6.1.4.1.3854.1.2.2.1
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

I don't believe the device support ver. 2c... Try running:

Code: Select all

snmpwalk -O n -v 1 -c  public cpf-sensor01 1.3.6.1.4.1.3854.1.2.2.1
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

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

Post by WillemDH »

Ludmill,

The sensorprobe indeed does not seem to support snmp version v2C. I'm very sorry to have wasted your time, as it is mentioned in your document... :oops: . It's the first device I monitor that does not support version 2c.

Thread can be closed.

Willem
Nagios XI 5.8.1
https://outsideit.net
Locked