Page 1 of 1

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

Posted: Mon Apr 07, 2014 6:44 am
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

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

Posted: Mon Apr 07, 2014 8:23 am
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?

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

Posted: Mon Apr 07, 2014 11:32 am
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

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

Posted: Mon Apr 07, 2014 11:40 am
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

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

Posted: Tue Apr 08, 2014 1:59 am
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