Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_fs_grow

Rating
0 votes
Favoured:
0
Hits
148357
Files:
FileDescription
check_fs_growScript NRPE Plugin check_fs_grow
Nagios CSP

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.
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
}