Page 1 of 1

snmpconvertmib command is failed

Posted: Tue May 20, 2014 8:16 am
by kgopiramesh
Hi experts,

We have two instances of nagios running in our environment, and wanted to integrate the radcom application via SNMP traps.

We have got the MIBs from the vendor and tried to translate on one nagios server, that is failed with the error and when tried on another server it was success. I have cross verified the directory permissions, everything seems to be correct still we are unable to translate the mibs.

please find the below for more details

On successful server On failure server
drwxrwsr-x. 2 root nagios 4096 May 15 08:33 mibs drwxrwsr-x. 2 root nagios 4096 May 15 08:33 mibs
-rw-r--r-- 1 root root 52425 May 20 12:32 snmptt.conf -rw-r--r-- 1 root root 264003 May 20 11:18 snmptt.conf


Just a query, if we copy the snmptt.conf file from the successful server to the failed server, will the things work properly?

Is there any other location to check the settins, whether the file permissions are correct or not?

Re: snmpconvertmib command is failed

Posted: Tue May 20, 2014 12:44 pm
by sreinhardt
Your permissions on snmptt.conf would not allow the nagios group modify the file. That is likely why the addmib command run via the webui (if thats where the error was) is happening. With that said, copying your snmptt.conf file is actually a viable option, you just need to keep in mind that it must contain the nagios specific EXEC lines and reference files local to the system you are moving it to.

Re: snmpconvertmib command is failed

Posted: Tue May 20, 2014 1:43 pm
by kgopiramesh
Thanks for your reply :), but on the other server also we have the same permissions right, I don't know why that was able to pick up the mibs and could you please more explain on what is specific nagios files

Re: snmpconvertmib command is failed

Posted: Tue May 20, 2014 4:56 pm
by sreinhardt
Are you adding mibs via the webui from nagios or manually with something else?

Re: snmpconvertmib command is failed

Posted: Wed May 21, 2014 2:38 am
by kgopiramesh
we are uploading the mibs through webui, from admin manage mibs path.

Re: snmpconvertmib command is failed

Posted: Wed May 21, 2014 3:31 pm
by sreinhardt
Could you send me a copy of or link to one of the mibs that you feel should have traps, and is not translating properly please?

Re: snmpconvertmib command is failed

Posted: Thu May 22, 2014 2:23 am
by kgopiramesh
Yeah, please find the attached for the mib file which is not getting translated properly on one nagios server and fine on another server.

Re: snmpconvertmib command is failed

Posted: Thu May 22, 2014 4:53 pm
by sreinhardt
That mib is able to be added and processed just fine on my system. I would suggest running the following commands, then uploading the mib again and sending us anything that is put into the red or blue box at the top of the window.

Code: Select all

chown root.nagios /etc/snmp/snmptt.ini /etc/snmp
chmod g+w /etc/snmp/snmptt.ini /etc/snmp

Re: snmpconvertmib command is failed

Posted: Fri May 23, 2014 2:50 am
by kgopiramesh
Hi sreinhardt,

We are able to upload the mibs through GUI but when translating the mibs, it is getting failed.

Re: snmpconvertmib command is failed

Posted: Fri May 23, 2014 2:03 pm
by slansing
What is the specific error you are receiving? Do you also have one of the erroring MIBs handy that you can upload?