Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
VM-Ware ESX snapshot check
Nagios check script for vmware - checks existance of snapshot files (*.vmsn)
please 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 find /usr/bin/find /vmfs/volumes/ -name *.vmsn"
Call this command as follows:
check_snmp_snapshot.sh [devicename] [snmp read community] [warn] [crit]
[warn] should be smaller than [crit]
This script checks if there are any *.vmsn files existing in /vmfs/volumes/* which indicates that there are running snapshots.
[warn]/[crit] defines the maximum number of allowed snapshots before setting a WARN or CRIT state.
The script is tested with Nagios v. 3.0.1 and an ESX 3.5 installation with English language.
You might be able to use it with other versions of Nagios, too with small modifications (e.g. multi line output).
Use at your own risk.
please 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 find /usr/bin/find /vmfs/volumes/ -name *.vmsn"
Call this command as follows:
check_snmp_snapshot.sh [devicename] [snmp read community] [warn] [crit]
[warn] should be smaller than [crit]
This script checks if there are any *.vmsn files existing in /vmfs/volumes/* which indicates that there are running snapshots.
[warn]/[crit] defines the maximum number of allowed snapshots before setting a WARN or CRIT state.
The script is tested with Nagios v. 3.0.1 and an ESX 3.5 installation with English language.
You might be able to use it with other versions of Nagios, too with small modifications (e.g. multi line output).
Use at your own risk.
Reviews (0)
Be the first to review this listing!