Nagios Monitoring for NSS Volumes on OES Linux


Nagios is a powerful monitoring tool that can be used to check your systems and the services running on it. We currently monitor more then 500 server and 12.000 services with it.

This new check program allows to monitor several NSS volume parameters on your OES Linux systems. I created it after a question on how the purgeable space on a volume can be monitored. I found some cool solution articles about the virtual file services and used some samples to create this check program. It is based on perl and needs the perl and perl-XML* packages from OES (SLES) to be installed on the server.

Here is a sample where I monitor the volume DATA:

# -V DATA -w 10000 -c 5000 -M 

OK: NSS Vol: DATA, Pool: POOL1, Size: 41000 MB, Used: 3423 MB, Free: 37577 MB, Files: 341, Purgeable: 3399 MB, addComp: 24 MB|DATA=42949672960;3585662976;39364009984;341;3560329216;24940544;8;92

You provide the volume name, the warning and critical levels and it will check those values and provide some additional information like the files on that volume, the purgeable space and the space you saved by using compression.

Using additional parameters like -M, -G or -k you can define to get the output in MB, GB or kB, whereas the performance data (everything after the pipe) is always reported in Bytes. Using those performance parameters allow you to created trend graphics using additional Nagios plugins like NagiosGraph.

As the Monitoring Exchange website hosts most of the Nagios addons, I placed this new cehck program there as well. Please check that site for additional information about this and about many other check programs.




How To-Best Practice
Comment List
Parents Comment Children
No Data