Home Directory Plugins Operating Systems check_filesystem_space.sh

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_filesystem_space.sh

Rating
1 vote
Favoured:
0
Current Version
0.9
Last Release Date
2019-05-02
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
4483
Files:
FileDescription
check_filesystem_space.shcheck_filesystem_space.sh
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!
This script replaces the check_disk that comes with the Nagios.
The check_disk that comes with Nagios reported that the inodes
on AIX and Linux were constantly at 99% free, when in reality
they were far less. AIX, HP-UX, Solaris, and Linux are all
supported by this script.
This script replaces the check_disk that comes with the Nagios.
The check_disk that comes with Nagios reported that the inodes
on AIX and Linux were constantly at 99% free, when in reality
they were far less. This only reports on the amount of free space
a filesystem has reported according to df (or bdf for HP-UX).

AIX, HP-UX, Solaris, and Linux are all supported by this script.
Reviews (1)
Script works fine except that some of my servers return a % in the output from df -k. Needed to modify line 77 and change the awk statement to read:
awk '{gsub("%",""); print $2 ":" $3 ":" $4 ":" $5}'