Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check the capacity of a volume using df. Tested on Linux, FreeBSD, AIX, and OSX.
Current Version
Last Release Date
2013-12-07
Owner
Jon Schipp
Download URL
https://github.com/jonschipp/nagios-plugins/blob/master/check_volume.sh
Compatible With
Check the capacity of a volume using df.
Options: -v Specify volume as mountpoint -c Critical threshold as an int (0-100) -w Warning threshold as an int (0-100) -s Skip threshold checks
Usage: $0 -v /mnt -c 95 -w 90
Command Line Output: ./check_volume.sh -v /home -w 80 -c 90 /home is at 4% capacity, 16G of 478G ################################################# command.cfg file configuration: ################################################# define command{ command_name check_volume command_line $USER1$/check_volume.sh -v $ARG1$ -w $ARG2$ -c $ARG3$ } ################################################# localhost.cfg file configuration: ################################################# define service{ use local-service host_name localhost service_description Home Partition check_command check_volume!/home!75!90 } #################################################
Just what I was looking for, Simple Clean output and works across multiple Solaris versions without Any Code Changes! I can say that I have this Plugin running Fine without issue on the Following Solaris Environments: - Solaris 11 VM - Solaris 11 Zone - Solaris 10 Zone (Branded) # libexec/check_volume.sh -v / -c 95 -w 90 / is at 24% capacity, 6.4G of 28G # libexec/check_volume.sh -v /zones/xxxxzntst9203 -c 95 -w 90 /zones/xxxxzntst9203 is at 1% capacity, 35K of 63G ---merlyn9
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!