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
4180
Files:
FileDescription
check_filesystem_space.shcheck_filesystem_space.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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}'