Page 1 of 1

Seeking help with disk monitoring

Posted: Wed Dec 11, 2013 11:02 am
by bbnatech
I am sure this is not an uncommon scenario but I'm having trouble finding a solution that works for me. Perhaps I'm overthinking or my expectation is wrong but I need to monitor disk usage on linux servers where the partition schemes are all over the place. I am looking to find an efficient way to monitor each partition as a separate alert.

I'm trying to either find a way using service templates or perhaps a add-on that will ease the management of disk alerts. So far I have not been successful. I am attempting to provide a solution to move away from Solarwinds and Solarwinds simply does an snmpwalk of the server and adds a item for each partition on every server. Something similar in Nagios would be great but if I need to install a client side util or script on each server that would be fine as well. The snmp disk checks I've found so far either still require a check to be setup for each partition or group all partitions into one check/alert.

So I'm looking for a best practice example of how to monitor disperse partition schemes across many linux servers.

Re: Seeking help with disk monitoring

Posted: Wed Dec 11, 2013 11:35 am
by abrist
With XI, we have a wizard to do this. In core, you may need to write a script to snmpwalk the devices and then generate configs from the results.

Re: Seeking help with disk monitoring

Posted: Wed Dec 11, 2013 11:36 am
by slansing
I would recommend using check_disk that is packaged with NRPE:

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

This should allow you to monitor different partitions. Using NRPE will also let you integrate custom "home brewed" or community created plugins on your remote systems.

You can still use SNMP if you wish but the overhead may be a bit more involved.