Skip to main content

Description

The wmi_perf probe runs WMI (Windows Management Instrumentation) queries to collect performance counters from Windows hosts. WMI is a Windows-only API — reports unsupported on non-Windows. Build tag vms_heavy. Actual WMI/COM execution is currently deferred per roadmap — the probe validates config and credentials but does not yet execute queries on Windows.

Config fields

FieldTypeRequiredDefaultDescription
typestringYesMust be "wmi_perf"
hoststringNoWindows host target. Empty = localhost
namespacestringNoWMI namespace (e.g. "root\\cimv2")
querystringYesWMI query string
usernameSecretRefstringNoSecret ref for username
passwordSecretRefstringNoSecret ref for password

Example config

{
  "type": "wmi_perf",
  "host": "win-core-01",
  "namespace": "root\\\\cimv2",
  "query": "SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor"
}

Notes

  • Windows only. Reports unsupported on Linux/macOS.
  • Build tag vms_heavy — not in default agent package.
  • WMI query execution is currently deferred — config validation only.