Page 1 of 1

Nagios monitoring the wrong Storages

Posted: Wed Feb 21, 2018 9:36 am
by neo_infraestructura
Hi there!

I'm monitoring a device through snmp connection, and the storages information showed from Nagios are wrong. There are 4 storages that are bad labeled but from the device itself the information is OK.
nagios1.png
nagios2.png
I think it's something with the OID's used, but I don't know where can I change it.

Re: Nagios monitoring the wrong Storages

Posted: Wed Feb 21, 2018 11:04 am
by bolson
It seems that the OID is getting the UUIDs of the partitions mixed up. Can you attach the OID itself so I can have a look?

Re: Nagios monitoring the wrong Storages

Posted: Wed Feb 21, 2018 1:04 pm
by neo_infraestructura
From where I can take that for you?

Re: Nagios monitoring the wrong Storages

Posted: Wed Feb 21, 2018 5:02 pm
by npolovenko
@neo_infraestructura, This is interesting because it looks like half of the readings are accurate and another half are not. When you create a partition in Linux the system reserves about 10%, and it won't show you the reserved space when you run a df command. With that said, the differences between the local output and what nagios shows are too big. Are you querying the right server? Can you run the snmpwalk command against the Linux server and show us the output?

Re: Nagios monitoring the wrong Storages

Posted: Fri Feb 23, 2018 8:18 am
by neo_infraestructura
Unfortunately, I'm quering the right server. In the attach files is the output of the snmpwalk command.

Re: Nagios monitoring the wrong Storages

Posted: Fri Feb 23, 2018 8:20 am
by neo_infraestructura
Sorry, just forgot the file

Re: Nagios monitoring the wrong Storages

Posted: Fri Feb 23, 2018 4:25 pm
by scottwilkerson
What commands are being used to monitor these?

I ask because it is possible that somehoe the indexes changed on the linux server and if the plugin wasn't grabbing the correct index that would be a problem.

Are you using commands defined from the XI wizard (being this is the XI forum)?

Re: Nagios monitoring the wrong Storages

Posted: Fri Feb 23, 2018 4:27 pm
by tgriep
The data from the SNMP walk looks correct.
Can you post which plugin you are using and run it with the --help option so we can get the version of the plugin and post the results here?
In XI, go to the Admin > Manage Config Wizards and click on the Check for Updates button and update the wizards.
That should update the plugins as well and hopefully fix the issue.

Re: Nagios monitoring the wrong Storages

Posted: Mon Feb 26, 2018 10:49 am
by neo_infraestructura
I'm rediscovering the device from the terminal of the device that contain the Nagios, I'm not using the plugins of NagiosXI, only using NagiosXI for apply changes... But now I know the issue is in the OID used, cause the snmp response is OK, so that brings me a close solution to the problem.

You can close this topic. thx!

Re: Nagios monitoring the wrong Storages

Posted: Mon Feb 26, 2018 4:08 pm
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!