update go.d.plugin to v0.55.0 (#15981)
Ilya Mashchenko committed
Sep 15, 2023 at 20:31 UTC
d585570a4617a9ce8be7efc0198caa773e0abc50
4 files changed
+172
-197
health/health.d/vcsa.conf
+127
-52
@@ -6,19 +6,30 @@
6
# - 3: one or more components might be in an unusable status and the appliance might become unresponsive soon.
7
# - 4: no health data is available.
8
9
- template: vcsa_system_health
10
- on: vcsa.system_health
9
+ template: vcsa_system_health_warn
10
+ on: vcsa.system_health_status
11
class: Errors
12
type: Virtual Machine
13
component: VMware vCenter
14
- lookup: max -10s unaligned of system
14
+ calc: $orange
15
units: status
16
every: 10s
17
- warn: ($this == 1) || ($this == 2)
18
- crit: $this == 3
17
+ warn: $this == 1
18
delay: down 1m multiplier 1.5 max 1h
20
- info: overall system health status \
21
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
19
+ info: VCSA overall system status is orange. One or more components are degraded.
20
+ to: sysadmin
21
+
22
+ template: vcsa_system_health_crit
23
+ on: vcsa.system_health_status
24
+ class: Errors
25
+ type: Virtual Machine
26
+component: VMware vCenter
27
+ calc: $red
28
+ units: status
29
+ every: 10s
30
+ crit: $this == 1
31
+ delay: down 1m multiplier 1.5 max 1h
32
+ info: VCSA overall system status is red. One or more components are unavailable or will stop functioning soon.
33
to: sysadmin
34
35
# Components health:
@@ -28,96 +39,161 @@ component: VMware vCenter
39
# - 3: unavailable, or will stop functioning soon.
40
# - 4: no health data is available.
41
31
- template: vcsa_swap_health
32
- on: vcsa.components_health
42
+ template: vcsa_applmgmt_health_warn
43
+ on: vcsa.applmgmt_health_status
44
class: Errors
45
type: Virtual Machine
46
component: VMware vCenter
36
- lookup: max -10s unaligned of swap
47
+ calc: $orange
48
units: status
49
every: 10s
50
warn: $this == 1
40
- crit: ($this == 2) || ($this == 3)
51
delay: down 1m multiplier 1.5 max 1h
42
- info: swap health status \
43
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
44
- to: sysadmin
52
+ info: VCSA ApplMgmt component status is orange. It is degraded, and may have serious problems.
53
+ to: silent
54
46
- template: vcsa_storage_health
47
- on: vcsa.components_health
55
+ template: vcsa_applmgmt_health_crit
56
+ on: vcsa.applmgmt_health_status
57
class: Errors
58
type: Virtual Machine
59
component: VMware vCenter
51
- lookup: max -10s unaligned of storage
60
+ calc: $red
61
units: status
62
every: 10s
63
warn: $this == 1
55
- crit: ($this == 2) || ($this == 3)
64
delay: down 1m multiplier 1.5 max 1h
57
- info: storage health status \
58
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
65
+ info: VCSA ApplMgmt component status is red. It is unavailable, or will stop functioning soon.
66
to: sysadmin
67
+
68
+ template: vcsa_load_health_warn
69
+ on: vcsa.load_health_status
70
+ class: Errors
71
+ type: Virtual Machine
72
+component: VMware vCenter
73
+ calc: $orange
74
+ units: status
75
+ every: 10s
76
+ warn: $this == 1
77
+ delay: down 1m multiplier 1.5 max 1h
78
+ info: VCSA Load component status is orange. It is degraded, and may have serious problems.
79
+ to: silent
80
61
- template: vcsa_mem_health
62
- on: vcsa.components_health
81
+ template: vcsa_load_health_crit
82
+ on: vcsa.load_health_status
83
class: Errors
84
type: Virtual Machine
85
component: VMware vCenter
66
- lookup: max -10s unaligned of mem
86
+ calc: $red
87
units: status
88
every: 10s
89
warn: $this == 1
70
- crit: ($this == 2) || ($this == 3)
90
delay: down 1m multiplier 1.5 max 1h
72
- info: memory health status \
73
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
91
+ info: VCSA Load component status is red. It is unavailable, or will stop functioning soon.
92
to: sysadmin
93
76
- template: vcsa_load_health
77
- on: vcsa.components_health
78
- class: Utilization
94
+ template: vcsa_mem_health_warn
95
+ on: vcsa.mem_health_status
96
+ class: Errors
97
type: Virtual Machine
98
component: VMware vCenter
81
- lookup: max -10s unaligned of load
99
+ calc: $orange
100
units: status
101
every: 10s
102
warn: $this == 1
85
- crit: ($this == 2) || ($this == 3)
103
delay: down 1m multiplier 1.5 max 1h
87
- info: load health status \
88
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
104
+ info: VCSA Memory component status is orange. It is degraded, and may have serious problems.
105
+ to: silent
106
+
107
+ template: vcsa_mem_health_crit
108
+ on: vcsa.mem_health_status
109
+ class: Errors
110
+ type: Virtual Machine
111
+component: VMware vCenter
112
+ calc: $red
113
+ units: status
114
+ every: 10s
115
+ warn: $this == 1
116
+ delay: down 1m multiplier 1.5 max 1h
117
+ info: VCSA Memory component status is red. It is unavailable, or will stop functioning soon.
118
to: sysadmin
119
91
- template: vcsa_database_storage_health
92
- on: vcsa.components_health
120
+ template: vcsa_swap_health_warn
121
+ on: vcsa.swap_health_status
122
+ class: Errors
123
+ type: Virtual Machine
124
+component: VMware vCenter
125
+ calc: $orange
126
+ units: status
127
+ every: 10s
128
+ warn: $this == 1
129
+ delay: down 1m multiplier 1.5 max 1h
130
+ info: VCSA Swap component status is orange. It is degraded, and may have serious problems.
131
+ to: silent
132
+
133
+ template: vcsa_swap_health_crit
134
+ on: vcsa.swap_health_status
135
class: Errors
136
type: Virtual Machine
137
component: VMware vCenter
96
- lookup: max -10s unaligned of database_storage
138
+ calc: $red
139
units: status
140
every: 10s
141
warn: $this == 1
100
- crit: ($this == 2) || ($this == 3)
142
delay: down 1m multiplier 1.5 max 1h
102
- info: database storage health status \
103
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
143
+ info: VCSA Swap component status is red. It is unavailable, or will stop functioning soon.
144
to: sysadmin
145
106
- template: vcsa_applmgmt_health
107
- on: vcsa.components_health
146
+ template: vcsa_database_storage_health_warn
147
+ on: vcsa.database_storage_health_status
148
class: Errors
149
type: Virtual Machine
150
component: VMware vCenter
111
- lookup: max -10s unaligned of applmgmt
151
+ calc: $orange
152
units: status
153
every: 10s
154
warn: $this == 1
115
- crit: ($this == 2) || ($this == 3)
155
delay: down 1m multiplier 1.5 max 1h
117
- info: applmgmt health status \
118
- (-1: unknown, 0: green, 1: yellow, 2: orange, 3: red, 4: grey)
156
+ info: VCSA Database Storage component status is orange. It is degraded, and may have serious problems.
157
+ to: silent
158
+
159
+ template: vcsa_database_storage_health_crit
160
+ on: vcsa.database_storage_health_status
161
+ class: Errors
162
+ type: Virtual Machine
163
+component: VMware vCenter
164
+ calc: $red
165
+ units: status
166
+ every: 10s
167
+ warn: $this == 1
168
+ delay: down 1m multiplier 1.5 max 1h
169
+ info: VCSA Database Storage component status is red. It is unavailable, or will stop functioning soon.
170
to: sysadmin
171
172
+ template: vcsa_storage_health_warn
173
+ on: vcsa.storage_health_status
174
+ class: Errors
175
+ type: Virtual Machine
176
+component: VMware vCenter
177
+ calc: $orange
178
+ units: status
179
+ every: 10s
180
+ warn: $this == 1
181
+ delay: down 1m multiplier 1.5 max 1h
182
+ info: VCSA Storage component status is orange. It is degraded, and may have serious problems.
183
+ to: silent
184
+
185
+ template: vcsa_storage_health_crit
186
+ on: vcsa.storage_health_status
187
+ class: Errors
188
+ type: Virtual Machine
189
+component: VMware vCenter
190
+ calc: $red
191
+ units: status
192
+ every: 10s
193
+ warn: $this == 1
194
+ delay: down 1m multiplier 1.5 max 1h
195
+ info: VCSA Storage component status is red. It is unavailable, or will stop functioning soon.
196
+ to: sysadmin
197
198
# Software updates health:
199
# - 0: no updates available.
@@ -125,16 +201,15 @@ component: VMware vCenter
201
# - 3: security updates are available.
202
# - 4: an error retrieving information on software updates.
203
128
- template: vcsa_software_updates_health
129
- on: vcsa.software_updates_health
204
+ template: vcsa_software_packages_health_warn
205
+ on: vcsa.software_packages_health_status
206
class: Errors
207
type: Virtual Machine
208
component: VMware vCenter
133
- lookup: max -10s unaligned of software_packages
209
+ calc: $orange
210
units: status
211
every: 10s
136
- warn: ($this == 3) || ($this == 4)
212
+ warn: $this == 1
213
delay: down 1m multiplier 1.5 max 1h
138
- info: software updates availability status \
139
- (-1: unknown, 0: green, 2: orange, 3: red, 4: grey)
140
- to: sysadmin
214
+ info: VCSA software packages security updates are available.
215
+ to: silent
health/health.d/vsphere.conf
+27
-127
@@ -1,28 +1,25 @@
1
2
# you can disable an alarm notification by setting the 'to' line to: silent
3
4
-# -----------------------------------------------VM Specific------------------------------------------------------------
5
-# Memory
4
+# -----------------------------------------------Virtual Machine--------------------------------------------------------
5
7
- template: vsphere_vm_mem_usage
8
- on: vsphere.vm_mem_usage_percentage
6
+ template: vsphere_vm_cpu_utilization
7
+ on: vsphere.vm_cpu_utilization
8
class: Utilization
9
type: Virtual Machine
11
-component: Memory
10
+component: CPU
11
hosts: *
13
- calc: $used
12
+ lookup: average -10m unaligned match-names of used
13
units: %
14
every: 20s
16
- warn: $this > (($status >= $WARNING) ? (80) : (90))
17
- crit: $this > (($status == $CRITICAL) ? (90) : (98))
15
+ warn: $this > (($status >= $WARNING) ? (75) : (85))
16
+ crit: $this > (($status == $CRITICAL) ? (85) : (95))
17
delay: down 15m multiplier 1.5 max 1h
19
- info: virtual machine memory utilization
20
-
21
-# -----------------------------------------------HOST Specific----------------------------------------------------------
22
-# Memory
18
+ info: CPU utilization VM ${label:vm} host ${label:host} cluster ${label:cluster} datacenter ${label:datacenter}
19
+ to: silent
20
24
- template: vsphere_host_mem_usage
25
- on: vsphere.host_mem_usage_percentage
21
+ template: vsphere_vm_mem_utilization
22
+ on: vsphere.vm_mem_utilization
23
class: Utilization
24
type: Virtual Machine
25
component: Memory
@@ -33,69 +30,13 @@ component: Memory
30
warn: $this > (($status >= $WARNING) ? (80) : (90))
31
crit: $this > (($status == $CRITICAL) ? (90) : (98))
32
delay: down 15m multiplier 1.5 max 1h
36
- info: host memory utilization
37
-
38
-# Network errors
39
-
40
- template: vsphere_inbound_packets_errors
41
- on: vsphere.net_errors_total
42
- class: Errors
43
- type: Virtual Machine
44
-component: Network
45
- hosts: *
46
- lookup: sum -10m unaligned absolute match-names of rx
47
- units: packets
48
- every: 1m
49
- info: number of inbound errors for the network interface in the last 10 minutes
50
-
51
- template: vsphere_outbound_packets_errors
52
- on: vsphere.net_errors_total
53
- class: Errors
54
- type: Virtual Machine
55
-component: Network
56
- hosts: *
57
- lookup: sum -10m unaligned absolute match-names of tx
58
- units: packets
59
- every: 1m
60
- info: number of outbound errors for the network interface in the last 10 minutes
61
-
62
-# Network errors ratio
33
+ info: Memory utilization VM ${label:vm} host ${label:host} cluster ${label:cluster} datacenter ${label:datacenter}
34
+ to: silent
35
64
- template: vsphere_inbound_packets_errors_ratio
65
- on: vsphere.net_packets_total
66
- class: Errors
67
- type: Virtual Machine
68
-component: Network
69
- hosts: *
70
- lookup: sum -10m unaligned absolute match-names of rx
71
- calc: (($vsphere_inbound_packets_errors != nan AND $this > 1000) ? ($vsphere_inbound_packets_errors * 100 / $this) : (0))
72
- units: %
73
- every: 1m
74
- warn: $this >= 2
75
- delay: up 1m down 1h multiplier 1.5 max 2h
76
- info: ratio of inbound errors for the network interface over the last 10 minutes
77
- to: sysadmin
36
+# -----------------------------------------------ESXI host--------------------------------------------------------------
37
79
- template: vsphere_outbound_packets_errors_ratio
80
- on: vsphere.net_packets_total
81
- class: Errors
82
- type: Virtual Machine
83
-component: Network
84
- hosts: *
85
- lookup: sum -10m unaligned absolute match-names of tx
86
- calc: (($vsphere_outbound_packets_errors != nan AND $this > 1000) ? ($vsphere_outbound_packets_errors * 100 / $this) : (0))
87
- units: %
88
- every: 1m
89
- warn: $this >= 2
90
- delay: up 1m down 1h multiplier 1.5 max 2h
91
- info: ratio of outbound errors for the network interface over the last 10 minutes
92
- to: sysadmin
93
-
94
-# -----------------------------------------------Common-------------------------------------------------------------------
95
-# CPU
96
-
97
- template: vsphere_cpu_usage
98
- on: vsphere.cpu_usage_total
38
+ template: vsphere_host_cpu_utilization
39
+ on: vsphere.host_cpu_utilization
40
class: Utilization
41
type: Virtual Machine
42
component: CPU
@@ -106,61 +47,20 @@ component: CPU
47
warn: $this > (($status >= $WARNING) ? (75) : (85))
48
crit: $this > (($status == $CRITICAL) ? (85) : (95))
49
delay: down 15m multiplier 1.5 max 1h
109
- info: average CPU utilization
50
+ info: CPU utilization ESXi host ${label:host} cluster ${label:cluster} datacenter ${label:datacenter}
51
to: sysadmin
52
112
-# Network drops
113
-
114
- template: vsphere_inbound_packets_dropped
115
- on: vsphere.net_drops_total
116
- class: Errors
117
- type: Virtual Machine
118
-component: Network
119
- hosts: *
120
- lookup: sum -10m unaligned absolute match-names of rx
121
- units: packets
122
- every: 1m
123
- info: number of inbound dropped packets for the network interface in the last 10 minutes
124
-
125
- template: vsphere_outbound_packets_dropped
126
- on: vsphere.net_drops_total
127
- class: Errors
128
- type: Virtual Machine
129
-component: Network
130
- hosts: *
131
- lookup: sum -10m unaligned absolute match-names of tx
132
- units: packets
133
- every: 1m
134
- info: number of outbound dropped packets for the network interface in the last 10 minutes
135
-
136
-# Network drops ratio
137
-
138
- template: vsphere_inbound_packets_dropped_ratio
139
- on: vsphere.net_packets_total
140
- class: Errors
141
- type: Virtual Machine
142
-component: Network
143
- hosts: *
144
- lookup: sum -10m unaligned absolute match-names of rx
145
- calc: (($vsphere_inbound_packets_dropped != nan AND $this > 1000) ? ($vsphere_inbound_packets_dropped * 100 / $this) : (0))
146
- units: %
147
- every: 1m
148
- warn: $this >= 2
149
- delay: up 1m down 1h multiplier 1.5 max 2h
150
- info: ratio of inbound dropped packets for the network interface over the last 10 minutes
151
- to: sysadmin
152
-
153
- template: vsphere_outbound_packets_dropped_ratio
154
- on: vsphere.net_packets_total
155
- class: Errors
53
+ template: vsphere_host_mem_utilization
54
+ on: vsphere.host_mem_utilization
55
+ class: Utilization
56
type: Virtual Machine
157
-component: Network
57
+component: Memory
58
hosts: *
159
- lookup: sum -10m unaligned absolute match-names of tx
160
- calc: (($vsphere_outbound_packets_dropped != nan AND $this > 1000) ? ($vsphere_outbound_packets_dropped * 100 / $this) : (0))
59
+ calc: $used
60
units: %
162
- every: 1m
163
- warn: $this >= 2
164
- delay: up 1m down 1h multiplier 1.5 max 2h
165
- info: ratio of outbound dropped packets for the network interface over the last 10 minutes
61
+ every: 20s
62
+ warn: $this > (($status >= $WARNING) ? (80) : (90))
63
+ crit: $this > (($status == $CRITICAL) ? (90) : (98))
64
+ delay: down 15m multiplier 1.5 max 1h
65
+ info: Memory utilization ESXi host ${label:host} cluster ${label:cluster} datacenter ${label:datacenter}
66
to: sysadmin
packaging/go.d.checksums
+17
-17
@@ -1,17 +1,17 @@
1
-0f588819dc782600c02194ab6d438f08add7f988aef9c26a5247d2a3711eb5e2 *config.tar.gz
2
-31e91bb51f2f778429db958edb56783f70d05ed667d0d2a18f0506afa0fee8c4 *go.d.plugin-v0.54.1.darwin-amd64.tar.gz
3
-20f93b7647da0dccc0e547d7aede7e3919af623b0fb47f2e9afcebd2b7514895 *go.d.plugin-v0.54.1.darwin-arm64.tar.gz
4
-4d3be031dc3295844715cc7203bdd9d25721e3e954540ef9ba35644c2752a12d *go.d.plugin-v0.54.1.freebsd-386.tar.gz
5
-69580909637ea8657f9e4c4b41fa96d3ad8ba4128223861ea94137319d5b34bc *go.d.plugin-v0.54.1.freebsd-amd64.tar.gz
6
-5524dea9d1f9a215ace3df03d17a39380c832908a00303af6968c451dbbe91b2 *go.d.plugin-v0.54.1.freebsd-arm.tar.gz
7
-a711dfcae86bdc5de17f0bb57dd10b819871a9f8a4bfe696e1ca66c1850ca400 *go.d.plugin-v0.54.1.freebsd-arm64.tar.gz
8
-5174632ceb0755c68bccf09b055b72991e66bbd2df284352543767cfe872ff84 *go.d.plugin-v0.54.1.linux-386.tar.gz
9
-04a176020b00c591e98656b62b211e984eb141b550c3f7b547a7b0d462521b3a *go.d.plugin-v0.54.1.linux-amd64.tar.gz
10
-d7fabc7f349a2dbc079155b948e3675f49ba2fd2343716862ed07f2e7c77f8a7 *go.d.plugin-v0.54.1.linux-arm.tar.gz
11
-9fda860e329ca961d8fe64f4f18ee9803313be86621975af245d5b05f5487023 *go.d.plugin-v0.54.1.linux-arm64.tar.gz
12
-54cbee22bdfe96eb7e23606b06b42ac3d80af744fb1bbf70140893e4164d2e9f *go.d.plugin-v0.54.1.linux-mips.tar.gz
13
-e0c299a29b9c50068bad903281b16eaa3593427896f915c21e487304a5900497 *go.d.plugin-v0.54.1.linux-mips64.tar.gz
14
-a08c5e122e170cbf7cbec6664fdcf70b4328eb1d013db3c4a572c7339d1132f6 *go.d.plugin-v0.54.1.linux-mips64le.tar.gz
15
-53a4054526639044111406e766afb0805f60aa3ef2f0452c85c747578d3523e1 *go.d.plugin-v0.54.1.linux-mipsle.tar.gz
16
-fa4408a25feca43042e44388333dd6b502187e1736fffadcbc8058dfcaa3a61a *go.d.plugin-v0.54.1.linux-ppc64.tar.gz
17
-1218fdbf90518dfba671fc11cf313dd5ff5765a85b047a025255954df3ee314a *go.d.plugin-v0.54.1.linux-ppc64le.tar.gz
1
+ae82cba23606724a6ca0dd176c68c3108d4fbf3a0509cb0b7a0ea0cdc3a73303 *config.tar.gz
2
+067ed15d3f7ee74b0de070baae9e05ddf7571be0d95a8160245e1bcd66a6d26a *go.d.plugin-v0.55.0.darwin-amd64.tar.gz
3
+92d04c37b0842c840cfea1823b91354eecb4f73c187f3a898c9bf6ace3072a0b *go.d.plugin-v0.55.0.darwin-arm64.tar.gz
4
+de3b48256a542c4daf1df627495a56bbfa24c8118ddba224a43dd184bddef1a5 *go.d.plugin-v0.55.0.freebsd-386.tar.gz
5
+86870e0e8cefb3ee2b71a2322babb01889ca1c5fa85e5d915ba5d622a7b870f1 *go.d.plugin-v0.55.0.freebsd-amd64.tar.gz
6
+c488c50eb634e2cc3d7a799b1657087c8647086f63e454ff403207a42fe77548 *go.d.plugin-v0.55.0.freebsd-arm.tar.gz
7
+c3de616c66bf0d793770d6d335de718199894481a985be941b1694560f4ca134 *go.d.plugin-v0.55.0.freebsd-arm64.tar.gz
8
+05a4980ccd8f35c56946c852817d63de425fb74b7df5801d1b7f0fa0877537c1 *go.d.plugin-v0.55.0.linux-386.tar.gz
9
+f4381d676998bbd65fe93cc25649f6575d9eacca99a352b4228d88c23d1c7d06 *go.d.plugin-v0.55.0.linux-amd64.tar.gz
10
+ade328026cf1ef281ef5ba06de83e2308a171da4eb375d2b514f64b6c63be496 *go.d.plugin-v0.55.0.linux-arm.tar.gz
11
+dce851035370d8d23b6ff0c0a8b30e3e4645bd8023a597dea3b94bda248daaaa *go.d.plugin-v0.55.0.linux-arm64.tar.gz
12
+d49b76866951bf0cf8de476d5070d43c53a97601672d14bef350e1006ca4d6a4 *go.d.plugin-v0.55.0.linux-mips.tar.gz
13
+9b5e043e094f726b254951a02d3327d7494b691ba28561f56e89bcb7cd430a13 *go.d.plugin-v0.55.0.linux-mips64.tar.gz
14
+db7cfb9aa675ccc5d08e42471dd7330376c84096633faddff990bcc248da30d4 *go.d.plugin-v0.55.0.linux-mips64le.tar.gz
15
+b5dba2f3764cfeb326dd03ed843591b4a8e1c2faa5cde6015216107723d00a0f *go.d.plugin-v0.55.0.linux-mipsle.tar.gz
16
+f31d93e90bb906a2c93530840140c6a81b00e7a70373e34fadb3a357c8f50415 *go.d.plugin-v0.55.0.linux-ppc64.tar.gz
17
+45c6d0e7e35f6cc0c63f306fdab7049c0817181660073fb31c1bfe1915c348f2 *go.d.plugin-v0.55.0.linux-ppc64le.tar.gz
packaging/go.d.version
+1
-1
@@ -1 +1 @@
1
-v0.54.1
1
+v0.55.0