Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check VMWare Snapshot sizes
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
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
Reviews (0)
Be the first to review this listing!