File System

Check_all_disks (w/ configuration file)

Description:

Check all filesystems with the ability to ignore and override threshold settings

Current Version

Last Release Date

June 15, 2009

Compatible With


Project Files
Project Notes
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.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
1
Views
113,381