@cryptotaxi247 / netdata-1 / commits / 4ba6d641a

health: fix windows alarms for vnodes (#15376)

Ilya Mashchenko committed Jul 12, 2023 at 20:50 UTC 4ba6d641a8b15ca47effbe025ae78f6d30b2b7c8
1 file changed +12 -12
health/health.d/windows.conf
+12 -12
@@ -6,7 +6,7 @@
6 class: Utilization
7 type: Windows
8 component: CPU
9 - os: linux
9 + os: *
10 hosts: *
11 lookup: average -10m unaligned match-names of dpc,user,privileged,interrupt
12 units: %
@@ -25,7 +25,7 @@ component: CPU
25 class: Utilization
26 type: Windows
27 component: Memory
28 - os: linux
28 + os: *
29 hosts: *
30 calc: ($used) * 100 / ($used + $available)
31 units: %
@@ -40,11 +40,11 @@ component: Memory
40 ## Network
41
42 template: windows_inbound_packets_discarded
43 - on: windows.net_discarded
43 + on: windows.net_nic_discarded
44 class: Errors
45 type: Windows
46 component: Network
47 - os: linux
47 + os: *
48 hosts: *
49 lookup: sum -10m unaligned absolute match-names of inbound
50 units: packets
@@ -55,11 +55,11 @@ component: Network
55 to: sysadmin
56
57 template: windows_outbound_packets_discarded
58 - on: windows.net_discarded
58 + on: windows.net_nic_discarded
59 class: Errors
60 type: Windows
61 component: Network
62 - os: linux
62 + os: *
63 hosts: *
64 lookup: sum -10m unaligned absolute match-names of outbound
65 units: packets
@@ -70,11 +70,11 @@ component: Network
70 to: sysadmin
71
72 template: windows_inbound_packets_errors
73 - on: windows.net_errors
73 + on: windows.net_nic_errors
74 class: Errors
75 type: Windows
76 component: Network
77 - os: linux
77 + os: *
78 hosts: *
79 lookup: sum -10m unaligned absolute match-names of inbound
80 units: packets
@@ -85,11 +85,11 @@ component: Network
85 to: sysadmin
86
87 template: windows_outbound_packets_errors
88 - on: windows.net_errors
88 + on: windows.net_nic_errors
89 class: Errors
90 type: Windows
91 component: Network
92 - os: linux
92 + os: *
93 hosts: *
94 lookup: sum -10m unaligned absolute match-names of outbound
95 units: packets
@@ -103,11 +103,11 @@ component: Network
103 ## Disk
104
105 template: windows_disk_in_use
106 - on: windows.logical_disk_utilization
106 + on: windows.logical_disk_space_usage
107 class: Utilization
108 type: Windows
109 component: Disk
110 - os: linux
110 + os: *
111 hosts: *
112 calc: ($used) * 100 / ($used + $free)
113 units: %