Configure the VMware (ESXi / vCenter) Check
Set up the VMware check to monitor ESXi hosts and vCenter Server — host state, VM power states, and datastore usage.
Written By Stefan Steuer
Last updated 28 days ago
Configure a VMware (ESXi / vCenter) Check
The VMware check connects to an ESXi host or vCenter Server and reports the state of the virtualization infrastructure: host alerts, virtual-machine power states, and datastore capacity. octoja talks to vSphere directly via the vSphere SOAP API — no separate management agent on the ESXi/vCenter host is required. Point it at a standalone ESXi host for small sites, or at vCenter for multi-host clusters.
Requirements
- An ESXi host or vCenter Server reachable over HTTPS from the octoja agent's network
- The octoja agent installed on any device (Windows, macOS, or Linux) that can reach the vCenter / ESXi address — the host being monitored does not need an agent
- A vSphere user with at least Read-only role on the inventory you want monitored
Use a dedicated read-only user. The check needs read access only. Create a user in vSphere (or use SSO) with the built-in Read-only role assigned at the level you want monitored — a single host, a cluster, or the whole inventory.
How it works
Each check run reads three things from the inventory:
- Host alerts — hosts that are disconnected, not responding, or powered off
- VM states — total VM count, count of running (powered-on) VMs, and any suspended VMs
- Datastore usage — capacity, free space, and used percentage per datastore against your warning and critical thresholds
Each dimension can be turned on or off independently. The worst result across the active dimensions becomes the overall check status.
Steps
- Make sure the octoja agent is installed on a device that can reach the vCenter / ESXi management address.
- Go to Devices and open that device.
- Click the Checks tab → Add Check → VMware (ESXi / vCenter).
- Fill in the connection details:
- Choose which dimensions to monitor:
- If datastore monitoring is on, adjust the thresholds:
- Click Add Check.
What triggers an alert?
Tips
- The check runs every 5 minutes by default — virtualization is the bottom of the stack, so prompt notification of an ESXi host going offline matters.
- Point a single check at vCenter rather than at each ESXi host individually when you have a cluster. The check will see every host and every VM under that vCenter in one place.
- For very large estates, run datastore monitoring on its own check (with VMs and hosts off) and a separate check for hosts and VMs. The thresholds apply per datastore, so you can tune storage alerting separately from host alerting.
- If the check times out, the inventory may be too large to query within the check's 30-second limit. Grant the vSphere user read access only to the hosts, clusters, and datastores you actually want monitored — a smaller scope keeps queries fast.
After the first check interval, the result appears in the device's Checks tab with KPI tiles for VMs / datastores / alerts plus per-datastore usage bars.
See also: VMware (ESXi / vCenter) Check Reference