Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_fs_test.sh
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!
As You know, is possible to monitor your file-system via ssh. This is useful because it resolves the problem of creating and removing file-systems.
On the other hand, you can't set a different thresholds for each one of them.
So, we prefer to use nrpe.
With nrpe, we can set an appropriate threshold according with the real dimension of any file-system of our servers.
But our users, are usually to create new file-systems without informing anyone.
So we decided to create a simple plugin that takes care of any change.
The check_fs_test.sh is a simple script that take a snapshot of the current situation of file-system and store it in a text file.
After one hour, it makes the check again and try to find any difference with the previous control.
If no differences are found, it exits and sleeps for another hour.
Otherwise, it give the alarm and substitutes the current situation with the previous one (the text file).
Obviously, only one alarm will be send. So, it's important to send an e-mail to the appropriate contact groups.
No other alarm will be sent because the new aspect of file-system will become the new real shape of it. The new check will be done with the last stored informations.
This nagios plugin comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this plugin under the terms of the GNU General Public License.
On the other hand, you can't set a different thresholds for each one of them.
So, we prefer to use nrpe.
With nrpe, we can set an appropriate threshold according with the real dimension of any file-system of our servers.
But our users, are usually to create new file-systems without informing anyone.
So we decided to create a simple plugin that takes care of any change.
The check_fs_test.sh is a simple script that take a snapshot of the current situation of file-system and store it in a text file.
After one hour, it makes the check again and try to find any difference with the previous control.
If no differences are found, it exits and sleeps for another hour.
Otherwise, it give the alarm and substitutes the current situation with the previous one (the text file).
Obviously, only one alarm will be send. So, it's important to send an e-mail to the appropriate contact groups.
No other alarm will be sent because the new aspect of file-system will become the new real shape of it. The new check will be done with the last stored informations.
This nagios plugin comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this plugin under the terms of the GNU General Public License.
Reviews (0)
Be the first to review this listing!