Skip to main content
Version: nightly

Windows machine monitoring with Netdata

This module will monitor one or more Windows machines, using the windows_exporter.

The module collects metrics from the following collectors:

Requirements

Netdata monitors Windows hosts by utilizing the Prometheus exporter for Windows machines, a native Windows agent running on each host.

To quickly test Netdata directly on a Windows machine, you can use the Netdata MSI installer. The installer runs Netdata in a custom WSL deployment. WSL was not designed for production environments, so we do not recommend using the installer in production.

For production use, you need to install Netdata on one or more nodes running Linux:

Automated charts and alerts for your entire Windows infrastructure will be automatically generated. Each Windows host (data collection job) will be identifiable as an "instance" in the Netdata Cloud charts.

Metrics

All metrics have prefix.

Labels per scope:

  • global: no labels.
  • logical disk: disk.
  • network device: nic.
  • thermalzone: thermalzone.
  • website: website.
  • mssql instance: mssql_instance.
  • database: mssql_instance, database.
  • certificate template: cert_template.
  • service: service.
MetricScopeDimensionsUnits
wmi.cpu_utilization_totalglobaldpc, user, privileged, interruptpercentage
wmi.cpu_core_utilizationcpu coredpc, user, privileged, interruptpercentage
wmi.cpu_core_interruptscpu coreinterruptsinterrupts/s
wmi.cpu_core_dpcscpu coredpcsdpcs/s
wmi.cpu_core_cstatecpu corec1, c2, c3percentage
wmi.memory_utilizationglobalavailable, usedbytes
wmi.memory_utilizationglobalavailable, usedKiB
wmi.memory_page_faultsglobalpage_faultsevents/s
wmi.memory_swap_utilizationglobalavailable, usedbytes
wmi.memory_swap_operationsglobalread, writeoperations/s
wmi.memory_swap_pagesglobalread, writtenpages/s
wmi.memory_cachedglobalcachedKiB
wmi.memory_cache_faultsglobalcache_faultsevents/s
wmi.memory_system_poolglobalpaged, non-pagedbytes
wmi.logical_disk_utilizationlogical diskfree, usedbytes
wmi.logical_disk_bandwidthlogical diskread, writebytes/s
wmi.logical_disk_operationslogical diskreads, writesoperations/s
wmi.logical_disk_latencylogical diskread, writeseconds
wmi.net_nic_bandwidthnetwork devicereceived, sentkilobits/s
wmi.net_nic_packetsnetwork devicereceived, sentpackets/s
wmi.net_nic_errorsnetwork deviceinbound, outbounderrors/s
wmi.net_nic_discardednetwork deviceinbound, outbounddiscards/s
wmi.tcp_conns_establishedglobalipv4, ipv6connections
wmi.tcp_conns_activeglobalipv4, ipv6connections/s
wmi.tcp_conns_passiveglobalipv4, ipv6connections/s
wmi.tcp_conns_failuresglobalipv4, ipv6failures/s
wmi.tcp_conns_resetsglobalipv4, ipv6resets/s
wmi.tcp_segments_receivedglobalipv4, ipv6segments/s
wmi.tcp_segments_sentglobalipv4, ipv6segments/s
wmi.tcp_segments_retransmittedglobalipv4, ipv6segments/s
wmi.os_processesglobalprocessesnumber
wmi.os_usersglobalusersusers
wmi.os_visible_memory_usageglobalfree, usedbytes
wmi.os_paging_files_usageglobalfree, usedbytes
wmi.system_threadsglobalthreadsnumber
wmi.system_uptimeglobaltimeseconds
wmi.logon_type_sessionsglobalsystem, interactive, network, batch, service, proxy, unlock, network_clear_text, new_credentials, remote_interactive, cached_interactive, cached_remote_interactive, cached_unlockseconds
wmi.thermalzone_temperatureglobala dimension per thermalzonecelsius
wmi.processes_cpu_utilizationglobala dimension per processpercentage
wmi.processes_handlesglobala dimension per processhandles
wmi.processes_io_bytesglobala dimension per processbytes/s
wmi.processes_io_operationsglobala dimension per processoperations/s
wmi.processes_page_faultsglobala dimension per processpgfaults/s
wmi.processes_page_file_bytesglobala dimension per processbytes
wmi.processes_pool_bytesglobala dimension per processbytes
wmi.processes_threadsglobala dimension per processthreads
wmi.service_stateservicerunning, stopped, start_pending, stop_pending, continue_pending, pause_pending, paused, unknownstate
wmi.service_statusserviceok, error, unknown, degraded, pred_fail, starting, stopping, service, stressed, nonrecover, no_contact, lost_commstatus
iis.website_trafficwebsitereceived, sentbytes/s
iis.website_requests_ratewebsiterequestsrequests/s
iis.website_active_connections_countwebsiteactiveconnections
iis.website_users_countwebsiteanonymous, non_anonymoususers
iis.website_connection_attempts_ratewebsiteconnectionattempts/s
iis.website_isapi_extension_requests_countwebsiteisapirequests
iis.website_isapi_extension_requests_ratewebsiteisapirequests/s
iis.website_ftp_file_transfer_ratewebsitereceived, sentfiles/s
iis.website_logon_attempts_ratewebsitelogonattempts/s
iis.website_errors_ratewebsitedocument_locked, document_not_founderrors/s
iis.website_uptimewebsitedocument_locked, document_not_foundseconds
mssql.instance_accessmethods_page_splitsmssql instancepagesplits/s
mssql.instance_cache_hit_ratiomssql instancehit_ratiopercentage
mssql.instance_bufman_checkpoint_pagesmssql instanceflushedpages/s
mssql.instance_bufman_page_life_expectancymssql instancelife_expectancyseconds
mssql.instance_bufman_iopsmssql instanceread, writteniops
mssql.instance_blocked_processesmssql instanceblockedprocesses
mssql.instance_user_connectionmssql instanceuserconnections
mssql.instance_locks_lock_waitmssql instancealloc_unit, application, database, extent, file, hobt, key, metadata, oib, object, page, rid, row_group, xactlocks/s
mssql.instance_locks_deadlocksmssql instancealloc_unit, application, database, extent, file, hobt, key, metadata, oib, object, page, rid, row_group, xactlocks/s
mssql.instance_memmgr_connection_memory_bytesmssql instancememorybytes
mssql.instance_memmgr_external_benefit_of_memorymssql instancebenefitbytes
mssql.instance_memmgr_pending_memory_grantsmssql instancependingprocesses
mssql.instance_memmgr_server_memorymssql instancememorybytes
mssql.instance_sql_errorsmssql instancedb_offline, info, kill_connection, usererrors
mssql.instance_sqlstats_auto_parameterization_attemptsmssql instancefailedattempts/s
mssql.instance_sqlstats_batch_requestsmssql instancebatchrequests/s
mssql.instance_sqlstats_safe_auto_parameterization_attemptsmssql instancesafeattempts/s
mssql.instance_sqlstats_sql_compilationsmssql instancecompilationscompilations/s
mssql.instance_sqlstats_sql_recompilationsmssql instancerecompilesrecompiles/s
mssql.database_active_transactionsdatabaseactivetransactions
mssql.database_backup_restore_operationsdatabasebackupoperations/s
mssql.database_data_files_sizedatabasesizebytes
mssql.database_log_flusheddatabaseflushedbytes/s
mssql.database_log_flushesdatabaselogflushes/s
mssql.database_transactionsdatabasetransactionstransactions/s
mssql.instance_write_transactionsdatabasewritetransactions/s
ad.dra_replication_intersite_compressed_trafficglobalinbound, outboundbytes/s
ad.dra_replication_intrasite_compressed_trafficglobalinbound, outboundbytes/s
ad.dra_replication_sync_objects_remainingglobalinbound, outboundobjects
ad.dra_replication_objects_filteredglobalinbound, outboundobjects/s
ad.dra_replication_properties_updatedglobalinbound, outboundproperties/s
ad.dra_replication_properties_filteredglobalinbound, outboundproperties/s
ad.dra_replication_pending_syncsglobalpendingsyncs
ad.dra_replication_sync_requestsglobalrequestsrequests/s
ad.ds_threadsglobalin_usethreads
ad.ldap_last_bind_timegloballast_bindseconds
ad.bindsglobalbindsbinds/s
ad.ldap_searchesglobalsearchessearches/s
adcs.cert_template_requestscertificate templaterequestsrequests/s
adcs.cert_template_failed_requestscertificate templatefailedrequests/s
adcs.cert_template_issued_requestscertificate templateissuedrequests/s
adcs.cert_template_pending_requestscertificate templatependingrequests/s
adcs.cert_template_request_processing_timecertificate templateprocessing_timeseconds
adcs.cert_template_retrievalscertificate templateretrievalsretrievals/s
adcs.cert_template_retrieval_processing_timecertificate templateprocessing_timeseconds
adcs.cert_template_request_cryptographic_signing_timecertificate templatesinging_timeseconds
adcs.cert_template_request_policy_module_processingcertificate templateprocessing_timeseconds
adcs.cert_template_challenge_responsescertificate templatechallengeresponses/s
adcs.cert_template_challenge_response_processing_timecertificate templateprocessing_timeseconds
adcs.cert_template_signed_certificate_timestamp_listscertificate templateprocessedlists/s
adcs.cert_template_signed_certificate_timestamp_list_processing_timecertificate templateprocessing_timeseconds
adfs.ad_login_connection_failuresglobalconnectionfailures/s
adfs.certificate_authenticationsglobalauthenticationsauthentications/s
adfs.db_artifact_failuresglobalconnectionfailures/s
adfs.db_artifact_query_time_secondsglobalquery_timeseconds/s
adfs.db_config_failuresglobalconnectionfailures/s
adfs.db_config_query_time_secondsglobalquery_timeseconds/s
adfs.device_authenticationsglobalauthenticationsauthentications/s
adfs.external_authenticationsglobalsuccess, failureauthentications/s
adfs.federated_authenticationsglobalauthenticationsauthentications/s
adfs.federation_metadata_requestsglobalrequestsrequests/s
adfs.oauth_authorization_requestsglobalrequestsrequests/s
adfs.oauth_client_authenticationsglobalsuccess, failureauthentications/s
adfs.oauth_client_credentials_requestsglobalsuccess, failurerequests/s
adfs.oauth_client_privkey_jwt_authenticationsglobalsuccess, failureauthentications/s
adfs.oauth_client_secret_basic_authenticationsglobalsuccess, failureauthentications/s
adfs.oauth_client_secret_post_authenticationsglobalsuccess, failureauthentications/s
adfs.oauth_client_windows_authenticationsglobalsuccess, failureauthentications/s
adfs.oauth_logon_certificate_requestsglobalsuccess, failurerequests/s
adfs.oauth_password_grant_requestsglobalsuccess, failurerequests/s
adfs.oauth_token_requests_successglobalsuccessrequests/s
adfs.passive_requestsglobalpassiverequests/s
adfs.passport_authenticationsglobalpassportauthentications/s
adfs.password_change_requestsglobalsuccess, failurerequests/s
adfs.samlp_token_requests_successglobalsuccessrequests/s
adfs.sso_authenticationsglobalsuccess, failureauthentications/s
adfs.token_requestsglobalrequestsrequests/s
adfs.userpassword_authenticationsglobalsuccess, failureauthentications/s
adfs.windows_integrated_authenticationsglobalauthenticationsauthentications/s
adfs.wsfed_token_requests_successglobalsuccessrequests/s
adfs.wstrust_token_requests_successglobalsuccessrequests/s

Configuration

Edit the go.d/wmi.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/wmi.conf

Needs only url to windows_exporter metrics endpoint. Here is an example for 2 instances:

jobs:
- name: win_server1
url: http://203.0.113.10:9182/metrics

- name: win_server2
url: http://203.0.113.11:9182/metrics

Hint: Use friendly server names for job names, as these will appear as "instances" in Netdata Cloud charts and on the right side menu of the agent UI charts.

For all available options please see module configuration file.

Troubleshooting

To troubleshoot issues with the wmi collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working.

  • Navigate to the plugins.d directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the plugins setting under [directories].

    cd /usr/libexec/netdata/plugins.d/
  • Switch to the netdata user.

    sudo -u netdata -s
  • Run the go.d.plugin to debug the collector:

    ./go.d.plugin -d -m wmi

Was this page helpful?

Contribute