VMware (ESXi / vCenter) Check Reference

Configuration fields, alert thresholds, monitored dimensions, and platform support for the VMware check in octoja.

Written By Stefan Steuer

Last updated 28 days ago

VMware (ESXi / vCenter) Check Reference

Configuration options and alert behaviour for the VMware (ESXi / vCenter) check.


The VMware check connects to a vCenter Server or standalone ESXi host over the vSphere SOAP API and evaluates three dimensions: host alerts, VM power states, and datastore capacity. Default interval: 5 minutes. The check runs on the octoja agent; the monitored vCenter / ESXi does not need an agent.

Configuration fields

FieldTypeRequiredDefaultDescription
HoststringYesvCenter / ESXi hostname or IP (e.g. vcenter.example.com); an http:// or https:// prefix is accepted and normalised
UsernamestringYesvSphere user (e.g. administrator@vsphere.local)
PasswordpasswordYesPassword for the vSphere user
Ignore SSL certificate errorsbooleanNotrueAccept self-signed certificates (typical for vCenter / ESXi)
Monitor host alertsbooleanNotrueFlag disconnected, not-responding, or powered-off hosts
Monitor VM statesbooleanNotrueCount running VMs; warn on suspended VMs
Monitor datastores (LUNs)booleanNotrueCheck datastore capacity
Datastore warning threshold (% used)numberNo80Warn when datastore usage at or above this percent. Only visible when datastore monitoring is on
Datastore critical threshold (% used)numberNo90Critical when datastore usage at or above this percent. Only visible when datastore monitoring is on

Alert behaviour

ConditionSeverity
Authentication failure, network error, or SOAP request errorFailure
Host is disconnected or not respondingCritical
Host is powered offWarning
Host is in standby power stateWarning
Host overall status is redCritical
Host overall status is yellowWarning
One or more VMs in suspended stateWarning
Datastore is inaccessible (summary.accessible=false)Critical (independent of usage threshold)
Any datastore used % ≥ critical thresholdCritical
Any datastore used % ≥ warning threshold (and < critical)Warning
All active dimensions cleanOK

Metrics collected

Per check run:

  • Virtual machines — running count out of the total inventory (shown as "Virtual machines x/y running")
  • Datastores — datastore count, plus per-datastore capacity in GB, free space in GB, used %, and computed severity
  • Alerts — list of host alerts (name, status text, entity name, severity)
  • Problem VMs — list of suspended VMs (name, power state, severity)

Platform support

The check runs on the octoja agent; reachability to the vCenter / ESXi SOAP endpoint matters, not the agent OS.

Agent platformSupported
WindowsYes
macOSYes
LinuxYes
vSphere targetSupported
vCenter ServerYes
ESXi host (standalone)Yes

Notes

  • The check runs every 5 minutes on the agent. The interval is not user-configurable.
  • The vSphere user needs read access to the inventory you want monitored. The built-in Read-only role is sufficient; assign it at the inventory level you want covered (host, cluster, datacenter, or root).
  • Datastore thresholds are evaluated per datastore against the global warning / critical thresholds. The check does not currently support per-datastore overrides.
  • If the warning threshold is set above the critical threshold, the check silently swaps the two values at runtime.
  • The SOAP session is opened, queried, and closed within each check interval — the agent does not maintain a long-lived connection.
  • For a multi-vCenter estate, configure one check per vCenter. The check does not federate across vCenters.
  • The device Checks tab visualises datastore usage history with dashed lines marking the warning and critical thresholds, and aggregates repeated host alerts into an Alert events list.

See also: Configure the VMware (ESXi / vCenter) Check