Search All Sites
Nagios Live WebinarsLet our experts show you how Nagios can help your organization.
Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.
Check all filesystems with the ability to ignore and override threshold settings
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.