check_esxvm

The goal of this project is to monitor what Virtual Machines are running onto an ESX server. You can blacklist some VMS you don't want to monitor (the ones that are present but not running).

The output of the command will be something like:

VMs WARNING - List of VMs: VM-Linux-1.vmx : off (KO) / VM-Linux2.vmx : on (OK)

This script is written in Perl and can easily be adapted and enhanced.

This script has to be launched locally on the ESX server (using NRPE for instance). To install NRPE on an ESX 3 host, you will need some development RPMs:

  • openssl-devel
  • zlib-devel
  • krb5-devel