Windows (WMI)
Plugin: wmi.plugin Module: windows
Overview
Monitor Windows hosts remotely over WMI without installing anything on them: CPU, memory, processes, RDP sessions, network, disks, SMB, time sync and ping.
A Netdata Agent on another machine, the poller, reads each host's built-in Windows Management Instrumentation (WMI) data. Use it where the Netdata Agent cannot be installed on the Windows hosts themselves.
| Area | What you get for each host |
|---|---|
| CPU | Utilization by mode, in total and per logical processor |
| Memory | Physical, available and committed memory, paging, page faults, kernel pools, system cache, paging files, NUMA nodes |
| System | Processes, threads, context switches, processor queue, uptime, Remote Desktop sessions |
| Network | Traffic, packets, errors, drops, speed and queue per interface; TCP and UDP packets, connections, failures, resets, retransmissions and errors |
| Disks | Space per fixed drive; bandwidth, operations, latency, utilization and queue per physical disk |
| SMB file server | Traffic, sessions, logons, open files, requests and errors, server-wide and per share |
| Time | Clock offset from the poller; the Windows Time service's offset from its source, NTP round trip and time sources |
| Ping | Round-trip time and packet loss from the poller |
Each host becomes a node of its own in Netdata, named after its Windows computer name, labeled with its Windows version and hardware, and kept through address changes. When the poller can no longer collect from a host, its node turns Stale, which Netdata Cloud's node notifications report when the poller is connected to Cloud.
The charts use the contexts of the Netdata Agent running on Windows, so the Windows dashboards and stock alerts treat these hosts like Windows hosts that run the Agent. The ping charts use the contexts and stock alerts of Netdata's Ping collector.
Every update_every seconds (30 by default), wmi.plugin on the poller connects to each configured Windows host, runs read-only WQL queries in the root\cimv2 namespace, pings the host with three ICMP echo requests, and disconnects. It changes nothing on the host and opens no shell.
| Transport | Ports on the Windows host | Authentication | Protection |
|---|---|---|---|
| DCOM (default) | TCP 135 and the WMI service's dynamic RPC port | NTLMv2 or Kerberos | RPC packet privacy (encrypted) |
| WinRM | TCP 5986 (HTTPS listener) | NTLMv2 | TLS; the poller verifies the listener certificate |
With Kerberos, the poller also gets a ticket for the host from a domain controller on TCP 88, which proves the host's identity too.
WMI classes it reads, for audits and access reviews
| Data | WMI classes |
|---|---|
| CPU | Win32_PerfRawData_Counters_ProcessorInformation |
| Memory | Win32_OperatingSystem, Win32_PerfRawData_PerfOS_Memory, Win32_PerfRawData_PerfOS_PagingFile, Win32_PerfRawData_PerfOS_NUMANodeMemory |
| System | Win32_PerfRawData_PerfOS_System, Win32_PerfRawData_LocalSessionManager_TerminalServices |
| Network | Win32_PerfRawData_Tcpip_NetworkInterface, Win32_PerfRawData_Tcpip_NetworkAdapter, Win32_PerfRawData_Tcpip_TCPv4, Win32_PerfRawData_Tcpip_TCPv6, Win32_PerfRawData_Tcpip_UDPv4, Win32_PerfRawData_Tcpip_UDPv6 |
| Disk | Win32_LogicalDisk, Win32_PerfRawData_PerfDisk_PhysicalDisk, Win32_DiskDrive |
| SMB | Win32_PerfRawData_PerfNet_Server, Win32_PerfRawData_Counters_SMBServerShares |
| Time synchronization | Win32_PerfRawData_MicrosoftWindowsW32TimePerf_WindowsTimeService |
| Node identity | Win32_ComputerSystemProduct |
| Node labels | Win32_OperatingSystem, Win32_ComputerSystem, Win32_Processor, Win32_PhysicalMemory, Win32_LogicalDiskToPartition, Win32_IP4RouteTable, Win32_NetworkAdapter, Win32_NetworkAdapterConfiguration |
This collector is only supported on the following platforms:
- Linux
- Windows
This collector supports collecting metrics from multiple instances of this integration.
The Windows account needs remote read access to WMI on each monitored host. A domain account in the host's local Administrators group has it, and so does the built-in Administrator account. For any other account, grant:
| Permission | Needed when |
|---|---|
Enable Account and Remote Enable on the root\cimv2 WMI namespace | Always |
| Membership in the local Performance Monitor Users group | Always |
| Membership in the local Distributed COM Users group | transport: dcom |
| Membership in the local Remote Management Users group | transport: winrm |
The plugin only reads: do not grant Execute Methods, write or full-control permissions. See Securing a remote WMI connection.
On the poller, ping needs the privilege to send ICMP echo requests:
- Linux: Netdata packages and installers give
wmi.plugintheCAP_NET_RAWcapability and no other privilege. In the Netdata Docker image the plugin is setuid root instead, and ping needs the container'sNET_RAWcapability, which Docker grants by default. - Windows: the Netdata service runs as LocalSystem, which has it; nothing needs granting.
Default Behavior
Auto-Detection
The plugin does not discover Windows hosts. The stock configuration has no jobs, so it contacts no host until you add one.
Limits
Authentication
- WinRM supports NTLMv2 only. For a host or domain that refuses NTLM, use DCOM with
auth: kerberosand an account of the host's own domain; the poller does not follow referrals to other domains. - A wrong password, for example after the account's password changed, adds a failed logon on every collection and every
autodetection_retryattempt, which can lock the account under an account lockout policy. - A Kerberos job reuses its ticket for up to 10 hours (the Active Directory default) or until it restarts, so disabling the account or changing its password or groups can take that long to affect it.
- A WinRM listener with
CbtHardeningLevelset toStrictrejects the plugin, which sends no channel binding token.
What is charted
- Disk space covers fixed drives with a drive letter; folder-mounted volumes, removable and network drives are left out.
- Every SMB share gets seven charts, including the hidden administrative shares (
C$and one per other drive,ADMIN$,IPC$): 200 shares make 1,400 charts. - Time synchronization needs Windows Server 2016 or later, and charts the Windows Time service only, not another NTP client on the host.
- After a host restarts, a 32-bit counter such as context switches can show one spike if it was close to its maximum.
- Some stock packet alerts assume one-second collection. At the default
update_everyof 30,10s_received_packets_stormcannot reach its thresholds,net_interface_inbound_packetsandnet_interface_outbound_packetsshow packets divided byupdate_every, and the drop-ratio alerts report 0 below about 500 received or 50 sent packets per second.
Availability and ping
- Define one job per host: two jobs that reach the same machine, for example by IP address and by DNS name, share its node and show each chart twice.
- A node turns Stale when no collection succeeds for
3 × update_every + timeoutseconds (105 by default); the Agent can take up to twice that to notice. On the poller, the job'splugin_data_collection_statusalert, which notifies nobody, is raised while its collections fail. - A host back from a long outage can take up to 10 minutes beyond
update_everyto turn live, because the job retries less often after five failed collections in a row;system_reboot_detectioncan miss a reboot during the outage. - A host unreachable when its job starts gets no node, so nothing reports it as Stale, until the job connects; set
autodetection_retryso the job keeps trying. - Stopping or removing a job leaves its charts on the host's node, which turns Stale.
- On a Windows poller, do not add a job for the poller itself: its own Agent already monitors it, and the job would make a second node for the same machine.
- Ping cannot be switched off in the configuration. A host that blocks ICMP echo requests, as Windows Firewall does by default, shows 100% packet loss and raises
ping_host_reachable. - A host that is down leaves gaps in every chart, ping included, so the ping alerts stay quiet; its Stale node reports it.
Performance Impact
On the poller the cost is small: a few short-lived connections per job and collection. The plugin runs on every Agent that has it installed, even without jobs, using about 25 MB of memory on Linux and 55 MB on Windows, and almost no CPU; set wmi = no in the [plugins] section of netdata.conf to stop it.
On each Windows host:
| Load | Amount |
|---|---|
WMI queries, run by the WMI provider host process (WmiPrvSE.exe) | Up to 19 per collection, one more when a new physical disk appears |
| Connections | Per collection: two authenticated TCP connections with DCOM, one authenticated HTTPS connection with WinRM |
| ICMP | Three echo requests per collection |
| Node labels | Up to eight small queries every five minutes |
| Kerberos (domain controller) | Three requests per new ticket: about every 10 hours, and in every collection while the login fails or the host refuses the session |
To reduce the load, raise update_every.
Setup
Prerequisites
Install the plugin
Netdata on Linux includes wmi.plugin: static installations, Docker images and source builds contain it, and the netdata DEB and RPM packages recommend the netdata-plugin-wmi package. Install that package on the poller if your package manager skips recommended packages, or if Netdata was installed before the plugin shipped:
sudo apt install netdata-plugin-wmi # Debian, Ubuntu
sudo dnf install netdata-plugin-wmi # Fedora, RHEL and derivatives
sudo zypper install netdata-plugin-wmi # openSUSE
Installation gives wmi.plugin the CAP_NET_RAW capability, which ping needs. When it cannot, for example because the setcap tool is missing, it prints a warning and the plugin collects without ping charts (see ICMP ping disabled under Troubleshooting).
Netdata for Windows includes wmi.plugin in its installer (MSI), so a Windows poller needs nothing more.
Allow the poller through the Windows firewall
On each Windows host, allow inbound connections from the poller for the transport you use. Run these in PowerShell as Administrator, with the poller's address instead of 192.0.2.10.
DCOM: enable the built-in WMI rules and limit them to the poller.
Enable-NetFirewallRule -DisplayGroup "Windows Management Instrumentation (WMI)"
Set-NetFirewallRule -DisplayGroup "Windows Management Instrumentation (WMI)" -RemoteAddress 192.0.2.10
WinRM: allow the HTTPS listener port.
New-NetFirewallRule -DisplayName "WinRM HTTPS from Netdata" -Direction Inbound -Protocol TCP -LocalPort 5986 -RemoteAddress 192.0.2.10 -Action Allow
Ping: allow ICMP echo requests. For a host monitored over IPv6, use -Protocol ICMPv6 -IcmpType 128.
New-NetFirewallRule -DisplayName "ICMP echo from Netdata" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -RemoteAddress 192.0.2.10 -Action Allow
Network firewalls between the poller and the host need the same ports and ICMP echo. DCOM's WMI port is dynamic, by default in the TCP range 49152-65535.
Grant the monitoring account access to WMI
Skip this step for a domain account in the host's local Administrators group and for the built-in Administrator account. Other local accounts get a filtered token for remote connections even when they are administrators (remote UAC), so grant them the permissions listed under Overview, as for any non-administrator account:
-
Add the account to the local groups, for example for DCOM:
Add-LocalGroupMember -Group "Distributed COM Users" -Member 'EXAMPLE\monitor'Add-LocalGroupMember -Group "Performance Monitor Users" -Member 'EXAMPLE\monitor'For WinRM, use the group
Remote Management Usersinstead ofDistributed COM Users. -
Run
wmimgmt.msc, open the properties of WMI Control, and on the Security tab selectRoot\CIMV2. Click Security, add the account, and allow Enable Account and Remote Enable.
Create a WinRM HTTPS listener
WinRM only. The host needs a server authentication certificate in the computer's Personal certificate store, whose subject or subject alternative name matches the host you configure. Then create the listener in PowerShell as Administrator:
winrm quickconfig -transport:https
If a private CA issued the certificate, copy the CA certificate in PEM format to the poller and set tls_ca to its path. See Configure WinRM for HTTPS.
Prepare the poller for Kerberos
Kerberos only (auth: kerberos, DCOM). The monitoring account must be a domain account, and the poller needs:
- The host's DNS name as Active Directory knows it, such as
fileserver.ad.example.com, resolvable on the poller. Kerberos cannot authenticate to an IP address. - TCP 88 to the domain controllers. Without
kdc, the poller finds every domain controller of the domain in DNS, so its DNS server must answer for the domain. - A clock within five minutes of the domain controller's, for example synchronized with NTP to the domain controllers. A Windows poller that is a member of the domain synchronizes with them by default.
Check both on the poller, with your domain: the first command lists the domain controllers, the second shows whether the clock is synchronized. On Linux:
dig +short SRV _kerberos._tcp.ad.example.com
timedatectl
On Windows, in PowerShell:
Resolve-DnsName -Type SRV _kerberos._tcp.ad.example.com
w32tm /query /status
Configuration
Options
Each job monitors one Windows host. Set update_every or autodetection_retry at the top of the file to apply them to every job.
| Group | Option | Description | Default | Required |
|---|---|---|---|---|
| Connection | host | Hostname or IP address of the Windows host. Kerberos needs the host's DNS name. | yes | |
| transport | Protocol that carries the WMI queries. DCOM uses TCP 135 and a dynamic RPC port; WinRM uses HTTPS on TCP 5986. | dcom | no | |
| tls_ca | Path on the poller to the PEM file of the CA that issued the WinRM listener certificate. Leave empty to use the system trust store. | no | ||
| auth | Authentication protocol for the Windows account: NTLMv2, or Kerberos for a domain account over DCOM. | yes | ||
| username | Windows account that reads WMI on the host, as DOMAIN\user, user@domain or a local account name. Kerberos needs user@domain, with the Active Directory DNS domain. | yes | ||
| password | Password of the Windows account. | yes | ||
| kdc | Domain controllers that issue the Kerberos tickets, as host names or IP addresses with an optional port. Leave empty to find them in DNS. | no | ||
| Collection | update_every | Data collection interval, in seconds. | 30 | no |
| autodetection_retry | How often to retry the initial connection when the job fails to start, in seconds. Zero disables retries. | 0 | no | |
| timeout | Time limit for one collection, including the connection and every query, in seconds. | 15 | no | |
| Virtual Node | vnode | Associates this job with a Virtual Node. | no |
tls_ca
On a Windows poller, write a Windows path such as C:\Program Files\Netdata\etc\netdata\ssl\windows-ca.pem (forward slashes work too). An MSYS-style path such as /etc/netdata/ssl/windows-ca.pem is not found.
password
Keep the password out of the configuration file with a secret reference, for example ${env:WMI_PASSWORD} with the variable set in the Netdata service environment. See secrets management.
On a Windows poller, every local user can read the configuration file and the Netdata service's registry key, which holds its environment. Keep the password in a file that only SYSTEM and Administrators can read instead. In PowerShell as Administrator, create the file empty, restrict it, and only then write the password:
$f = 'C:\Program Files\Netdata\etc\netdata\wmi-password.txt'
Remove-Item -Path $f -ErrorAction SilentlyContinue
New-Item -ItemType File -Path $f | Out-Null
icacls $f /inheritance:r /grant:r '*S-1-5-18:R' '*S-1-5-32-544:F'
if ($LASTEXITCODE -ne 0) { throw 'icacls failed: the file is still readable by other users' }
[IO.File]::WriteAllText($f, '...')
WriteAllText stores the password as UTF-8 without a byte order mark, which the plugin expects; Set-Content in Windows PowerShell would change any non-ASCII character.
Then reference it with password: '${file:C:\Program Files\Netdata\etc\netdata\wmi-password.txt}'.
kdc
Kerberos only. List the domain controllers of the account's domain, such as [dc1.ad.example.com, dc2.ad.example.com:88]; the port defaults to 88. When the list is empty, the poller uses every domain controller the domain's _kerberos._tcp DNS SRV records name. Each one it cannot reach delays a login by seconds, and several can make collections exceed timeout, so list the reachable ones when a firewall blocks some.
vnode
Leave vnode empty and the job creates a node for the Windows host:
- It is identified by the host's SMBIOS system UUID, so it keeps its history when the address,
hostor the computer name changes. A host without a usable UUID is identified byhost, and changinghostthen creates a new node. - It is named after the Windows computer name, has
hostin itsaddresslabel, and carries Windows version, hardware and network labels, refreshed every five minutes. - It turns Stale after about three missed collections, or when
hostreaches a machine with another system UUID (see Troubleshooting), unless both report no usable UUID.
Labels of the generated node
A label is left out when Windows does not report its value unambiguously.
| Labels | Meaning |
|---|---|
_os_name, _os_version, _os_marketing_version, _os_edition, _kernel_version | Windows product, edition, version and build |
_hw_sys_vendor, _hw_product_name, _virtualization, _virt_detection, _hw_product_type | Manufacturer, model, and the platform of a recognized virtual machine |
_system_cores, _architecture, _system_cpu_model, _system_cpu_freq | Logical processors, architecture, processor model and clock in Hz |
_system_ram_total | Sum of the installed memory modules, in bytes |
_system_disk_space | Total partition size of the fixed drives, in bytes |
_net_default_iface, _net_default_iface_ip, _net_default_iface_detection | Interface and IPv4 address of the default route |
Set vnode to a virtual node defined in vnodes.conf to use its name and labels instead, and collect from whichever machine answers at host. Use it for:
- an address that moves between machines, such as a failover cluster's name;
- machines that report the same system UUID, such as copied virtual machines, which otherwise share one node.
Give that node the label _os: windows so the stock Windows alerts apply. It turns Stale only after its own stale_after time (or _node_stale_after_seconds label); without one it stays live, with gaps, while the host is down.
via File
The configuration file name for this integration is wmi/windows.conf.
You can edit the configuration file using the edit-config script from the
Netdata config directory.
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config wmi/windows.conf
Examples
Basic
Monitor one Windows host over DCOM. The password comes from the WMI_PASSWORD environment variable of the Netdata service. On a Windows poller, local users can read the service environment; keep the password in a file instead, as the password option describes.
jobs:
- name: fileserver
host: fileserver.example.com
auth: ntlm
username: 'EXAMPLE\monitor'
password: '${env:WMI_PASSWORD}'
Kerberos with a domain account
Monitor a domain member over DCOM where the domain refuses NTLM. host is the host's DNS name, and the poller finds the domain controllers in DNS.
jobs:
- name: fileserver
host: fileserver.ad.example.com
auth: kerberos
username: 'monitor@ad.example.com'
password: '${env:WMI_PASSWORD}'
WinRM over HTTPS with a private CA
Use the host's WinRM HTTPS listener instead of DCOM, trusting the CA that issued its certificate.
jobs:
- name: fileserver
host: fileserver.example.com
transport: winrm
tls_ca: /etc/netdata/ssl/windows-ca.pem
auth: ntlm
username: 'EXAMPLE\monitor'
password: '${env:WMI_PASSWORD}'
Multi-instance
Monitor several Windows hosts with one account. Each job creates its own node.
jobs:
- name: fileserver
host: fileserver.example.com
auth: ntlm
username: 'EXAMPLE\monitor'
password: '${env:WMI_PASSWORD}'
- name: sqlserver
host: sql01.example.com
auth: ntlm
username: 'EXAMPLE\monitor'
password: '${env:WMI_PASSWORD}'
Alerts
The following alerts are available:
| Alert name | On metric | Description |
|---|---|---|
| 10min_cpu_usage | system.cpu | Average CPU utilization over the last 10 minutes |
| disk_space_usage | disk.space | Total space utilization of disk ${label:mount_point} |
| disk_fill_rate | disk.space | average rate the disk fills up (positive), or frees up (negative) space, for the last hour |
| out_of_disk_space_time | disk.space | Estimated time the disk ${label:mount_point} will run out of space, if the system continues to add data with the rate of the last hour |
| 10min_disk_utilization | disk.util | Average percentage of time ${label:device} disk was busy over the last 10 minutes |
| interface_speed | net.net | Network interface ${label:device} current speed |
| 1m_received_traffic_overflow | net.net | Average inbound utilization for the network interface ${label:device} over the last minute |
| 1m_sent_traffic_overflow | net.net | Average outbound utilization for the network interface ${label:device} over the last minute |
| net_interface_inbound_packets | net.packets | Received packets for the network interface ${label:device} in the last 10 minutes |
| net_interface_outbound_packets | net.packets | Sent packets for the network interface ${label:device} in the last 10 minutes |
| inbound_packets_dropped_ratio | net.drops | Ratio of inbound dropped packets for the network interface ${label:device} over the last 10 minutes |
| outbound_packets_dropped_ratio | net.drops | Ratio of outbound dropped packets for the network interface ${label:device} over the last 10 minutes |
| 1m_received_packets_rate | net.packets | Average number of packets received by the network interface ${label:device} over the last minute |
| 10s_received_packets_storm | net.packets | Ratio of average number of received packets for the network interface ${label:device} over the last 10 seconds, compared to the rate over the last minute |
| network_interface_output_queue_length | net.queue_length | The Output Queue Length on interface ${label:device} should be zero, otherwise there are delays and bottlenecks. |
| ping_host_reachable | ping.host_packet_loss | Network host ${label:host} reachability status |
| ping_packet_loss | ping.host_packet_loss | Packet loss percentage to the network host ${label:host} over the last 10 minutes |
| ping_host_latency | ping.host_rtt | Average latency to the network host ${label:host} over the last 10 seconds |
| ram_in_use | system.ram | Physical memory in use, as a percentage of total RAM. The standby cache counts as available, not in use |
| system_reboot_detection | system.uptime | System has rebooted within the last 10 minutes |
| committed_memory_utilization | mem.committed | Commit charge as a percentage of the commit limit (RAM plus paging files). Allocations fail when it reaches the limit and the paging files cannot grow |
| wmi_host_clock_offset | wmi.clock_offset | Average difference over the last 5 minutes between the Windows host's clock and the clock of the Netdata Agent that collects it over WMI. When every host of one Agent shows it, check that Agent's clock first. |
| wmi_host_time_sources | wmi.clock_sync_sources | Most NTP time sources that answered the Windows host's time service in any collection of the last hour. Zero means the host keeps time on its own clock, which drifts, unless something other than NTP synchronizes it. |
Metrics
Metrics grouped by scope.
The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
- Charts belong to the Windows host's node, not to the poller.
- CPU utilization and rates, such as traffic, packets, errors and page faults, are averages over each collection interval, so a short spike counts toward its interval. Memory sizes, counts and queue lengths are values at the moment of the collection.
- A metric group whose query fails leaves a gap for that collection while the others continue; a zero is always a reported value. A WMI class the host does not have is queried again only once an hour.
- Exceptions to the Windows Agent contexts: TCP connection, open, failure, reset and retransmission charts, UDP errors and the time service's offset from its source use the contexts of the Netdata Agent on Linux, because the Agent on Windows does not chart them, and the Linux TCP and UDP alerts do not apply to them.
wmi.*charts are specific to this plugin.
How to read specific charts
| Chart | How to read it |
|---|---|
system.cpu, cpu.cpu | Each mode's share of all mode time in the interval. Privileged time (system) already includes irq and dpc. |
system.processes | Counts every process as running, as on the Agent on Windows. |
mem.swap, mem.committed | Commit charge against the commit limit, which counts physical memory and all paging files. mem.pagefile_usage shows how full each paging file is. |
mem.system_pool_allocs | How fast outstanding pool allocations grow; 0 while they shrink. |
disk.util | The share of the interval the disk was not idle. |
disk.await, disk.svctm, disk.avgsz | Averages of the operations completed in the interval; 0 when none completed. |
disk.busy | Windows' % Disk Time, which adds up concurrent operations, so it can exceed 1000 ms per second. |
ip.*, ipv4.*, ipv6.* | ip.* TCP charts add up IPv4 and IPv6 and need both queries; ipv4.* and ipv6.* show one version. Charts with Linux contexts have only the dimensions Windows counts: no OutRsts or SynRetrans in ip.tcphandshake, only RetransSegs in ip.tcperrors, only InErrors and NoPorts in the udperrors charts. |
ping.host_packet_loss, ping.host_rtt | Loss is the share of the three echo requests without a reply; a collection without replies has no round-trip time. |
terminal_services.sessions | active sessions have a connected user; inactive ones do not (disconnected sessions, the services session, the console's logon screen), so even an idle host has some. |
wmi.clock_offset | The host's clock minus the poller's: positive means the host is ahead. It includes the poller's own clock error with the opposite sign, so keep the poller synchronized. Accurate to about half the query time, usually tens of milliseconds; missing when the query takes over a second. |
system.clock_sync_offset | How far the host's clock is from its own time source, per the Windows Time service. Never negative, because Windows reports only its size. It only falls between NTP answers, so it misses the drift of a host whose source stopped answering; wmi.clock_offset shows it. |
wmi.clock_sync_roundtrip_delay, wmi.clock_sync_sources | Round trip of the latest NTP request, which changes only with the next one; number of time servers that answer, 0 on a host that keeps time without NTP. |
wmi.smb_server_*, smb.server_shares_* | The whole SMB file service and each share. wmi.smb_server_logons counts failed attempts too. Access errors: logon failed logons, access_permissions file opens denied, granted_access denied access to open files. Resource errors: system internal errors, work_item_shortages and blocking_requests_rejected requests without a free work item, paged_pool_failures and nonpaged_pool_failures failed kernel memory allocations. |
Per Windows (WMI) instance
The monitored Windows host.
This scope has no labels.
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| system.cpu | Total CPU Utilization | irq, user, system, dpc, idle | percentage |
| system.ram | System RAM | free, used | MiB |
| mem.available | Available RAM for applications | avail | MiB |
| mem.swap | System Swap | free, used | MiB |
| mem.swap_iops | Swap Operations | read, write | operations/s |
| mem.swapio | Swap I/O | in, out | KiB/s |
| mem.committed | Committed Memory | committed, limit | bytes |
| mem.system_cache | System Cache Memory | cache, peak, resident | bytes |
| mem.page_lists | Memory Page Lists | free, modified, standby_core, standby_normal, standby_reserve | bytes |
| mem.system_pool_size | System Memory Pool | paged, non-paged | bytes |
| mem.system_pool_paged | Paged System Memory Pool | resident | bytes |
| mem.system_pool_allocs | System Pool Allocations | paged, non-paged | allocations/s |
| mem.system_page_table_entries | Unused page table entries. | free | pages |
| mem.system_code | System Code Memory | resident, total | bytes |
| mem.system_drivers | System Driver Memory | resident, total | bytes |
| mem.pgfaults | Memory Page Faults | minor, major | faults/s |
| mem.page_faults_breakdown | Memory Page Fault Breakdown | cache, demand_zero, transition, write_copies | faults/s |
| mem.transition_repurposed | Transition Pages Repurposed | repurposed | pages/s |
| system.processes | System Processes | running | processes |
| system.threads | Threads | threads | threads |
| system.ctxt | CPU Context Switches | switches | context switches/s |
| system.processor_queue_length | The number of threads in the processor queue. | threads | threads |
| system.uptime | System Uptime | uptime | seconds |
| terminal_services.sessions | Terminal Services sessions | active, inactive | sessions |
| wmi.clock_offset | Clock Offset From the Collecting Agent | offset | milliseconds |
| wmi.clock_sync_roundtrip_delay | NTP Round-Trip Delay | delay | milliseconds |
| wmi.clock_sync_sources | Active NTP Time Sources | active | sources |
| system.clock_sync_offset | Computed Time Offset Between Local System and Reference Clock | offset | milliseconds |
| system.io | Disk I/O | reads, writes | KiB/s |
| system.net | Physical Network Interfaces Aggregated Bandwidth | received, sent | kilobits/s |
| ip.tcppackets | TCP Packets | received, sent | packets/s |
| ip.tcpsock | TCP Connections | connections | active connections |
| ip.tcpopens | TCP Opens | active, passive | connections/s |
| ip.tcphandshake | TCP Handshake Issues | EstabResets, AttemptFails | events/s |
| ip.tcperrors | TCP Errors | RetransSegs | packets/s |
| ipv4.tcppackets | IPv4 TCP Packets | received, sent | packets/s |
| ipv6.tcppackets | IPv6 TCP Packets | received, sent | packets/s |
| ipv4.udppackets | IPv4 UDP Packets | received, sent | packets/s |
| ipv4.udperrors | IPv4 UDP Errors | InErrors, NoPorts | events/s |
| ipv6.udppackets | IPv6 UDP Packets | received, sent | packets/s |
| ipv6.udperrors | IPv6 UDP Errors | InErrors, NoPorts | events/s |
| wmi.smb_server_traffic | SMB Server Traffic | received, sent | bytes/s |
| wmi.smb_server_sessions | SMB Server Sessions | active | sessions |
| wmi.smb_server_sessions_ended | SMB Server Sessions Ended | logged_off, timed_out, errored_out, forced_off | sessions/s |
| wmi.smb_server_logons | SMB Server Logons | logons | logons/s |
| wmi.smb_server_access_errors | SMB Server Logon and Access Errors | logon, access_permissions, granted_access | errors/s |
| wmi.smb_server_open_files | SMB Server Open Files | open | files |
| wmi.smb_server_files_opened | SMB Server Files Opened | opened | files/s |
| wmi.smb_server_resource_errors | SMB Server Internal Errors and Resource Shortages | system, work_item_shortages, blocking_requests_rejected, paged_pool_failures, nonpaged_pool_failures | events/s |
Per paging file
A paging file of the host. Windows creates one, C:\pagefile.sys, by default.
Labels:
| Label | Description |
|---|---|
| pagefile | Path of the paging file, for example C:/pagefile.sys. Backslashes are shown as forward slashes. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| mem.pagefile_usage | Paging file usage | free, used | bytes |
Per NUMA node
A NUMA node of the host, a group of processors and the memory attached to them. Most virtual machines and single-socket servers have one.
Labels:
| Label | Description |
|---|---|
| node | Number of the NUMA node, for example 0. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| mem.numa_node_mem_usage | NUMA Node Memory Usage | free, standby | bytes |
Per logical processor
A logical processor of the host.
Labels:
| Label | Description |
|---|---|
| cpu | Logical processor as cpuN, numbered through the host's NUMA nodes in order, for example cpu0. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| cpu.cpu | Core Utilization | irq, user, system, dpc, idle | percentage |
Per network interface
A network interface or adapter as Windows performance counters list it, including virtual and tunnel adapters, that has sent or received traffic since its counters started.
Labels:
| Label | Description |
|---|---|
| device | Performance counter name of the interface, for example Intel[R] PRO_1000 MT Network Connection. Windows writes parentheses as square brackets and # or / as underscores. |
| interface_type | real for an interface of the Network Interface counters, virtual for an adapter that only the Network Adapter counters list, as the Netdata Agent on Windows labels them. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| net.net | Bandwidth | received, sent | kilobits/s |
| net.packets | Packets | received, sent | packets/s |
| net.speed | Interface Speed | speed | kilobits/s |
| net.errors | Interface Errors | inbound, outbound | errors/s |
| net.drops | Interface Drops | inbound, outbound | drops/s |
| net.queue_length | Interface Output Queue Length | length | packets |
| net.rsc_connections | Active TCP Connections Offloaded by RSC | connections | connections |
| net.rsc_packets | TCP RSC Coalesced Packets | packets | packets/s |
| net.rsc_exceptions | TCP RSC Exceptions | exceptions | exceptions/s |
| net.rsc_average_packet_size | TCP RSC Average Packet Size | average | bytes |
| net.chimney_connections | Active TCP Connections Offloaded with Chimney | connections | connections |
| net.unknown_protocol_packets | Packets Received with Unknown Protocol | inbound | packets/s |
Per drive
A fixed drive with a drive letter that Windows does not report as read-only.
Labels:
| Label | Description |
|---|---|
| mount_point | Drive letter, for example C:. |
| drive_type | Always fixed, the only drive type the plugin reads. |
| filesystem | File system of the drive, for example NTFS, or unknown when Windows reports none. |
| rw_mode | Always rw, because read-only drives are not charted. |
| serial_number | Volume serial number in hexadecimal, for example 0x1A2B3C4D, or 0x0 when Windows reports none. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| disk.space | Disk Space Usage | avail, used | GiB |
Per physical disk
A physical disk as Windows performance counters list it, including a virtual machine's virtual disks and the volumes a storage array presents as disks.
Labels:
| Label | Description |
|---|---|
| device | Disk number, for example Disk 0. |
| mount_point | Drive letters of the disk's volumes, for example C: or C: D:. Left out for a disk without a volume that has a drive letter. |
| model | Model of the disk, for example QEMU HARDDISK. Left out when Windows does not list the disk among its disk drives. |
| device_id | Device path of the disk, for example //./PHYSICALDRIVE0. Backslashes are shown as forward slashes. Left out when Windows does not list the disk among its disk drives. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| disk.io | Disk I/O Bandwidth | reads, writes | KiB/s |
| disk.avgsz | Average Completed I/O Operation Bandwidth | reads, writes | KiB/operation |
| disk.ops | Disk Completed I/O Operations | reads, writes | operations/s |
| disk.qops | Disk Current I/O Operations | operations | operations |
| disk.util | Disk Utilization Time | utilization | % of time working |
| disk.busy | Disk Busy Time | busy | milliseconds |
| disk.iotime | Disk Total I/O Time | reads, writes | milliseconds/s |
| disk.await | Average Completed I/O Operation Time | reads, writes | milliseconds/operation |
| disk.svctm | Average Service Time | svctm | milliseconds/operation |
| disk.split | Split I/O Operations | discards | operations/s |
Per SMB share
A share the host's SMB server serves, including the hidden administrative shares such as C$, ADMIN$ and IPC$.
Labels:
| Label | Description |
|---|---|
| share | Share as the Windows performance counters name it, with backslashes shown as forward slashes and * and $ as underscores, for example //_/C_ for the counter set's \\*\C$. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| smb.server_shares_current_open_file_count | Current open file count on the SMB share | open | files |
| smb.server_shares_write_requests | Write requests on the SMB share | writes | requests/s |
| smb.server_shares_read_requests | Read requests on the SMB share | reads | requests/s |
| smb.server_shares_metadata_requests | Metadata requests on the SMB share | metadata | requests/s |
| smb.server_shares_files_opened | Files opened on the SMB share | opened | files/s |
| smb.server_shares_tree_connects | Tree connects on the SMB share | connects | connections |
| smb.server_shares_traffic | Traffic on the SMB share | received, sent | bytes/s |
Per ping target
The Windows host as the poller pings it.
Labels:
| Label | Description |
|---|---|
| host | The job's host option, the name or address the poller pings. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| ping.host_rtt | Ping round-trip time | min, max, avg | milliseconds |
| ping.host_std_dev_rtt | Ping round-trip time standard deviation | std_dev | milliseconds |
| ping.host_packet_loss | Ping packet loss | loss | percentage |
Troubleshooting
Known Errors
secret resolver: provider failure: job output: collector lifecycle failed; resolved configuration details redacted
When
An option, usually password, is a secret reference such as ${env:WMI_PASSWORD}.
Cause
The Agent could not resolve the reference, for example an environment variable the Netdata service does not have. It hides the details, which can contain resolved values; the plugin's own messages below still appear.
Fix
Set the variable in the Netdata service environment, or correct the reference; see secrets management.
auth must be ntlm or kerberos
Cause
The job omits auth, which has no default, or sets another value.
Fix
Add auth: ntlm, or auth: kerberos for a domain account over DCOM.
auth kerberos requires the dcom transport
Cause
The job sets auth: kerberos with transport: winrm; WinRM supports NTLMv2 only.
Fix
Remove transport to use DCOM, or set auth: ntlm to keep WinRM.
auth kerberos requires host to be the Windows host's DNS name, not an IP address
Cause
host is an IP address, and Active Directory issues Kerberos tickets for host names only.
Fix
Set host to the host's DNS name, such as fileserver.ad.example.com. A host that reports a system UUID keeps its node.
auth kerberos requires username as user@domain, with the Active Directory DNS domain
Cause
username is a DOMAIN\user or local account name, or its domain part is not a DNS name.
Fix
Write the account as its logon name and the domain's DNS name, such as monitor@ad.example.com.
kdc requires auth kerberos
Cause
The job sets kdc without auth: kerberos.
Fix
Set auth: kerberos, or remove kdc.
kdc entries must be host names or IP addresses, each with an optional port
Cause
An entry of kdc is empty, is a URL, or has a port outside 1-65535.
Fix
List each domain controller as dc1.ad.example.com or dc1.ad.example.com:88.
transport must be dcom or winrm
Cause
transport has a value other than dcom or winrm.
Fix
Set transport: winrm for the WinRM HTTPS listener, or remove transport to use DCOM.
tls_ca requires the winrm transport
Cause
The job sets tls_ca without transport: winrm; DCOM does not use TLS.
Fix
Add transport: winrm, or remove tls_ca to keep DCOM.
could not load tls_ca: could not read certificate "/etc/netdata/ssl/windows-ca.pem": open "/etc/netdata/ssl/windows-ca.pem": no such file or directory
When
tls_ca is set. Jobs that use secret references show only could not load tls_ca.
Cause
The file does not exist, the netdata user cannot read it, or on a Windows poller the path is MSYS-style, such as /etc/netdata/....
Fix
Set tls_ca to the absolute path of the CA certificate on the poller, in a file the netdata user can read. On Windows, use a Windows path such as C:\Program Files\Netdata\etc\netdata\ssl\windows-ca.pem.
could not load tls_ca: could not parse any PEM certificates "/etc/netdata/ssl/windows-ca.pem"
When
tls_ca is set. Jobs that use secret references show only could not load tls_ca.
Cause
The file holds no certificate in PEM format, for example one exported in DER format.
Fix
Convert it, for example with openssl x509 -inform der -in ca.cer -out ca.pem, and point tls_ca at the result.
host must be a Windows hostname or IP address without a URL or port
Cause
host is empty or contains a scheme, path, port or other characters that are not part of a hostname.
Fix
Set the bare name or address, such as fileserver.example.com instead of https://fileserver.example.com:5986.
username is required
Cause
username is empty, or names a domain with nothing after the backslash.
Fix
Set the full account name, such as EXAMPLE\monitor or monitor@example.com.
password is required
Cause
password is empty, or its secret reference resolved to an empty value.
Fix
Set the password, or give the referenced variable a value in the Netdata service environment.
timeout must be positive
Cause
timeout is zero or negative.
Fix
Remove timeout to use the default of 15 seconds, or set a positive number of seconds.
failed to open WMI session: open DCOM object resolver interface: connection refused
When
transport: dcom
Cause
Nothing accepts connections on TCP 135 at host, or a firewall rejects them.
Fix
Enable the WMI firewall rules for the poller (see Prerequisites), and check that host points at the Windows host.
failed to open WMI session: open DCOM object resolver interface: could not resolve the WMI host
When
transport: dcom
Cause
The poller cannot resolve the host name.
Fix
Use a name the poller resolves, such as the host's fully qualified domain name, or its IP address.
failed to open WMI session: Kerberos login failed: DNS has no KDC (_kerberos._tcp SRV record) for the realm
When
auth: kerberos without kdc
Cause
The poller's DNS server has no _kerberos._tcp SRV records for the domain in username, because it does not serve that domain or the domain part is not the Active Directory DNS domain.
Fix
Point the poller at a DNS server that answers for the domain, or list the domain controllers in kdc.
failed to open WMI session: Kerberos login failed: could not reach a KDC
When
auth: kerberos
Cause
No domain controller accepted a connection on TCP 88, or the poller could not resolve its name.
Fix
Allow TCP 88 from the poller to the domain controllers, and check the names in kdc or the domain's SRV records.
failed to open WMI session: Kerberos login failed: the KDC's reply was incomplete or too large
When
auth: kerberos
Cause
The connection to the domain controller broke during its reply, or something other than a domain controller answered on the port.
Fix
Check that kdc, or the domain's SRV records, name domain controllers and their Kerberos port, 88 by default.
failed to open WMI session: Kerberos login failed: the KDC proposed key parameters the poller rejects (not AES, or excessive key derivation)
When
auth: kerberos
Cause
What answered as the domain controller proposed a key that is not AES, or an excessive number of key derivation iterations. Active Directory never does, because the poller asks for AES only.
Fix
Check that kdc, or the domain's SRV records, name your domain controllers and nothing else.
failed to open WMI session: Kerberos login failed: wrong password (KDC_ERR_PREAUTH_FAILED)
When
auth: kerberos
Cause
The domain controller rejected the password of the account in username, and logged event 4771 in its Security log.
Fix
Correct password promptly, or disable the job, because every collection retries the login and counts toward account lockout.
failed to open WMI session: Kerberos login failed: the KDC's reply could not be verified (wrong password, or the clocks differ by over five minutes)
When
auth: kerberos, with an account that does not require Kerberos preauthentication
Cause
The password is wrong, or the poller's clock is more than five minutes off the domain controller's.
Fix
Correct password, and synchronize the poller's clock with NTP.
failed to open WMI session: Kerberos login failed: the clocks of the poller and the KDC differ by more than the domain allows (KRB_AP_ERR_SKEW)
When
auth: kerberos
Cause
The poller's clock is further off the domain controller's than the domain allows, five minutes by default.
Fix
Synchronize the poller's clock with NTP, for example to the domain controllers, and check it with timedatectl on Linux or w32tm /query /status on Windows.
failed to open WMI session: Kerberos login failed: the account does not exist in the realm (KDC_ERR_C_PRINCIPAL_UNKNOWN)
When
auth: kerberos
Cause
No account of the domain has the logon name in username. The part before @ must be the logon (pre-Windows 2000) name, which can differ from the user principal name.
Fix
Set username to the logon name and the Active Directory DNS domain, such as monitor@ad.example.com.
failed to open WMI session: Kerberos login failed: the account is disabled, locked out or expired (KDC_ERR_CLIENT_REVOKED)
When
auth: kerberos
Cause
The domain refuses logons by the account in username.
Fix
Enable or unlock the account in Active Directory, or extend its expiration date.
failed to open WMI session: Kerberos login failed: the account's password has expired (KDC_ERR_KEY_EXPIRED)
When
auth: kerberos
Cause
The password of the account in username has expired.
Fix
Set a new password and update password. Consider a password policy that does not expire monitoring accounts.
failed to open WMI session: Kerberos login failed: no AES encryption type in common (KDC_ERR_ETYPE_NOSUPP)
When
auth: kerberos
Cause
The account has no AES Kerberos keys, because its password was last set before the domain supported AES. The poller uses AES only.
Fix
Reset the account's password, which creates its AES keys.
failed to open WMI session: Kerberos service ticket request failed: could not reach a KDC
When
auth: kerberos
Cause
The domain controller that accepted the login stopped accepting connections before the poller requested the ticket for the host.
Fix
Check that domain controller and the network path to it; the next collection logs in again.
failed to open WMI session: Kerberos service ticket request failed: the KDC's reply was incomplete or too large
When
auth: kerberos
Cause
The connection to the domain controller broke while it sent the ticket for the host.
Fix
Check that domain controller and the network path to it; the next collection requests the ticket again.
failed to open WMI session: Kerberos service ticket request failed: the KDC's reply could not be verified, or its referral to another domain could not be followed
When
auth: kerberos
Cause
The host is in another domain of the forest than the account in username, and the poller does not follow referrals to other domains; or a domain controller sent an invalid reply.
Fix
Set username to an account of the host's own domain, or use auth: ntlm.
failed to open WMI session: Kerberos service ticket request failed: no AES encryption type in common (KDC_ERR_ETYPE_NOSUPP)
When
auth: kerberos
Cause
The host's computer account does not allow AES for Kerberos, for example because its msDS-SupportedEncryptionTypes attribute lists only RC4. The poller uses AES only.
Fix
Allow AES for the computer account, for example with Set-ADComputer and -KerberosEncryptionType AES128,AES256 in PowerShell on a domain controller.
failed to open WMI session: Kerberos service ticket request failed: the realm has no service principal for the host name (KDC_ERR_S_PRINCIPAL_UNKNOWN)
When
auth: kerberos
Cause
Active Directory has no computer with the name in host, for example because host is a DNS alias or a name outside the domain.
Fix
Set host to the computer's own DNS name, the name setspn -L lists for the computer account.
failed to open WMI session: read DCOM server version: ERROR_ACCESS_DENIED (0x00000005)
When
transport: dcom
Cause
The host rejected the login, because the username or password is wrong or the host does not accept NTLMv2. Its Security log records each rejection as event 4625 from the poller's address.
Fix
Correct username, including its domain part, or password promptly, because every collection retries the login and counts toward account lockout. Check that the host's network security policy allows NTLMv2.
failed to open WMI session: activate WMI: E_ACCESSDENIED (0x80070005)
When
transport: dcom, with a non-administrator account
Cause
The account may log in but is not allowed to start WMI remotely over DCOM.
Fix
Add the account to the host's local Distributed COM Users group.
failed to open WMI session: open WMI root/cimv2 namespace: StatusAccessDenied (0x80041003)
When
transport: dcom, with a non-administrator account
Cause
The account lacks the Enable Account or Remote Enable permission on the root\cimv2 WMI namespace.
Fix
Grant both permissions in wmimgmt.msc (see Prerequisites).
WMI collection did not finish within the timeout of duration
Cause
The host did not answer within timeout, so the collection left a gap in every chart of the host. With DCOM, a firewall often allows TCP 135 but blocks the WMI service's dynamic RPC port, or host is not reachable at all.
Fix
Allow the poller through to the WMI service (see Prerequisites). For a host that is reachable but slow, raise timeout.
failed to open WMI session: WinRM returned HTTP 401
When
transport: winrm
Cause
The listener rejected the login, because the username or password is wrong or the account may not use WinRM. The host's Security log records each rejection as event 4625 from the poller's address.
Fix
Correct username or password promptly, because every collection retries the login and counts toward account lockout. Add a non-administrator account to the host's local Remote Management Users group.
failed to open WMI session: WinRM server certificate verification failed
When
transport: winrm
Cause
The poller does not trust the listener certificate, or the certificate does not match host.
Fix
Set tls_ca to the PEM file of the CA that issued the listener certificate, and host to a name in the certificate.
failed to open WMI session: WinRM request failed: connection refused
When
transport: winrm
Cause
Nothing accepts connections on TCP 5986 at host, or a firewall rejects them.
Fix
Create the HTTPS listener and allow TCP 5986 from the poller (see Prerequisites).
failed to open WMI session: WinRM request failed: could not resolve the WMI host
When
transport: winrm
Cause
The poller cannot resolve the host name.
Fix
Use a name the poller resolves and the listener certificate contains, such as the host's fully qualified domain name.
ICMP ping disabled: the plugin may not open raw ICMP sockets, which requires the CAP_NET_RAW capability on Linux and an administrator account on Windows
Cause
wmi.plugin may not open raw ICMP sockets on the poller. On Linux it lacks the CAP_NET_RAW capability: the installation could not set it (no setcap tool, or a source install inside a container), or the plugin's container drops NET_RAW. On Windows, the Netdata service runs under an account that is not an administrator. The job logs this once and collects without ping charts.
Fix
It depends on where the plugin runs:
- Windows poller: run the Netdata service as LocalSystem, its default, or as another administrator account, then restart it.
- Netdata Docker image: the plugin is setuid root and needs no
setcap. Keep the container'sNET_RAWcapability (--cap-add NET_RAWif your container runtime drops it) and recreate the container. - Any other Linux installation on a host: run the command below (static installations keep the plugin in
/opt/netdata/usr/libexec/netdata/plugins.d/), then restart the Netdata service. Ifgetcapalready showscap_net_raw=ep, the plugin started before the grant, for example during an upgrade: only the restart is missing. - Any other Linux installation inside a container: run it only when
capsh --printlistscap_net_rawin the container'sBounding set; otherwise the plugin cannot start at all (see the next entry).
sudo setcap cap_net_raw+ep /usr/libexec/netdata/plugins.d/wmi.plugin
wmi.plugin does not start in a container, and no WMI job collects
When
Netdata from a native package or static installation runs in a container that drops the NET_RAW capability.
Cause
The plugin carries the CAP_NET_RAW file capability, which such a container does not allow, so the plugin cannot run.
Fix
Remove the capability with sudo setcap -r on the plugin and restart the Netdata service to collect without ping, or run the Netdata Docker image, whose plugin starts without NET_RAW.
ICMP ping failed: could not resolve the host
Cause
The poller could not resolve host for the ping, while the WMI queries of that collection succeeded. DNS failed briefly, or did not answer within the ping's limit of up to 3 seconds.
Fix
Use a name the poller resolves reliably, such as the host's fully qualified domain name, or its IP address.
ICMP ping failed: reason
Cause
The poller could not send the echo requests, for example because its firewall rejects outgoing ICMP (operation not permitted) or it has no route to the host (no route to host).
Fix
Allow outgoing ICMP echo requests from the poller to the host, and check the poller's route to the host's address.
Ping packet loss stays at 100% while the other charts update
Cause
The host, or a firewall on the way, drops ICMP echo requests or their replies. Windows Firewall blocks inbound echo requests unless a rule allows them.
Fix
Allow ICMP echo requests from the poller (see Prerequisites). If ICMP must stay blocked, exclude the host from the ping_host_reachable alert with a chart labels line in your copy of health.d/ping.conf:
chart labels: host=!fileserver.example.com *
system UUID WMI query failed: reason
When
The job starts. In later collections the same message is a warning, and the collection continues.
Cause
The host refused or failed the query of Win32_ComputerSystemProduct, whose UUID identifies the host's node, so the job does not start. With WinRM, a refused query ends in WinRM returned a WS-Management fault.
Fix
Grant the WMI permissions (see Prerequisites), and check the class on the host with Get-CimInstance Win32_ComputerSystemProduct | Select-Object UUID. Set autodetection_retry so that a job whose host fails the query only briefly starts later.
system UUID WMI query did not return one instance
Cause
WMI returned no Win32_ComputerSystemProduct instance, or more than one, so the job cannot tell which machine it reached and does not start.
Fix
Check the class with Get-CimInstance Win32_ComputerSystemProduct; when it returns nothing, check the WMI repository with winmgmt /verifyrepository.
host system UUID differs from the one read when the job started
Cause
The address now reaches another machine: it was reassigned, a failover cluster's name moved to another node, or the firmware or motherboard was replaced. The job publishes nothing, so the node turns Stale.
Fix
Restart the job or the Agent to monitor the machine now at the address on a node of its own; the old node keeps its history. Without a restart, collection resumes when the original machine answers again. For an address that moves between machines on purpose, set vnode.
host reports no usable system UUID: its node is identified by the configured host
Cause
A warning when the job starts: the firmware reports no UUID that identifies the host (empty, all zeros, all F's or a known placeholder). The job collects normally, but its node follows host instead of the machine.
Fix
For a virtual machine, give it a unique UUID in the hypervisor and restart the job; the host then gets a new node. Otherwise keep host unchanged, because changing it creates a new node.
conflicting vnode metadata for guid "guid"
Cause
Two jobs publish the same node with different addresses or names: they reach the same machine, for example by IP address and by DNS name, or two machines report the same system UUID, such as copies of one virtual machine.
Fix
Keep one job per machine. Give copied virtual machines their own UUIDs in the hypervisor, or set vnode on their jobs.
The host's node is Stale
Cause
No collection from the host succeeded for about three collection intervals. The host is down or unreachable, or it rejects the login; the job logs the reason with every failed collection.
Fix
Fix the cause the job logs, one of the errors above. The next successful collection makes the node live again.
The wmi_host_clock_offset alert is raised
Cause
Over the last 5 minutes the host's clock was on average more than 60 seconds off the poller's. Its Windows Time service is stopped or cannot reach its time source, or, when every host of the poller shows a similar offset, the poller's clock is wrong.
Fix
On the host, check w32tm /query /status and resynchronize with w32tm /resync; wmi.clock_sync_sources at 0 means no time source answers. When every host of the poller shows a similar offset, fix the poller's clock instead.
The wmi_host_time_sources alert is raised
Cause
No time server answered the host's Windows Time service in the last hour, so its clock drifts on its own. The time source cannot be resolved or reached, or the host keeps time without NTP, such as through Hyper-V time synchronization or as a forest-root domain controller. The alert notifies nobody; wmi_host_clock_offset does when the drift grows.
Fix
On the host, check w32tm /query /peers, w32tm /query /status, and System log events 47 (no answer from the time source) and 134 (its name cannot be resolved). A host that keeps time without NTP needs no fix.
time service WMI query failed: read WMI query results: StatusInvalidClass (0x80041010)
When
transport: dcom; with transport: winrm the message ends in WinRM returned a WS-Management fault
Cause
The host has no Windows Time service counters, because it runs a Windows version older than Windows Server 2016. The other charts keep updating.
Fix
Nothing to change; time synchronization charts need Windows Server 2016 or later. The job looks for the counters again once an hour and logs this warning while they are missing.
group WMI query failed: WinRM returned a WS-Management fault
When
transport: winrm
Cause
The listener accepted the login but refused the query, most often because the account lacks permissions on the root\cimv2 WMI namespace.
Fix
Grant Enable Account and Remote Enable on root\cimv2 in wmimgmt.msc (see Prerequisites).
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.