Page 1 of 1

Error translating mib files

Posted: Tue May 30, 2017 9:07 am
by evisus
#########
Linux Distribution and version: Centos 7
Nagios XI installed from binaries
Integrated with Mod_Gearman according to Nagios manuals
1 Nagios XI Server and 2 Mod_Gearman Servers
#########

Hi.

I'm building a lab with NagiosXI and Mod_Gearman for an environment that will end with 5000 host and more than 15000 services. Mod_Gearman will take care of processing all active checks and Nagios XI passive checks such as SNMP Traps.

My problem is when loading the mib files and processing the traps, the results in the snmptt.conf file are not as expected, I only load the line:


#
#
MIB: RSBICK-UMBRELLA-AGENT-MIB (file: /usr/share/snmp/mibs/rsbick_umbrella-agent.txt) converted on Mon May 29 18:10:36 2017 using snmpttconvertmib v1.3
#
#

But no information that allows me to process the traps.

I do not know if it is a malfunction of the "addmib" command or an error on my part.

I will appreciate your help.

P.D: I attach the mib files and the snmptt.conf file

Re: Error translating mib files

Posted: Tue May 30, 2017 11:40 am
by avandemore
Please create the file /etc/snmp/snmp.conf with the following text:

Code: Select all

mibAllowUnderline 1
In your existing snmptt.conf, remove any entries relating to these mibs, ensure the mibs are installed correctly in /usr/share/snmp/mibs/

Then try the addmib again. Post the full command and output from your attempt if you have issues.

Re: Error translating mib files

Posted: Wed May 31, 2017 10:59 am
by evisus
Thanks for your help.

There has been an improvement. I have an error only

[root@snmp]#
[root@snmp]# addmib /usr/share/snmp/mibs/rsbick-name.txt
[root@snmp]# addmib /usr/share/snmp/mibs/rsbick_umbrella-agent.txt
Unknown object identifier: RSBICK-UMBRELLA-AGENT-MIB::

Attach the snmptt.conf file again.

Apparently I need a library, but I understand this is in the mib rsbick-name.txt

Re: Error translating mib files

Posted: Wed May 31, 2017 12:01 pm
by avandemore
It installed a trap in that file, does it not work?

Re: Error translating mib files

Posted: Wed May 31, 2017 2:19 pm
by evisus
If it works well.

Thanks for your help.

Re: Error translating mib files

Posted: Wed May 31, 2017 2:28 pm
by avandemore
Thanks for using Nagios! If you have further issues, please open a new thread or ticket.