Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This check programs allows you to check the volume usage of nss volumes running on OES linux systems and monitor several other parameters.
Current Version
Last Release Date
February 4, 2010
Owner
Rainer Brunold
This check programs allows you to check the volume usage of nss volumes running on OES linux systems and monitor several other parameters. I used the nss command file to query not only volume usage information, it also provides the number of files and some purgeable and compression information. Maybe not all information is interesting to be monitored, but just having it to generate additional graphs is very helpful.
As this is a perl check program it need to have the perl and the perl-XML* modules installed from the OES (SLES) distribution.
Here is a sample output of the check program:
# check_oesnss_vol.pl -V DATAHK07 -w 10000 -c 5000 -M or # check_oesnss_vol.pl -V DATAHK07 -w 10G -c 5G -M
OK: NSS Vol: DATAHK07, Pool: DATAHK07, Size: 41000 MB, Used: 3423 MB, Free: 37577 MB, Files: 341, Purgeable: 3399 MB, addComp: 24 MB|DATAHK07=42949672960;3585662976;39364009984;341;3560329216;24940544;8;92
Please take in mind that depending on your nagios configuration you must run this check program via sudo because the normal nagios user might not have rights to access the nss management file in /_admin.
If you want to see any enhancements, feel free to contact me. The email address is in the source code available.
Changelog:
1.0 - initial version
1.1 - error in free space calculation was fixed, added volume usage in percent to service output
1.2 - added value type k,M,G or % for the warning and critical level
You must be logged in to submit a review.
To:
From: