github.com/netdata/go.d.plugin@v0.58.1/modules/windows/integrations/hyperv.md (about) 1 <!--startmeta 2 custom_edit_url: "https://github.com/netdata/go.d.plugin/edit/master/modules/windows/integrations/hyperv.md" 3 meta_yaml: "https://github.com/netdata/go.d.plugin/edit/master/modules/windows/metadata.yaml" 4 sidebar_label: "HyperV" 5 learn_status: "Published" 6 learn_rel_path: "Data Collection/Windows Systems" 7 most_popular: False 8 message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE" 9 endmeta--> 10 11 # HyperV 12 13 14 <img src="https://netdata.cloud/img/windows.svg" width="150"/> 15 16 17 Plugin: go.d.plugin 18 Module: windows 19 20 <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" /> 21 22 ## Overview 23 24 This collector monitors the performance of Windows machines, collects both host metrics and metrics from various Windows applications (e.g. Active Directory, MSSQL). 25 26 27 It collect metrics by periodically sending HTTP requests to [Prometheus exporter for Windows machines](https://github.com/prometheus-community/windows_exporter), a native Windows agent running on each host. 28 29 30 This collector is supported on all platforms. 31 32 This collector supports collecting metrics from multiple instances of this integration, including remote instances. 33 34 35 ### Default Behavior 36 37 #### Auto-Detection 38 39 It detects Windows exporter instances running on localhost (requires using [Netdata MSI installer](https://github.com/netdata/msi-installer#instructions)). 40 41 Using the Netdata MSI installer is recommended for testing purposes only. For production use, you need to install Netdata on a Linux host and configure it to collect metrics remotely. 42 43 44 #### Limits 45 46 The default configuration for this integration does not impose any limits on data collection. 47 48 #### Performance Impact 49 50 Data collection affects the CPU usage of the Windows host. CPU usage depends on the frequency of data collection and the [enabled collectors](https://github.com/prometheus-community/windows_exporter#collectors). 51 52 53 54 ## Metrics 55 56 Metrics grouped by *scope*. 57 58 The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels. 59 60 The collected set of metrics depends on the [enabled collectors](https://github.com/prometheus-community/windows_exporter#collectors). 61 62 Supported collectors: 63 64 - [cpu](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.cpu.md) 65 - [iis](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.iis.md) 66 - [memory](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.memory.md) 67 - [net](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.net.md) 68 - [logical_disk](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.logical_disk.md) 69 - [os](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.os.md) 70 - [system](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.system.md) 71 - [logon](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.logon.md) 72 - [tcp](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.tcp.md) 73 - [thermalzone](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.thermalzone.md) 74 - [process](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.process.md) 75 - [service](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.service.md) 76 - [mssql](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.mssql.md) 77 - [ad](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.ad.md) 78 - [adcs](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.adcs.md) 79 - [adfs](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.adfs.md) 80 - [netframework_clrexceptions](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrexceptions.md) 81 - [netframework_clrinterop](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrinterop.md) 82 - [netframework_clrjit](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrjit.md) 83 - [netframework_clrloading](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrloading.md) 84 - [netframework_clrlocksandthreads](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrlocksandthreads.md) 85 - [netframework_clrmemory](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrmemory.md) 86 - [netframework_clrremoting](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework_clrremoting.md) 87 - [exchange](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.exchange.md) 88 - [hyperv](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.hyperv.md) 89 90 91 ### Per Active Directory instance 92 93 These metrics refer to the entire monitored host. 94 95 This scope has no labels. 96 97 Metrics: 98 99 | Metric | Dimensions | Unit | 100 |:------|:----------|:----| 101 | windows.cpu_utilization_total | dpc, user, privileged, interrupt | percentage | 102 | windows.memory_utilization | available, used | bytes | 103 | windows.memory_page_faults | page_faults | events/s | 104 | windows.memory_swap_utilization | available, used | bytes | 105 | windows.memory_swap_operations | read, write | operations/s | 106 | windows.memory_swap_pages | read, written | pages/s | 107 | windows.memory_cached | cached | KiB | 108 | windows.memory_cache_faults | cache_faults | events/s | 109 | windows.memory_system_pool | paged, non-paged | bytes | 110 | windows.tcp_conns_established | ipv4, ipv6 | connections | 111 | windows.tcp_conns_active | ipv4, ipv6 | connections/s | 112 | windows.tcp_conns_passive | ipv4, ipv6 | connections/s | 113 | windows.tcp_conns_failures | ipv4, ipv6 | failures/s | 114 | windows.tcp_conns_resets | ipv4, ipv6 | resets/s | 115 | windows.tcp_segments_received | ipv4, ipv6 | segments/s | 116 | windows.tcp_segments_sent | ipv4, ipv6 | segments/s | 117 | windows.tcp_segments_retransmitted | ipv4, ipv6 | segments/s | 118 | windows.os_processes | processes | number | 119 | windows.os_users | users | users | 120 | windows.os_visible_memory_usage | free, used | bytes | 121 | windows.os_paging_files_usage | free, used | bytes | 122 | windows.system_threads | threads | number | 123 | windows.system_uptime | time | seconds | 124 | windows.logon_type_sessions | system, interactive, network, batch, service, proxy, unlock, network_clear_text, new_credentials, remote_interactive, cached_interactive, cached_remote_interactive, cached_unlock | seconds | 125 | windows.processes_cpu_utilization | a dimension per process | percentage | 126 | windows.processes_handles | a dimension per process | handles | 127 | windows.processes_io_bytes | a dimension per process | bytes/s | 128 | windows.processes_io_operations | a dimension per process | operations/s | 129 | windows.processes_page_faults | a dimension per process | pgfaults/s | 130 | windows.processes_page_file_bytes | a dimension per process | bytes | 131 | windows.processes_pool_bytes | a dimension per process | bytes | 132 | windows.processes_threads | a dimension per process | threads | 133 | ad.database_operations | add, delete, modify, recycle | operations/s | 134 | ad.directory_operations | read, write, search | operations/s | 135 | ad.name_cache_lookups | lookups | lookups/s | 136 | ad.name_cache_hits | hits | hits/s | 137 | ad.atq_average_request_latency | time | seconds | 138 | ad.atq_outstanding_requests | outstanding | requests | 139 | ad.dra_replication_intersite_compressed_traffic | inbound, outbound | bytes/s | 140 | ad.dra_replication_intrasite_compressed_traffic | inbound, outbound | bytes/s | 141 | ad.dra_replication_sync_objects_remaining | inbound, outbound | objects | 142 | ad.dra_replication_objects_filtered | inbound, outbound | objects/s | 143 | ad.dra_replication_properties_updated | inbound, outbound | properties/s | 144 | ad.dra_replication_properties_filtered | inbound, outbound | properties/s | 145 | ad.dra_replication_pending_syncs | pending | syncs | 146 | ad.dra_replication_sync_requests | requests | requests/s | 147 | ad.ds_threads | in_use | threads | 148 | ad.ldap_last_bind_time | last_bind | seconds | 149 | ad.binds | binds | binds/s | 150 | ad.ldap_searches | searches | searches/s | 151 | adfs.ad_login_connection_failures | connection | failures/s | 152 | adfs.certificate_authentications | authentications | authentications/s | 153 | adfs.db_artifact_failures | connection | failures/s | 154 | adfs.db_artifact_query_time_seconds | query_time | seconds/s | 155 | adfs.db_config_failures | connection | failures/s | 156 | adfs.db_config_query_time_seconds | query_time | seconds/s | 157 | adfs.device_authentications | authentications | authentications/s | 158 | adfs.external_authentications | success, failure | authentications/s | 159 | adfs.federated_authentications | authentications | authentications/s | 160 | adfs.federation_metadata_requests | requests | requests/s | 161 | adfs.oauth_authorization_requests | requests | requests/s | 162 | adfs.oauth_client_authentications | success, failure | authentications/s | 163 | adfs.oauth_client_credentials_requests | success, failure | requests/s | 164 | adfs.oauth_client_privkey_jwt_authentications | success, failure | authentications/s | 165 | adfs.oauth_client_secret_basic_authentications | success, failure | authentications/s | 166 | adfs.oauth_client_secret_post_authentications | success, failure | authentications/s | 167 | adfs.oauth_client_windows_authentications | success, failure | authentications/s | 168 | adfs.oauth_logon_certificate_requests | success, failure | requests/s | 169 | adfs.oauth_password_grant_requests | success, failure | requests/s | 170 | adfs.oauth_token_requests_success | success | requests/s | 171 | adfs.passive_requests | passive | requests/s | 172 | adfs.passport_authentications | passport | authentications/s | 173 | adfs.password_change_requests | success, failure | requests/s | 174 | adfs.samlp_token_requests_success | success | requests/s | 175 | adfs.sso_authentications | success, failure | authentications/s | 176 | adfs.token_requests | requests | requests/s | 177 | adfs.userpassword_authentications | success, failure | authentications/s | 178 | adfs.windows_integrated_authentications | authentications | authentications/s | 179 | adfs.wsfed_token_requests_success | success | requests/s | 180 | adfs.wstrust_token_requests_success | success | requests/s | 181 | exchange.activesync_ping_cmds_pending | pending | commands | 182 | exchange.activesync_requests | received | requests/s | 183 | exchange.activesync_sync_cmds | processed | commands/s | 184 | exchange.autodiscover_requests | processed | requests/s | 185 | exchange.avail_service_requests | serviced | requests/s | 186 | exchange.owa_current_unique_users | logged-in | users | 187 | exchange.owa_requests_total | handled | requests/s | 188 | exchange.rpc_active_user_count | active | users | 189 | exchange.rpc_avg_latency | latency | seconds | 190 | exchange.rpc_connection_count | connections | connections | 191 | exchange.rpc_operations | operations | operations/s | 192 | exchange.rpc_requests | processed | requests | 193 | exchange.rpc_user_count | users | users | 194 | exchange.transport_queues_active_mail_box_delivery | low, high, none, normal | messages/s | 195 | exchange.transport_queues_external_active_remote_delivery | low, high, none, normal | messages/s | 196 | exchange.transport_queues_external_largest_delivery | low, high, none, normal | messages/s | 197 | exchange.transport_queues_internal_active_remote_delivery | low, high, none, normal | messages/s | 198 | exchange.transport_queues_internal_largest_delivery | low, high, none, normal | messages/s | 199 | exchange.transport_queues_retry_mailbox_delivery | low, high, none, normal | messages/s | 200 | exchange.transport_queues_poison | low, high, none, normal | messages/s | 201 | hyperv.vms_health | ok, critical | vms | 202 | hyperv.root_partition_device_space_pages | 4K, 2M, 1G | pages | 203 | hyperv.root_partition_gpa_space_pages | 4K, 2M, 1G | pages | 204 | hyperv.root_partition_gpa_space_modifications | gpa | modifications/s | 205 | hyperv.root_partition_attached_devices | attached | devices | 206 | hyperv.root_partition_deposited_pages | deposited | pages | 207 | hyperv.root_partition_skipped_interrupts | skipped | interrupts | 208 | hyperv.root_partition_device_dma_errors | illegal_dma | requests | 209 | hyperv.root_partition_device_interrupt_errors | illegal_interrupt | requests | 210 | hyperv.root_partition_device_interrupt_throttle_events | throttling | events | 211 | hyperv.root_partition_io_tlb_flush | flushes | flushes/s | 212 | hyperv.root_partition_address_space | address_spaces | address spaces | 213 | hyperv.root_partition_virtual_tlb_flush_entries | flushes | flushes/s | 214 | hyperv.root_partition_virtual_tlb_pages | used | pages | 215 216 ### Per cpu core 217 218 TBD 219 220 Labels: 221 222 | Label | Description | 223 |:-----------|:----------------| 224 | core | TBD | 225 226 Metrics: 227 228 | Metric | Dimensions | Unit | 229 |:------|:----------|:----| 230 | windows.cpu_core_utilization | dpc, user, privileged, interrupt | percentage | 231 | windows.cpu_core_interrupts | interrupts | interrupts/s | 232 | windows.cpu_core_dpcs | dpcs | dpcs/s | 233 | windows.cpu_core_cstate | c1, c2, c3 | percentage | 234 235 ### Per logical disk 236 237 TBD 238 239 Labels: 240 241 | Label | Description | 242 |:-----------|:----------------| 243 | disk | TBD | 244 245 Metrics: 246 247 | Metric | Dimensions | Unit | 248 |:------|:----------|:----| 249 | windows.logical_disk_utilization | free, used | bytes | 250 | windows.logical_disk_bandwidth | read, write | bytes/s | 251 | windows.logical_disk_operations | reads, writes | operations/s | 252 | windows.logical_disk_latency | read, write | seconds | 253 254 ### Per network device 255 256 TBD 257 258 Labels: 259 260 | Label | Description | 261 |:-----------|:----------------| 262 | nic | TBD | 263 264 Metrics: 265 266 | Metric | Dimensions | Unit | 267 |:------|:----------|:----| 268 | windows.net_nic_bandwidth | received, sent | kilobits/s | 269 | windows.net_nic_packets | received, sent | packets/s | 270 | windows.net_nic_errors | inbound, outbound | errors/s | 271 | windows.net_nic_discarded | inbound, outbound | discards/s | 272 273 ### Per thermalzone 274 275 TBD 276 277 Labels: 278 279 | Label | Description | 280 |:-----------|:----------------| 281 | thermalzone | TBD | 282 283 Metrics: 284 285 | Metric | Dimensions | Unit | 286 |:------|:----------|:----| 287 | windows.thermalzone_temperature | temperature | celsius | 288 289 ### Per service 290 291 TBD 292 293 Labels: 294 295 | Label | Description | 296 |:-----------|:----------------| 297 | service | TBD | 298 299 Metrics: 300 301 | Metric | Dimensions | Unit | 302 |:------|:----------|:----| 303 | windows.service_state | running, stopped, start_pending, stop_pending, continue_pending, pause_pending, paused, unknown | state | 304 | windows.service_status | ok, error, unknown, degraded, pred_fail, starting, stopping, service, stressed, nonrecover, no_contact, lost_comm | status | 305 306 ### Per website 307 308 TBD 309 310 Labels: 311 312 | Label | Description | 313 |:-----------|:----------------| 314 | website | TBD | 315 316 Metrics: 317 318 | Metric | Dimensions | Unit | 319 |:------|:----------|:----| 320 | iis.website_traffic | received, sent | bytes/s | 321 | iis.website_requests_rate | requests | requests/s | 322 | iis.website_active_connections_count | active | connections | 323 | iis.website_users_count | anonymous, non_anonymous | users | 324 | iis.website_connection_attempts_rate | connection | attempts/s | 325 | iis.website_isapi_extension_requests_count | isapi | requests | 326 | iis.website_isapi_extension_requests_rate | isapi | requests/s | 327 | iis.website_ftp_file_transfer_rate | received, sent | files/s | 328 | iis.website_logon_attempts_rate | logon | attempts/s | 329 | iis.website_errors_rate | document_locked, document_not_found | errors/s | 330 | iis.website_uptime | document_locked, document_not_found | seconds | 331 332 ### Per mssql instance 333 334 TBD 335 336 Labels: 337 338 | Label | Description | 339 |:-----------|:----------------| 340 | mssql_instance | TBD | 341 342 Metrics: 343 344 | Metric | Dimensions | Unit | 345 |:------|:----------|:----| 346 | mssql.instance_accessmethods_page_splits | page | splits/s | 347 | mssql.instance_cache_hit_ratio | hit_ratio | percentage | 348 | mssql.instance_bufman_checkpoint_pages | flushed | pages/s | 349 | mssql.instance_bufman_page_life_expectancy | life_expectancy | seconds | 350 | mssql.instance_bufman_iops | read, written | iops | 351 | mssql.instance_blocked_processes | blocked | processes | 352 | mssql.instance_user_connection | user | connections | 353 | mssql.instance_locks_lock_wait | alloc_unit, application, database, extent, file, hobt, key, metadata, oib, object, page, rid, row_group, xact | locks/s | 354 | mssql.instance_locks_deadlocks | alloc_unit, application, database, extent, file, hobt, key, metadata, oib, object, page, rid, row_group, xact | locks/s | 355 | mssql.instance_memmgr_connection_memory_bytes | memory | bytes | 356 | mssql.instance_memmgr_external_benefit_of_memory | benefit | bytes | 357 | mssql.instance_memmgr_pending_memory_grants | pending | processes | 358 | mssql.instance_memmgr_server_memory | memory | bytes | 359 | mssql.instance_sql_errors | db_offline, info, kill_connection, user | errors | 360 | mssql.instance_sqlstats_auto_parameterization_attempts | failed | attempts/s | 361 | mssql.instance_sqlstats_batch_requests | batch | requests/s | 362 | mssql.instance_sqlstats_safe_auto_parameterization_attempts | safe | attempts/s | 363 | mssql.instance_sqlstats_sql_compilations | compilations | compilations/s | 364 | mssql.instance_sqlstats_sql_recompilations | recompiles | recompiles/s | 365 366 ### Per database 367 368 TBD 369 370 Labels: 371 372 | Label | Description | 373 |:-----------|:----------------| 374 | mssql_instance | TBD | 375 | database | TBD | 376 377 Metrics: 378 379 | Metric | Dimensions | Unit | 380 |:------|:----------|:----| 381 | mssql.database_active_transactions | active | transactions | 382 | mssql.database_backup_restore_operations | backup | operations/s | 383 | mssql.database_data_files_size | size | bytes | 384 | mssql.database_log_flushed | flushed | bytes/s | 385 | mssql.database_log_flushes | log | flushes/s | 386 | mssql.database_transactions | transactions | transactions/s | 387 | mssql.database_write_transactions | write | transactions/s | 388 389 ### Per certificate template 390 391 TBD 392 393 Labels: 394 395 | Label | Description | 396 |:-----------|:----------------| 397 | cert_template | TBD | 398 399 Metrics: 400 401 | Metric | Dimensions | Unit | 402 |:------|:----------|:----| 403 | adcs.cert_template_requests | requests | requests/s | 404 | adcs.cert_template_failed_requests | failed | requests/s | 405 | adcs.cert_template_issued_requests | issued | requests/s | 406 | adcs.cert_template_pending_requests | pending | requests/s | 407 | adcs.cert_template_request_processing_time | processing_time | seconds | 408 | adcs.cert_template_retrievals | retrievals | retrievals/s | 409 | adcs.cert_template_retrieval_processing_time | processing_time | seconds | 410 | adcs.cert_template_request_cryptographic_signing_time | singing_time | seconds | 411 | adcs.cert_template_request_policy_module_processing | processing_time | seconds | 412 | adcs.cert_template_challenge_responses | challenge | responses/s | 413 | adcs.cert_template_challenge_response_processing_time | processing_time | seconds | 414 | adcs.cert_template_signed_certificate_timestamp_lists | processed | lists/s | 415 | adcs.cert_template_signed_certificate_timestamp_list_processing_time | processing_time | seconds | 416 417 ### Per process 418 419 TBD 420 421 Labels: 422 423 | Label | Description | 424 |:-----------|:----------------| 425 | process | TBD | 426 427 Metrics: 428 429 | Metric | Dimensions | Unit | 430 |:------|:----------|:----| 431 | netframework.clrexception_thrown | exceptions | exceptions/s | 432 | netframework.clrexception_filters | filters | filters/s | 433 | netframework.clrexception_finallys | finallys | finallys/s | 434 | netframework.clrexception_throw_to_catch_depth | traversed | stack_frames/s | 435 | netframework.clrinterop_com_callable_wrappers | com_callable_wrappers | ccw/s | 436 | netframework.clrinterop_interop_marshallings | marshallings | marshallings/s | 437 | netframework.clrinterop_interop_stubs_created | created | stubs/s | 438 | netframework.clrjit_methods | jit-compiled | methods/s | 439 | netframework.clrjit_time | time | percentage | 440 | netframework.clrjit_standard_failures | failures | failures/s | 441 | netframework.clrjit_il_bytes | compiled_msil | bytes/s | 442 | netframework.clrloading_loader_heap_size | committed | bytes | 443 | netframework.clrloading_appdomains_loaded | loaded | domain/s | 444 | netframework.clrloading_appdomains_unloaded | unloaded | domain/s | 445 | netframework.clrloading_assemblies_loaded | loaded | assemblies/s | 446 | netframework.clrloading_classes_loaded | loaded | classes/s | 447 | netframework.clrloading_class_load_failures | class_load | failures/s | 448 | netframework.clrlocksandthreads_queue_length | threads | threads/s | 449 | netframework.clrlocksandthreads_current_logical_threads | logical | threads | 450 | netframework.clrlocksandthreads_current_physical_threads | physical | threads | 451 | netframework.clrlocksandthreads_recognized_threads | threads | threads/s | 452 | netframework.clrlocksandthreads_contentions | contentions | contentions/s | 453 | netframework.clrmemory_allocated_bytes | allocated | bytes/s | 454 | netframework.clrmemory_finalization_survivors | survived | objects | 455 | netframework.clrmemory_heap_size | heap | bytes | 456 | netframework.clrmemory_promoted | promoted | bytes | 457 | netframework.clrmemory_number_gc_handles | used | handles | 458 | netframework.clrmemory_collections | gc | gc/s | 459 | netframework.clrmemory_induced_gc | gc | gc/s | 460 | netframework.clrmemory_number_pinned_objects | pinned | objects | 461 | netframework.clrmemory_number_sink_blocks_in_use | used | blocks | 462 | netframework.clrmemory_committed | committed | bytes | 463 | netframework.clrmemory_reserved | reserved | bytes | 464 | netframework.clrmemory_gc_time | time | percentage | 465 | netframework.clrremoting_channels | registered | channels/s | 466 | netframework.clrremoting_context_bound_classes_loaded | loaded | classes | 467 | netframework.clrremoting_context_bound_objects | allocated | objects/s | 468 | netframework.clrremoting_context_proxies | objects | objects/s | 469 | netframework.clrremoting_contexts | contexts | contexts | 470 | netframework.clrremoting_remote_calls | rpc | calls/s | 471 | netframework.clrsecurity_link_time_checks | linktime | checks/s | 472 | netframework.clrsecurity_checks_time | time | percentage | 473 | netframework.clrsecurity_stack_walk_depth | stack | depth | 474 | netframework.clrsecurity_runtime_checks | runtime | checks/s | 475 476 ### Per exchange workload 477 478 TBD 479 480 Labels: 481 482 | Label | Description | 483 |:-----------|:----------------| 484 | workload | TBD | 485 486 Metrics: 487 488 | Metric | Dimensions | Unit | 489 |:------|:----------|:----| 490 | exchange.workload_active_tasks | active | tasks | 491 | exchange.workload_completed_tasks | completed | tasks/s | 492 | exchange.workload_queued_tasks | queued | tasks/s | 493 | exchange.workload_yielded_tasks | yielded | tasks/s | 494 | exchange.workload_activity_status | active, paused | status | 495 496 ### Per ldap process 497 498 TBD 499 500 Labels: 501 502 | Label | Description | 503 |:-----------|:----------------| 504 | workload | TBD | 505 506 Metrics: 507 508 | Metric | Dimensions | Unit | 509 |:------|:----------|:----| 510 | exchange.ldap_long_running_ops_per_sec | long-running | operations/s | 511 | exchange.ldap_read_time | read | seconds | 512 | exchange.ldap_search_time | search | seconds | 513 | exchange.ldap_write_time | write | seconds | 514 | exchange.ldap_timeout_errors | timeout | errors/s | 515 516 ### Per http proxy 517 518 TBD 519 520 Labels: 521 522 | Label | Description | 523 |:-----------|:----------------| 524 | workload | TBD | 525 526 Metrics: 527 528 | Metric | Dimensions | Unit | 529 |:------|:----------|:----| 530 | exchange.http_proxy_avg_auth_latency | latency | seconds | 531 | exchange.http_proxy_avg_cas_processing_latency_sec | latency | seconds | 532 | exchange.http_proxy_mailbox_proxy_failure_rate | failures | percentage | 533 | exchange.http_proxy_mailbox_server_locator_avg_latency_sec | latency | seconds | 534 | exchange.http_proxy_outstanding_proxy_requests | outstanding | requests | 535 | exchange.http_proxy_requests | processed | requests/s | 536 537 ### Per vm 538 539 TBD 540 541 Labels: 542 543 | Label | Description | 544 |:-----------|:----------------| 545 | vm_name | TBD | 546 547 Metrics: 548 549 | Metric | Dimensions | Unit | 550 |:------|:----------|:----| 551 | hyperv.vm_cpu_usage | gues, hypervisor, remote | percentage | 552 | hyperv.vm_memory_physical | assigned_memory | MiB | 553 | hyperv.vm_memory_physical_guest_visible | visible_memory | MiB | 554 | hyperv.vm_memory_pressure_current | pressure | percentage | 555 | hyperv.vm_vid_physical_pages_allocated | allocated | pages | 556 | hyperv.vm_vid_remote_physical_pages | remote_physical | pages | 557 558 ### Per vm device 559 560 TBD 561 562 Labels: 563 564 | Label | Description | 565 |:-----------|:----------------| 566 | vm_device | TBD | 567 568 Metrics: 569 570 | Metric | Dimensions | Unit | 571 |:------|:----------|:----| 572 | hyperv.vm_device_bytes | read, written | bytes/s | 573 | hyperv.vm_device_operations | read, write | operations/s | 574 | hyperv.vm_device_errors | errors | errors/s | 575 576 ### Per vm interface 577 578 TBD 579 580 Labels: 581 582 | Label | Description | 583 |:-----------|:----------------| 584 | vm_interface | TBD | 585 586 Metrics: 587 588 | Metric | Dimensions | Unit | 589 |:------|:----------|:----| 590 | hyperv.vm_interface_bytes | received, sent | bytes/s | 591 | hyperv.vm_interface_packets | received, sent | packets/s | 592 | hyperv.vm_interface_packets_dropped | incoming, outgoing | drops/s | 593 594 ### Per vswitch 595 596 TBD 597 598 Labels: 599 600 | Label | Description | 601 |:-----------|:----------------| 602 | vswitch | TBD | 603 604 Metrics: 605 606 | Metric | Dimensions | Unit | 607 |:------|:----------|:----| 608 | hyperv.vswitch_bytes | received, sent | bytes/s | 609 | hyperv.vswitch_packets | received, sent | packets/s | 610 | hyperv.vswitch_directed_packets | received, sent | packets/s | 611 | hyperv.vswitch_broadcast_packets | received, sent | packets/s | 612 | hyperv.vswitch_multicast_packets | received, sent | packets/s | 613 | hyperv.vswitch_dropped_packets | incoming, outgoing | drops/s | 614 | hyperv.vswitch_extensions_dropped_packets | incoming, outgoing | drops/s | 615 | hyperv.vswitch_packets_flooded | flooded | packets/s | 616 | hyperv.vswitch_learned_mac_addresses | learned | mac addresses/s | 617 | hyperv.vswitch_purged_mac_addresses | purged | mac addresses/s | 618 619 620 621 ## Alerts 622 623 624 The following alerts are available: 625 626 | Alert name | On metric | Description | 627 |:------------|:----------|:------------| 628 | [ windows_10min_cpu_usage ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.cpu_utilization_total | average CPU utilization over the last 10 minutes | 629 | [ windows_ram_in_use ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.memory_utilization | memory utilization | 630 | [ windows_inbound_packets_discarded ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.net_nic_discarded | number of inbound discarded packets for the network interface in the last 10 minutes | 631 | [ windows_outbound_packets_discarded ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.net_nic_discarded | number of outbound discarded packets for the network interface in the last 10 minutes | 632 | [ windows_inbound_packets_errors ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.net_nic_errors | number of inbound errors for the network interface in the last 10 minutes | 633 | [ windows_outbound_packets_errors ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.net_nic_errors | number of outbound errors for the network interface in the last 10 minutes | 634 | [ windows_disk_in_use ](https://github.com/netdata/netdata/blob/master/health/health.d/windows.conf) | windows.logical_disk_space_usage | disk space utilization | 635 636 637 ## Setup 638 639 ### Prerequisites 640 641 #### Install Windows exporter 642 643 To install the Windows exporter, follow the [official installation guide](https://github.com/prometheus-community/windows_exporter#installation). 644 645 646 647 ### Configuration 648 649 #### File 650 651 The configuration file name for this integration is `go.d/windows.conf`. 652 653 654 You can edit the configuration file using the `edit-config` script from the 655 Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/configure/nodes.md#the-netdata-config-directory). 656 657 ```bash 658 cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata 659 sudo ./edit-config go.d/windows.conf 660 ``` 661 #### Options 662 663 The following options can be defined globally: update_every, autodetection_retry. 664 665 666 <details><summary>Config options</summary> 667 668 | Name | Description | Default | Required | 669 |:----|:-----------|:-------|:--------:| 670 | update_every | Data collection frequency. | 1 | no | 671 | autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no | 672 | url | Server URL. | | yes | 673 | timeout | HTTP request timeout. | 1 | no | 674 | username | Username for basic HTTP authentication. | | no | 675 | password | Password for basic HTTP authentication. | | no | 676 | proxy_url | Proxy URL. | | no | 677 | proxy_username | Username for proxy basic HTTP authentication. | | no | 678 | proxy_password | Password for proxy basic HTTP authentication. | | no | 679 | method | HTTP request method. | GET | no | 680 | body | HTTP request body. | | no | 681 | headers | HTTP request headers. | | no | 682 | not_follow_redirects | Redirect handling policy. Controls whether the client follows redirects. | no | no | 683 | tls_skip_verify | Server certificate chain and hostname validation policy. Controls whether the client performs this check. | no | no | 684 | tls_ca | Certification authority that the client uses when verifying the server's certificates. | | no | 685 | tls_cert | Client TLS certificate. | | no | 686 | tls_key | Client TLS key. | | no | 687 688 </details> 689 690 #### Examples 691 692 ##### Basic 693 694 A basic example configuration. 695 696 ```yaml 697 jobs: 698 - name: win_server 699 url: http://192.0.2.1:9182/metrics 700 701 ``` 702 ##### HTTP authentication 703 704 Basic HTTP authentication. 705 706 <details><summary>Config</summary> 707 708 ```yaml 709 jobs: 710 - name: win_server 711 url: http://192.0.2.1:9182/metrics 712 username: username 713 password: password 714 715 ``` 716 </details> 717 718 ##### HTTPS with self-signed certificate 719 720 Do not validate server certificate chain and hostname. 721 722 <details><summary>Config</summary> 723 724 ```yaml 725 jobs: 726 - name: win_server 727 url: https://192.0.2.1:9182/metrics 728 tls_skip_verify: yes 729 730 ``` 731 </details> 732 733 ##### Virtual Node 734 735 The Virtual Node functionality allows you to define nodes in configuration files and treat them as ordinary nodes in all interfaces, panels, tabs, filters, etc. 736 You can create a virtual node for all your Windows machines and control them as separate entities. 737 738 To make your Windows server a virtual node, you need to define virtual nodes in `/etc/netdata/vnodes/vnodes.conf`: 739 740 > **Note**: To create a valid guid, you can use the `uuidgen` command on Linux, or the `[guid]::NewGuid()` command in PowerShell on Windows. 741 742 ```yaml 743 # /etc/netdata/vnodes/vnodes.conf 744 - hostname: win_server 745 guid: <value> 746 ``` 747 748 749 <details><summary>Config</summary> 750 751 ```yaml 752 jobs: 753 - name: win_server 754 vnode: win_server 755 url: http://192.0.2.1:9182/metrics 756 757 ``` 758 </details> 759 760 ##### Multi-instance 761 762 > **Note**: When you define multiple jobs, their names must be unique. 763 764 Collecting metrics from multiple remote instances. 765 766 767 <details><summary>Config</summary> 768 769 ```yaml 770 jobs: 771 - name: win_server1 772 url: http://192.0.2.1:9182/metrics 773 774 - name: win_server2 775 url: http://192.0.2.2:9182/metrics 776 777 ``` 778 </details> 779 780 781 782 ## Troubleshooting 783 784 ### Debug Mode 785 786 To troubleshoot issues with the `windows` collector, run the `go.d.plugin` with the debug option enabled. The output 787 should give you clues as to why the collector isn't working. 788 789 - Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on 790 your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`. 791 792 ```bash 793 cd /usr/libexec/netdata/plugins.d/ 794 ``` 795 796 - Switch to the `netdata` user. 797 798 ```bash 799 sudo -u netdata -s 800 ``` 801 802 - Run the `go.d.plugin` to debug the collector: 803 804 ```bash 805 ./go.d.plugin -d -m windows 806 ``` 807 808