Cool Solutions

Nagios Monitoring for NSS Volumes on OES Linux


October 29, 2009 3:10 pm





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.



0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

1 Comment

  1. By:darth_wells

    I used it with nrpe, worked great