Collects metrics from vSphere and sends them to collectd.
host/vsphere/operations-power_on_success
: number of successful VM power on eventshost/vsphere/operations-power_on_failure
: number of failed VM power on eventshost/vsphere/operations-power_off_success
: number of successful VM power off eventshost/vsphere/operations-power_off_failure
: number of failed VM power off eventsbase-vm/vsphere/operations-clone_success
: number of successful VM clone eventsbase-vm/vsphere/operations-clone_failure
: number of failed VM clone events
Make sure to set up the network plugin in collectd.
export VSPHERE_URL="https://user:password@vsphere/sdk"
export VSPHERE_INSECURE="false" # or "true" if you need
export VSPHERE_CLUSTER="/MyDC/host/MyCluster/"
export COLLECTD_HOSTPORT="127.0.0.1:12345"
export COLLECTD_USERNAME="some-username"
export COLLECTD_PASSWORD="some-password"
See LICENSE file.