Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_fs_grow
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!
Script that looks for the change of filesystems usage and alarms if theres a change in usage more then a defined value.
It takes values for ufs and vxfs filesystems from df command (%usage), stores them in a file. Next time plugin is called, it does this again and calculates the difference between old an new values per filesystem, and returns critical if this value is higher then a specified value.
After every run it deletes old values from the file, so next run it will not alarm and return normal. Thus i configured the following values into the service entry on Nagios server:
define service{
use local-service
host_name xyz
service_description Check growing filesystem
notification_period workhours
check_command check_nrpe!check_fs_grow
check_interval 1
max_check_attempts 1
}
It takes values for ufs and vxfs filesystems from df command (%usage), stores them in a file. Next time plugin is called, it does this again and calculates the difference between old an new values per filesystem, and returns critical if this value is higher then a specified value.
After every run it deletes old values from the file, so next run it will not alarm and return normal. Thus i configured the following values into the service entry on Nagios server:
define service{
use local-service
host_name xyz
service_description Check growing filesystem
notification_period workhours
check_command check_nrpe!check_fs_grow
check_interval 1
max_check_attempts 1
}
Reviews (0)
Be the first to review this listing!