Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin is designed using Bash script and intended to display the disk space used by the specified mount point or partition or volume. This plugin is created so that 'Performance Gauges' in Nagios XI work properly, showing appropriate 'Warning' and 'Critical' regions.
Current Version
1.0
Last Release Date
2014-12-04
Owner
Mandar Shinde
Website
http://www.yourownlinux.com/2014/12/nagios-bash-plugin-to-monitor-disk-space-utilization-on-linux-server.html
Download URL
http://goo.gl/xNkLuA
Compatible With
For Performance Gauges to show details properly, performance data should be in following format:
'VarName'=CurrentValue Unit;WarningValue;CriticalValue;MininumValue;MaximumValue
Important: 1. It uses the output of 'df' command. 2. Mount point/Partition/Volume & Warning and Critical thresholds are to be mentioned by the user itself.
How To Use: To monitor remote Linux server: 1. Keep the plugin in /usr/local/nagios/libexec directory. 2. Add following line to the nrpe.cfg file:
command[check_disk.sh]=sudo /usr/local/nagios/libexec/check_disk.sh $ARG1$
3. Add the following line to /etc/sudoers file:
nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_disk.sh
Usage: On Monitoring Server:
/usr/local/nagios/libexec//check_nrpe -H 172.22.246.126 -c check_disk.sh -a '-p /volume1 -w 80 -c 90'
Output:
OK- /Volume1 : Total Space= 468G, Used Space= 80G, Available Space= 365G i.e. 18% Usage | 'Usage'=18;80;90;0;100
You must be logged in to submit a review.
To:
From: