Linux

Check Diskspace Used by a Mounted Volume

Description:

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

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Download URL


Project Notes
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
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
29,909