Check VMWare Snapshot sizes (Visit this link)
from 0 votesThis 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.
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
Submitted by: lahrcm
Hits: 1002
Overall downloads: 104
Added: 2009-03-04 00:00:00
Last Modified: 2009-12-10 18:05:16
| Filename | Preview | Size | Description | DL |
|---|---|---|---|---|
| check_snmp_esx_snapshots.sh | ![]() |
3 kb | check_snmp_esx_snapshots | 354 |
Comments
Be the first to comment this project.
Leave a reply
If you just want to rate the project leave the other field empty.
Even though it would be nice if you would drop a line.
-
Check hardware running VMware ESXi
3 from 3 votesPython script which permits you to check your hardware's health when it runs VMware (free) ESXi appliance. -
check_esx
2 from 4 votesCheck CPU, Memory, Network, and VM Status on a VMWare ESX virtual server, via SNMP. Also support for MRTG querying, and listing VMs/interfaces. V2.3 fixes minor problems triggered by the Nagios 2 embedded perl compiler. Now superceeded by check_vmware which uses VC API instead of SNMP: http://www.steveshipway.org/forum/viewtopic.php?f=28&t=1648 -
check_esx3
4 from 1 votesNagios plugin made by www.op5.com which is compatible with ESX 3.5 which uses the VMWare API (via HTTPS) to do a wide variety of checks. You can check out the latest version with GIT from their repository at git://git.op5.org/nagios/op5plugins.git Requires the Nagios::Plugin CPAN module as well as the "VMware Infrastructure (VI) Perl Toolkit Packages" available from http://www.vmware.com/download/sdk/ See http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-esx-3x-and-vmware-esxi for Nagios Command definitions, although the latest version of the script supports additional checks which aren't listed on that webpage yet, so you'll probably need to make a few more up. -
check_vmware3.pl
5 from 1 votesA nagios check plugin for VMware ESX Server based on the perl API.
You need the VMware perl API to use it. (And you need to patch that API to get rid of a bug in it)
Including the Netways NagiosGrapherV1 templates to get nice graphs.
look at it on http://nagioswiki.org/wiki/Plugin:check_vmware3.pl -
check_esxvm
from 0 votesThis perl script check the state of the Virtual Machines defined on an ESX server.
-
check_snmp_vmfs.sh
4.5 from 2 votesThis shell script uses the output of the "vdf" command (published via snmp to avoid check_by_ssh or NRPE) to determine the free space of a given vmfs volume as measured in GB. -
VMWare ESX guest status checks
1 from 1 votesCheck some aspects of VMWare ESX guests (cpu, memorry, netio, kernel and status) -
check_esx3
1 from 1 votesThis plugin allows you to check esx3/esx3i datastores, host and VMs cpu, host and VMs memory usage using the VMware Perl tool kit. -
check esx datastores aka VMFS filesystems using Python and CIM
from 0 votesGood Afternoon guys, here I created another Python Script. This script will check your DataStores aka VMFS. I built this script so that it can be used with Nagios and or Zenoss. The purpose of this script is so that you can monitor thresholds on a per DataStore/VMFS. You will need to download and install Pywbem in order to use this script. Script is available here http://www.linuxdynasty.org/check-esx-datastores-using-python-and-cim.html -
check_vmware_server_1.x
1 from 2 votesUsed to list Vmvare Server 1.x 1) Inventory 2) HOST RAM (total, not assigned, not used by Guest Machine) 3) GUEST RAM ( assigned and used by Guest Machine 4) Path file of Guest Machine on the File System




