Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check_all_disks (w/ configuration file)
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 script checks all mounted filesystems. The script can be passed variables for warning, critical, and configuration file location but if you don't pass it these values, the script sets a default of 90% for warning, 95% for critical and /usr/local/ct/nagios/etc for the configuration file. The configuration file can be used to ignore filesystems:
/myfs IGNORE
and it can also be used to change the threshold of specific filesystems:
/temp CHANGE 10 30
/opt CHANGE 99 100
Comments can be included in the configuration file. You can use tabs or spaces in the configuration file.
When the script finds a file system that is critical, it sends the message to Nagios and exits.
When the script finds a file system that is in a warning state, it continues and then, in the end, notifies Nagios of all filesystems that are in this state.
NOTE: The script will behave very differently depending on what KSH shell you have. You should have the "real" AT&T shell for this to run consistently across all of your Linux servers. To that end, I have included the ATT KSH shell in this package. You can place it somewhere and call it att_ksh (or something) and then call it from your script. This way you don't disturb your existing KSH shell and scripts.
This script runs on AIX and HP-UX as well.
/myfs IGNORE
and it can also be used to change the threshold of specific filesystems:
/temp CHANGE 10 30
/opt CHANGE 99 100
Comments can be included in the configuration file. You can use tabs or spaces in the configuration file.
When the script finds a file system that is critical, it sends the message to Nagios and exits.
When the script finds a file system that is in a warning state, it continues and then, in the end, notifies Nagios of all filesystems that are in this state.
NOTE: The script will behave very differently depending on what KSH shell you have. You should have the "real" AT&T shell for this to run consistently across all of your Linux servers. To that end, I have included the ATT KSH shell in this package. You can place it somewhere and call it att_ksh (or something) and then call it from your script. This way you don't disturb your existing KSH shell and scripts.
This script runs on AIX and HP-UX as well.
Reviews (0)
Be the first to review this listing!