Home Directory Plugins Operating Systems Novell check oes linux nss volume usage

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check oes linux nss volume usage

Rating
0 votes
Favoured:
0
Hits
159628
Files:
FileDescription
check_oesnss_vol.plcheck_oesnss_vol.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This check programs allows you to check the volume usage of nss volumes running on OES linux systems and monitor several other parameters.
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.

Rainer Brunold



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