Skip to content

VMware vCenter

Collects vCenter Server events via the VMware vSphere API (pyVmomi).

Input specification: input:VMware-vCenter:

Note

The obsolete input:vCenter: type is still accepted but should be replaced with input:VMware-vCenter:.

Collector configuration

input:VMware-vCenter:vCenterInput:
  host: vcenter.example.com
  port: 443
  username: collector@example.com
  password: secret
  interval: 60
  output: vcenter-1

output:CommLink:vcenter-1: {}

Configuration options

host:  # vCenter hostname or IP address (required)
port:  # vCenter port (required)
username:  # vCenter user name (required)
password:  # vCenter password (required)
output:  # Which output to send the incoming events to (required)
interval:  # (optional) Seconds between collection cycles (default: 60)
max_messages:  # (optional) Maximum events per API page, up to 1000 (default: 1000)
ssl_cert_validation:  # (optional) Verify TLS certificate (default: false)
last_value_storage:  # (optional) Persistent storage for the collection checkpoint (default: ./var/last_value_storage)

Each collected event is emitted as JSON with CreatedTime, Username, and FullMessage fields.