Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_disk
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 plugin is an alternative of check_disk scripts with SSH capability. It use 'df -k' unix command to verify filesystems utilisation. You can :
- specify different threshold by FS
- use regexp to include or exclude FS
- specify a FS configuration file to use different threshold and units :
#FS WARN CRIT
/ 400M 300M
/home 20 15
/var 1G 500M
./check_disk.pl [-H ] [-w ] [-c ] [-u ] [-p ] [-i ] [-f ] [-h] [-C ]
-h | --help : Display this help
-w | --warning : % free space to send warning alert (default 10)
-c | --critical : % free space to send critical alert (default 5)
-H | --host : host you want to check by SSH (default localhost)
-u | --user : user for SSH connection (default nagios)
-i | --ignore : Filesystem you want to ignore
-r /pattern/ : include all filesystems matching this regexp
-R /pattern/ : exclude all filesystems matching this regexp
-f | --filesystem : filesystems or device you have to check (default all)
-C | --conf : specify a configuration file for filesystems threshold definitions
-v | --verbose : plugin output contain all FS(default : output shows only warning or critical FS).
--srvperf dir : Save datas external files placed on this directory
--html : Add in plugin output to improve the Web interface output.
- specify different threshold by FS
- use regexp to include or exclude FS
- specify a FS configuration file to use different threshold and units :
#FS WARN CRIT
/ 400M 300M
/home 20 15
/var 1G 500M
./check_disk.pl [-H ] [-w ] [-c ] [-u ] [-p ] [-i ] [-f ] [-h] [-C ]
-h | --help : Display this help
-w | --warning : % free space to send warning alert (default 10)
-c | --critical : % free space to send critical alert (default 5)
-H | --host : host you want to check by SSH (default localhost)
-u | --user : user for SSH connection (default nagios)
-i | --ignore : Filesystem you want to ignore
-r /pattern/ : include all filesystems matching this regexp
-R /pattern/ : exclude all filesystems matching this regexp
-f | --filesystem : filesystems or device you have to check (default all)
-C | --conf : specify a configuration file for filesystems threshold definitions
-v | --verbose : plugin output contain all FS(default : output shows only warning or critical FS).
--srvperf dir : Save datas external files placed on this directory
--html : Add in plugin output to improve the Web interface output.
Reviews (1)
bychristoph.mueller, May 25, 2017
Works fine. I've just changed line 356 to add performance data to output:
print "DISK $retour $output|$perf_data\n";
print "DISK $retour $output|$perf_data\n";