Seeking help with disk monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
bbnatech
Posts: 1
Joined: Wed Dec 11, 2013 10:33 am

Seeking help with disk monitoring

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Seeking help with disk monitoring

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Seeking help with disk monitoring

Post 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.
Locked