Operating Systems

check_filesystem_space.sh

Description:

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.

Current Version

0.9

Last Release Date

2019-05-02

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner

License

GPL


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!
Project Files
Project Notes
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) Add a Review
Needed to change an awk line
by jwhowell, November 30, 2019
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}'
Helpful? Yes  No 
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
4 (1)
Favorites
0
Views
4,504