When Uploading a MIB multiple devices go into Critical

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

When Uploading a MIB multiple devices go into Critical

Post by acentek »

I've attached /var/log/messages to show what goes into alarm state.
That files in attached: MobaXterm_nagios.acentek.net_20190308_112328.rtf

When we run that MIB upload we start to get the following services to trigger a critical state.
The offending MIB is IQMEDIAMON.MIB

https://drive.google.com/open?id=19Vpcs ... 9LwQGY8Sof

I uploaded the MIB to google drive and can be downloaded from the above.

What are my options? Can you see if the above MIB's are overwriting some default OID's or what other files do you need to diagnose the problem?
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: When Uploading a MIB multiple devices go into Critical

Post by tgriep »

The IQMEDIAMON.MIB file requires the following MIB files fro OID translation so make sure that they are on the Nagios server in the /usr/share/snmp/mibs/ folder. Make sure they exist.

Code: Select all

SNMPv2-SMI
SNMPv2-TC
IF-MIB
IQROOT-MIB
SNMPv2-MIB
ENTITY-MIB
SNMPv2-CONF
Also, check that folder to see if there is a existing IQMEDIAMON-MIB file. There is probable an existing file there that is a different version and the new conflicts with it.


If you cannot fix the issue, we would need to see the SNMP configuration files and the MIB files from the server so can you run the following 3 commands as root.

Code: Select all

tar cvfz /tmp/snmp.tgz /etc/snmp/*
tar cvfz /tmp/sharesnmp.tgz /usr/share/snmp/mibs/*
tar cvfz /tmp/snmplog.tgz /var/log/snmptt/*
Then post these 3 files so we can check the settings and the MIB files for any errors.

Code: Select all

/tmp/snmp.tgz
/tmp/sharesnmp.tgz
/tmp/snmplog.tgz
Then to see hot youe checks are configures, we would need to see a System Profile.
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: When Uploading a MIB multiple devices go into Critical

Post by acentek »

Turns out you are correct the requirements were not loaded. Why did NagiosXI not prompt me telling me that there was a problem? Shouldn't it have scans to see if the dependent MIB's were not already loaded.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: When Uploading a MIB multiple devices go into Critical

Post by tgriep »

The MIB upload does not do any verification checking for the required files. It is difficult to do that at times. For example, if you have a MIB file installed but it is an older version without all of the definitions, that would still cause issues. Glad it is working for you now.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked