Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This shell script uses the output of the "find" command (published via snmp to avoid check_by_ssh or NRPE) to locate all the existing snapshots. It checks the size of each snapshot and based on your criteria sends a CRITICAL or OK status. Helps find forgotten snapshots that are growing out of control before they become a problem.
Current Version
Last Release Date
June 12, 2009
Owner
Nagios Exchange
check_snmp_esx_snapshots
Inspired by "jacob"'s script check_snmp_snapshot.sh.
Nagios check script for vmware snapshots sizes
add the following to your ESX server in the /etc/snmp/snmpd.conf and restart the snmpd deamon exec .1.3.6.1.4.1.6876.99999.2 snapshots /etc/snmp/snapshots.sh
If that OID is in use, increment the last number and modify the 'snmpwalk' line accordingly
snapshot.sh should contains these lines. #!/bin/sh /usr/bin/find /vmfs/volumes/ -name '*delta*.vmdk' -printf %f' '%s'n'
make sure it's executable by using the following command chmod a+x /etc/snmp/snapshots.sh
Call this command as follows: check_snmp_esx_snapshots.sh [devicename] [snmp read community] [crit]
So far the script doesn't support a WARNING level, only CRITICAL and OK.
Tested with ESX 3.5 and Nagios 3.0.3 running on OpenBSD 4.4
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!