Tool

brunold's picture
tool
Reads:

6700

Score:
3
3
2
 
Comments:

1

Nagios Monitoring for NSS Volumes on OES Linux

Author Info

29 October 2009 - 2:10pm
Submitted by: brunold

(View Disclaimer)

download url: 
http://www.nagiosexchange.org/inventory/Check-Plugins/Operating-Systems/Novell/check-oes-linux-nss-volume-usage
license: 
Free

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:

# check_oesnss_vol.pl -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.

Rainer

Download: http://www.nagiosexchange.org/inventory/Check-Plugins/Operating-Systems/Novell/check-oes-linux-nss-volume-usage


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

darth_wells's picture

Works Great

Submitted by darth_wells on 31 August 2010 - 10:47am.

I used it with nrpe, worked great

Thanks

© 2012 Novell