vernemq alarms, dashboard info and godplugin new version (#8236)
* web/gui: add vernemq to the dashboard_info.js * health: add vernemq alarms and update Makefile.am * health: vernemq alarms info fix * health: vernemq alarms info fix * health: fix vernemq_socket_errors template * packaging: bump godplugin version to v0.16.0 * packaging:update godplugin checksums * docs: add vernemq to the COLLECTORS.md
Ilya Mashchenko committed
Mar 2, 2020 at 16:54 UTC
ec8bc181d530a1aa9e6e6eacc7b437c923e6997e
6 files changed
+546
-19
collectors/COLLECTORS.md
+1
@@ -105,6 +105,7 @@ collector—we may be looking for contributions from users such as yourself!
105
| [tengine](go.d.plugin/modules/tengine/README.md) | [`Tengine`](https://tengine.taobao.org/) | Monitors web server statistics using information provided by `ngx_http_reqstat_module`. |
106
| [unbound](go.d.plugin/modules/unbound/README.md) | [`Unbound`](https://nlnetlabs.nl/projects/unbound/about/) | Collects dns resolver summary and extended system and per thread metrics via `remote-control` interface. |
107
| [vcsa](go.d.plugin/modules/vcsa/README.md) | [`vCenter Server Appliance`](https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.vcsa.doc/GUID-223C2821-BD98-4C7A-936B-7DBE96291BA4.html) | Monitors appliance system, components and software updates health statuses via Health API. |
108
+| [vernemq](go.d.plugin/modules/vernemq/README.md) | [`VerneMQ`](https://vernemq.com/) | Monitors MQTT broker health and performance metrics. It collects all available info for both MQTTv3 and v5 communication. |
109
| [vsphere](go.d.plugin/modules/vsphere/README.md) | [`VMware vCenter Server`](https://www.vmware.com/products/vcenter-server.html) | Collects hosts and virtual machines performance metrics. |
110
| [web_log](go.d.plugin/modules/weblog/README.md) | `Apache/NGINX` | Tails access logs and provides very detailed web server performance statistics. This module is able to parse 200k+ rows for less then half a second. |
111
| [wmi](go.d.plugin/modules/wmi/README.md) | `Windows Machines` | Collects cpu, memory, network, disk, os, system and logon metrics scraping `wmi_exporter`. |
health/Makefile.am
+1
@@ -94,6 +94,7 @@ dist_healthconfig_DATA = \
94
health.d/unbound.conf \
95
health.d/varnish.conf \
96
health.d/vcsa.conf \
97
+ health.d/vernemq.conf \
98
health.d/vsphere.conf \
99
health.d/web_log.conf \
100
health.d/wmi.conf \
health/health.d/vernemq.conf
new
+399
@@ -0,0 +1,399 @@
1
+
2
+# Availability
3
+
4
+template: vernemq_last_collected_secs
5
+ on: vernemq.node_uptime
6
+ calc: $now - $last_collected_t
7
+ units: seconds ago
8
+ every: 10s
9
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
10
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
11
+ delay: down 5m multiplier 1.5 max 1h
12
+ info: number of seconds since the last successful data collection
13
+ to: sysadmin
14
+
15
+# Socket errors
16
+
17
+template: vernemq_socket_errors
18
+ on: vernemq.socket_errors
19
+ lookup: sum -1m unaligned absolute of socket_error
20
+ units: errors
21
+ every: 10s
22
+ warn: $this > (($status == $WARNING) ? (0) : (5))
23
+ delay: down 5m multiplier 1.5 max 2h
24
+ info: socket errors in the last minute
25
+ to: sysadmin
26
+
27
+# Queues dropped/expired/unhandled PUBLISH messages
28
+
29
+template: vernemq_queue_message_drop
30
+ on: vernemq.queue_undelivered_messages
31
+ lookup: sum -1m unaligned absolute of queue_message_drop
32
+ units: dropped messages
33
+ every: 10s
34
+ warn: $this > (($status == $WARNING) ? (0) : (5))
35
+ delay: down 5m multiplier 1.5 max 2h
36
+ info: dropped messaged due to full queues in the last minute
37
+ to: sysadmin
38
+
39
+template: vernemq_queue_message_expired
40
+ on: vernemq.queue_undelivered_messages
41
+ lookup: sum -1m unaligned absolute of queue_message_expired
42
+ units: expired messages
43
+ every: 10s
44
+ warn: $this > (($status == $WARNING) ? (0) : (15))
45
+ delay: down 5m multiplier 1.5 max 2h
46
+ info: messages which expired before delivery in the last minute
47
+ to: sysadmin
48
+
49
+template: vernemq_queue_message_unhandled
50
+ on: vernemq.queue_undelivered_messages
51
+ lookup: sum -1m unaligned absolute of queue_message_unhandled
52
+ units: unhandled messages
53
+ every: 10s
54
+ warn: $this > (($status == $WARNING) ? (0) : (5))
55
+ delay: down 5m multiplier 1.5 max 2h
56
+ info: unhandled messages (connections with clean session=true) in the last minute
57
+ to: sysadmin
58
+
59
+# Erlang VM
60
+
61
+template: vernemq_average_scheduler_utilization
62
+ on: vernemq.average_scheduler_utilization
63
+ lookup: average -10m unaligned
64
+ units: %
65
+ every: 1m
66
+ warn: $this > (($status >= $WARNING) ? (75) : (85))
67
+ crit: $this > (($status == $CRITICAL) ? (85) : (95))
68
+ delay: down 15m multiplier 1.5 max 1h
69
+ info: average scheduler utilization for the last 10 minutes
70
+ to: sysadmin
71
+
72
+# Cluster communication and netsplits
73
+
74
+template: vernemq_cluster_dropped
75
+ on: vernemq.cluster_dropped
76
+ lookup: average -1m unaligned
77
+ units: KiB/s
78
+ every: 10s
79
+ warn: $this > 0
80
+ delay: down 5m multiplier 1.5 max 1h
81
+ info: the amount of traffic dropped during communication with the cluster nodes in the last minute
82
+ to: sysadmin
83
+
84
+template: vernemq_netsplits
85
+ on: vernemq.netsplits
86
+ lookup: sum -1m unaligned absolute of netsplit_detected
87
+ units: netsplits
88
+ every: 10s
89
+ warn: $this > 0
90
+ delay: down 5m multiplier 1.5 max 2h
91
+ info: detected netsplits in the last minute
92
+ to: sysadmin
93
+
94
+# Unsuccessful CONNACK
95
+
96
+template: vernemq_mqtt_connack_sent_reason_success
97
+ on: vernemq.mqtt_connack_sent_reason
98
+ lookup: sum -1m unaligned absolute match-names of success
99
+ units: packets
100
+ every: 10s
101
+ info: successful v3/v5 CONNACK sent in the last minute
102
+ to: sysadmin
103
+
104
+template: vernemq_mqtt_connack_sent_reason_unsuccessful
105
+ on: vernemq.mqtt_connack_sent_reason
106
+ lookup: sum -1m unaligned absolute
107
+ calc: $this - $vernemq_mqtt_connack_sent_reason_success
108
+ units: packets
109
+ every: 10s
110
+ warn: $this > 0
111
+ delay: down 5m multiplier 1.5 max 2h
112
+ info: unsuccessful v3/v5 CONNACK sent in the last minute
113
+ to: sysadmin
114
+
115
+# Not normal DISCONNECT
116
+
117
+template: vernemq_mqtt_disconnect_received_reason_normal_disconnect
118
+ on: vernemq.mqtt_disconnect_received_reason
119
+ lookup: sum -1m unaligned absolute match-names of normal_disconnect
120
+ units: packets
121
+ every: 10s
122
+ info: normal v5 DISCONNECT received in the last minute
123
+ to: sysadmin
124
+
125
+template: vernemq_mqtt_disconnect_sent_reason_normal_disconnect
126
+ on: vernemq.mqtt_disconnect_sent_reason
127
+ lookup: sum -1m unaligned absolute match-names of normal_disconnect
128
+ units: packets
129
+ every: 10s
130
+ info: normal v5 DISCONNECT sent in the last minute
131
+ to: sysadmin
132
+
133
+template: vernemq_mqtt_disconnect_received_reason_not_normal
134
+ on: vernemq.mqtt_disconnect_received_reason
135
+ lookup: sum -1m unaligned absolute
136
+ calc: $this - $vernemq_mqtt_disconnect_received_reason_normal_disconnect
137
+ units: packets
138
+ every: 10s
139
+ warn: $this > 0
140
+ delay: down 5m multiplier 1.5 max 2h
141
+ info: not normal v5 DISCONNECT received in the last minute
142
+ to: sysadmin
143
+
144
+template: vernemq_mqtt_disconnect_sent_reason_not_normal
145
+ on: vernemq.mqtt_disconnect_sent_reason
146
+ lookup: sum -1m unaligned absolute
147
+ calc: $this - $vernemq_mqtt_disconnect_sent_reason_normal_disconnect
148
+ units: packets
149
+ every: 10s
150
+ warn: $this > 0
151
+ delay: down 5m multiplier 1.5 max 2h
152
+ info: not normal v5 DISCONNECT sent in the last minute
153
+ to: sysadmin
154
+
155
+# SUBSCRIBE errors and unauthorized attempts
156
+
157
+template: vernemq_mqtt_subscribe_error
158
+ on: vernemq.mqtt_subscribe_error
159
+ lookup: sum -1m unaligned absolute
160
+ units: failed ops
161
+ every: 10s
162
+ warn: $this > 0
163
+ delay: down 5m multiplier 1.5 max 2h
164
+ info: failed v3/v5 SUBSCRIBE operations in the last minute
165
+ to: sysadmin
166
+
167
+template: vernemq_mqtt_subscribe_auth_error
168
+ on: vernemq.mqtt_subscribe_auth_error
169
+ lookup: sum -1m unaligned absolute
170
+ units: attempts
171
+ every: 10s
172
+ warn: $this > 0
173
+ delay: down 5m multiplier 1.5 max 2h
174
+ info: unauthorized v3/v5 SUBSCRIBE attempts in the last minute
175
+ to: sysadmin
176
+
177
+# UNSUBSCRIBE errors
178
+
179
+template: vernemq_mqtt_unsubscribe_error
180
+ on: vernemq.mqtt_unsubscribe_error
181
+ lookup: sum -1m unaligned absolute
182
+ units: failed ops
183
+ every: 10s
184
+ warn: $this > 0
185
+ delay: down 5m multiplier 1.5 max 2h
186
+ info: failed v3/v5 UNSUBSCRIBE operations in the last minute
187
+ to: sysadmin
188
+
189
+# PUBLISH errors and unauthorized attempts
190
+
191
+template: vernemq_mqtt_publish_errors
192
+ on: vernemq.mqtt_publish_errors
193
+ lookup: sum -1m unaligned absolute
194
+ units: failed ops
195
+ every: 10s
196
+ warn: $this > 0
197
+ delay: down 5m multiplier 1.5 max 2h
198
+ info: failed v3/v5 PUBLISH operations in the last minute
199
+ to: sysadmin
200
+
201
+template: vernemq_mqtt_publish_auth_errors
202
+ on: vernemq.mqtt_publish_auth_errors
203
+ lookup: sum -1m unaligned absolute
204
+ units: attempts
205
+ every: 10s
206
+ warn: $this > 0
207
+ delay: down 5m multiplier 1.5 max 2h
208
+ info: unauthorized v3/v5 PUBLISH attempts in the last minute
209
+ to: sysadmin
210
+
211
+# Unsuccessful and unexpected PUBACK
212
+
213
+template: vernemq_mqtt_puback_received_reason_success
214
+ on: vernemq.mqtt_puback_received_reason
215
+ lookup: sum -1m unaligned absolute match-names of success
216
+ units: packets
217
+ every: 10s
218
+ info: successful v5 PUBACK received in the last minute
219
+ to: sysadmin
220
+
221
+template: vernemq_mqtt_puback_sent_reason_success
222
+ on: vernemq.mqtt_puback_sent_reason
223
+ lookup: sum -1m unaligned absolute match-names of success
224
+ units: packets
225
+ every: 10s
226
+ info: successful v5 PUBACK sent in the last minute
227
+ to: sysadmin
228
+
229
+template: vernemq_mqtt_puback_received_reason_unsuccessful
230
+ on: vernemq.mqtt_puback_received_reason
231
+ lookup: sum -1m unaligned absolute
232
+ calc: $this - $vernemq_mqtt_puback_received_reason_success
233
+ units: packets
234
+ every: 10s
235
+ warn: $this > 0
236
+ delay: down 5m multiplier 1.5 max 2h
237
+ info: unsuccessful v5 PUBACK received in the last minute
238
+ to: sysadmin
239
+
240
+template: vernemq_mqtt_puback_sent_reason_unsuccessful
241
+ on: vernemq.mqtt_puback_sent_reason
242
+ lookup: sum -1m unaligned absolute
243
+ calc: $this - $vernemq_mqtt_puback_sent_reason_success
244
+ units: packets
245
+ every: 10s
246
+ warn: $this > 0
247
+ delay: down 5m multiplier 1.5 max 2h
248
+ info: unsuccessful v5 PUBACK sent in the last minute
249
+ to: sysadmin
250
+
251
+template: vernemq_mqtt_puback_unexpected
252
+ on: vernemq.mqtt_puback_invalid_error
253
+ lookup: sum -1m unaligned absolute
254
+ units: messages
255
+ every: 10s
256
+ warn: $this > 0
257
+ delay: down 5m multiplier 1.5 max 2h
258
+ info: unexpected v3/v5 PUBACK received in the last minute
259
+ to: sysadmin
260
+
261
+# Unsuccessful and unexpected PUBREC
262
+
263
+template: vernemq_mqtt_pubrec_received_reason_success
264
+ on: vernemq.mqtt_pubrec_received_reason
265
+ lookup: sum -1m unaligned absolute match-names of success
266
+ units: packets
267
+ every: 10s
268
+ info: successful v5 PUBREC received in the last minute
269
+ to: sysadmin
270
+
271
+template: vernemq_mqtt_pubrec_sent_reason_success
272
+ on: vernemq.mqtt_pubrec_sent_reason
273
+ lookup: sum -1m unaligned absolute match-names of success
274
+ units: packets
275
+ every: 10s
276
+ info: successful v5 PUBREC sent in the last minute
277
+ to: sysadmin
278
+
279
+template: vernemq_mqtt_pubrec_received_reason_unsuccessful
280
+ on: vernemq.mqtt_pubrec_received_reason
281
+ lookup: sum -1m unaligned absolute
282
+ calc: $this - $vernemq_mqtt_pubrec_received_reason_success
283
+ units: packets
284
+ every: 10s
285
+ warn: $this > 0
286
+ delay: down 5m multiplier 1.5 max 2h
287
+ info: unsuccessful v5 PUBREC received in the last minute
288
+ to: sysadmin
289
+
290
+template: vernemq_mqtt_pubrec_sent_reason_unsuccessful
291
+ on: vernemq.mqtt_pubrec_sent_reason
292
+ lookup: sum -1m unaligned absolute
293
+ calc: $this - $vernemq_mqtt_pubrec_sent_reason_success
294
+ units: packets
295
+ every: 10s
296
+ warn: $this > 0
297
+ delay: down 5m multiplier 1.5 max 2h
298
+ info: unsuccessful v5 PUBREC sent in the last minute
299
+ to: sysadmin
300
+
301
+template: vernemq_mqtt_pubrec_invalid_error
302
+ on: vernemq.mqtt_pubrec_invalid_error
303
+ lookup: sum -1m unaligned absolute
304
+ units: messages
305
+ every: 10s
306
+ warn: $this > 0
307
+ delay: down 5m multiplier 1.5 max 2h
308
+ info: unexpected v3 PUBREC received in the last minute
309
+ to: sysadmin
310
+
311
+# Unsuccessful PUBREL
312
+
313
+template: vernemq_mqtt_pubrel_received_reason_success
314
+ on: vernemq.mqtt_pubrel_received_reason
315
+ lookup: sum -1m unaligned absolute match-names of success
316
+ units: packets
317
+ every: 10s
318
+ info: successful v5 PUBREL received in the last minute
319
+ to: sysadmin
320
+
321
+template: vernemq_mqtt_pubrel_sent_reason_success
322
+ on: vernemq.mqtt_pubrel_sent_reason
323
+ lookup: sum -1m unaligned absolute match-names of success
324
+ units: packets
325
+ every: 10s
326
+ info: successful v5 PUBREL sent in the last minute
327
+ to: sysadmin
328
+
329
+template: vernemq_mqtt_pubrel_received_reason_unsuccessful
330
+ on: vernemq.mqtt_pubrel_received_reason
331
+ lookup: sum -1m unaligned absolute
332
+ calc: $this - $vernemq_mqtt_pubrel_received_reason_success
333
+ units: packets
334
+ every: 10s
335
+ warn: $this > 0
336
+ delay: down 5m multiplier 1.5 max 2h
337
+ info: unsuccessful v5 PUBREL received in the last minute
338
+ to: sysadmin
339
+
340
+template: vernemq_mqtt_pubrel_sent_reason_unsuccessful
341
+ on: vernemq.mqtt_pubrel_sent_reason
342
+ lookup: sum -1m unaligned absolute
343
+ calc: $this - $vernemq_mqtt_pubrel_sent_reason_success
344
+ units: packets
345
+ every: 10s
346
+ warn: $this > 0
347
+ delay: down 5m multiplier 1.5 max 2h
348
+ info: unsuccessful v5 PUBREL sent in the last minute
349
+ to: sysadmin
350
+
351
+# Unsuccessful and unexpected PUBCOMP
352
+
353
+template: vernemq_mqtt_pubcomp_received_reason_success
354
+ on: vernemq.mqtt_pubcomp_received_reason
355
+ lookup: sum -1m unaligned absolute match-names of success
356
+ units: packets
357
+ every: 10s
358
+ info: successful v5 PUBCOMP received in the last minute
359
+ to: sysadmin
360
+
361
+template: vernemq_mqtt_pubcomp_sent_reason_success
362
+ on: vernemq.mqtt_pubcomp_sent_reason
363
+ lookup: sum -1m unaligned absolute match-names of success
364
+ units: packets
365
+ every: 10s
366
+ info: successful v5 PUBCOMP sent in the last minute
367
+ to: sysadmin
368
+
369
+template: vernemq_mqtt_pubcomp_received_reason_unsuccessful
370
+ on: vernemq.mqtt_pubcomp_received_reason
371
+ lookup: sum -1m unaligned absolute
372
+ calc: $this - $vernemq_mqtt_pubcomp_received_reason_success
373
+ units: packets
374
+ every: 10s
375
+ warn: $this > 0
376
+ delay: down 5m multiplier 1.5 max 2h
377
+ info: unsuccessful v5 PUBCOMP received in the last minute
378
+ to: sysadmin
379
+
380
+template: vernemq_mqtt_pubcomp_sent_reason_unsuccessful
381
+ on: vernemq.mqtt_pubcomp_sent_reason
382
+ lookup: sum -1m unaligned absolute
383
+ calc: $this - $vernemq_mqtt_pubcomp_sent_reason_success
384
+ units: packets
385
+ every: 10s
386
+ warn: $this > 0
387
+ delay: down 5m multiplier 1.5 max 2h
388
+ info: unsuccessful v5 PUBCOMP sent in the last minute
389
+ to: sysadmin
390
+
391
+template: vernemq_mqtt_pubcomp_unexpected
392
+ on: vernemq.mqtt_pubcomp_invalid_error
393
+ lookup: sum -1m unaligned absolute
394
+ units: messages
395
+ every: 10s
396
+ warn: $this > 0
397
+ delay: down 5m multiplier 1.5 max 2h
398
+ info: unexpected v3/v5 PUBCOMP received in the last minute
399
+ to: sysadmin
packaging/go.d.checksums
+16
-16
@@ -1,16 +1,16 @@
1
-eac6cdc2f38986ba8605030b6ac41304b5f03e880fc9fea943ed034fc8f7490a *config.tar.gz
2
-7021f071689e4efa879d557f4a76c369e3a7b95c093913ba3c5429087e093258 *go.d.plugin-v0.15.0.darwin-386.tar.gz
3
-ac16155b37fd51c5d333e490b4e5b85e3388b3b42ae9bb5bc828f78aa1cbd58a *go.d.plugin-v0.15.0.darwin-amd64.tar.gz
4
-5d34e399ee75db0fce858a34038b3d645c8b5c80b26c346f6908117a738899ff *go.d.plugin-v0.15.0.freebsd-386.tar.gz
5
-d2ff775c11dcf8c90ab92e8d229a74980bb498513cc7411962cdc8056cb22eef *go.d.plugin-v0.15.0.freebsd-amd64.tar.gz
6
-3563424c41ca047786a9ef80ac25704d27d53e7b64b8252ce30d3b54b3d1638f *go.d.plugin-v0.15.0.freebsd-arm.tar.gz
7
-8e8e52bde2da6ce98fa902bad164152c53632fc7b1e1c9f689a89c0e5a87548f *go.d.plugin-v0.15.0.linux-386.tar.gz
8
-292546c3338b372441816be12e13f7fe6951281c2f03cff947d9bfb0cb39aeb2 *go.d.plugin-v0.15.0.linux-amd64.tar.gz
9
-ab5fb4d2f277255de31ca9330aacb67ebab2f10c398dc96f207eefefae1960ce *go.d.plugin-v0.15.0.linux-arm.tar.gz
10
-93ebd48c2b781fb42a26e21759885772d08e3ee2eea46b12e10681ff6c914de6 *go.d.plugin-v0.15.0.linux-arm64.tar.gz
11
-c83e8c758b116c13184314158ed5e7516fa4467a50e43b7d30bd466938e1a0c7 *go.d.plugin-v0.15.0.linux-mips.tar.gz
12
-7a036e6e74ac13b82a6baedf61208a6eae6dc1b57da50ad47b2fc5a376ef680a *go.d.plugin-v0.15.0.linux-mips64.tar.gz
13
-8f5a92bc4feac4ae44c0881e0de4490643fccc2d7e0867de437e0d08fc858256 *go.d.plugin-v0.15.0.linux-mips64le.tar.gz
14
-5a87a29f6a723d7bdc063e767c20c377cb8383edca96f36a3ed45d3434b7b157 *go.d.plugin-v0.15.0.linux-mipsle.tar.gz
15
-b67f5ed415c8f2109c916f655c60d2d61cb520623065bee770941bf8f40af1cc *go.d.plugin-v0.15.0.linux-ppc64.tar.gz
16
-69ab1728f6017e3e83db5971a6e57dabdb5b9190ae1d817ee9b010bc0a2995a0 *go.d.plugin-v0.15.0.linux-ppc64le.tar.gz
1
+eee3a36a5290e9c960f5c0dddefd3ad81cbbf3cb5c17a58bfa052f83a2664491 *config.tar.gz
2
+134cc8747cf8da09af1ff8d75949aaa2c993f531a5922b2d17e5dabcb7110358 *go.d.plugin-v0.16.0.darwin-386.tar.gz
3
+055a1cdd213031bd7a953a908761d1e38113cb1be3b36222a8d0ff53cef211cf *go.d.plugin-v0.16.0.darwin-amd64.tar.gz
4
+992b77cbcd6b7011e7cce23cf272b6fff4496fe612e8cc64c682960d19e0c2de *go.d.plugin-v0.16.0.freebsd-386.tar.gz
5
+450bb1c12fad358f57639791a977696b9f2a0d08454b72e55c359b4a9d2af516 *go.d.plugin-v0.16.0.freebsd-amd64.tar.gz
6
+49c30ae1ec8a34eccb9b309b1523b26fc5a3be17c2f01ed50d49755f985bf743 *go.d.plugin-v0.16.0.freebsd-arm.tar.gz
7
+189943a310c7edddf059b86a5fe5bcbf8b7500a257877bd5e2d441c7a5f701e7 *go.d.plugin-v0.16.0.linux-386.tar.gz
8
+30442ed1290c0b3a35d1ddaf58fd95a407d3eb20dc556340fef840915c278f03 *go.d.plugin-v0.16.0.linux-amd64.tar.gz
9
+12065625c51cc957136bb1185b698584c866818b205844b9ccecb8dede5bf2f9 *go.d.plugin-v0.16.0.linux-arm.tar.gz
10
+24e5cf2348c3e3739667b0d64a5580f46e30d56e4a71908976b5259d8e229303 *go.d.plugin-v0.16.0.linux-arm64.tar.gz
11
+0ff30e64a0f25908ca18d2d088f024f8397b6435a5920b4332265c76c010f506 *go.d.plugin-v0.16.0.linux-mips.tar.gz
12
+1592c5af8e44beaae47e8795509a7acdd6f014c12fb0f02cbd31f721f29e047a *go.d.plugin-v0.16.0.linux-mips64.tar.gz
13
+25dd720d31a39236d63cb6e7829ceb1058bbede30a0a7bc7a6370dc090eabd77 *go.d.plugin-v0.16.0.linux-mips64le.tar.gz
14
+246028321a9172e8228f8ae1f451aba54dd70ad8baf73d394bf7169269ed1657 *go.d.plugin-v0.16.0.linux-mipsle.tar.gz
15
+6cd8851bc79fa54c1f92e48a0438c8c7640f7f2e2eff64c8fd960ad490df0fa7 *go.d.plugin-v0.16.0.linux-ppc64.tar.gz
16
+4ec63e504478fa180127dddb95a663465df9c12a0f2de37bcc0f5d4412e55b04 *go.d.plugin-v0.16.0.linux-ppc64le.tar.gz
packaging/go.d.version
+1
-1
@@ -1 +1 @@
1
-v0.15.0
1
+v0.16.0
web/gui/dashboard_info.js
+128
-2
@@ -546,7 +546,13 @@ netdataDashboard.menu = {
546
title: 'eBPF',
547
icon: '<i class="fas fa-heartbeat"></i>',
548
info: 'Monitor system calls, internal functtions, bytes read, bytes written and errors using <code>eBPF</code>.'
549
- }
549
+ },
550
+
551
+ 'vernemq': {
552
+ title: 'VerneMQ',
553
+ icon: '<i class="fas fa-comments"></i>',
554
+ info: 'Performance data for the <b><a href="https://vernemq.com/">VerneMQ</a></b> open-source MQTT broker.'
555
+ },
556
};
557
558
@@ -3066,6 +3072,126 @@ netdataDashboard.context = {
3072
3073
'ebpf.process_status': {
3074
info: 'This chart demonstrate the difference between the number of process created and the number of threads created per period(\'process\' dimension), it also shows the number of possible zombie process running on system.'
3069
- }
3075
+ },
3076
3077
+ // ------------------------------------------------------------------------
3078
+ // VerneMQ
3079
+
3080
+ 'vernemq.sockets': {
3081
+ mainheads: [
3082
+ function (os, id) {
3083
+ void (os);
3084
+ return '<div data-netdata="' + id + '"'
3085
+ + ' data-dimensions="open_sockets"'
3086
+ + ' data-chart-library="gauge"'
3087
+ + ' data-title="Connected Clients"'
3088
+ + ' data-units="clients"'
3089
+ + ' data-gauge-adjust="width"'
3090
+ + ' data-width="16%"'
3091
+ + ' data-before="0"'
3092
+ + ' data-after="-CHART_DURATION"'
3093
+ + ' data-points="CHART_DURATION"'
3094
+ + ' data-colors="' + NETDATA.colors[4] + '"'
3095
+ + ' data-decimal-digits="2"'
3096
+ + ' role="application"></div>';
3097
+ }
3098
+ ]
3099
+ },
3100
+ 'vernemq.queue_processes': {
3101
+ mainheads: [
3102
+ function (os, id) {
3103
+ void (os);
3104
+ return '<div data-netdata="' + id + '"'
3105
+ + ' data-dimensions="queue_processes"'
3106
+ + ' data-chart-library="gauge"'
3107
+ + ' data-title="Queues Processes"'
3108
+ + ' data-units="processes"'
3109
+ + ' data-gauge-adjust="width"'
3110
+ + ' data-width="16%"'
3111
+ + ' data-before="0"'
3112
+ + ' data-after="-CHART_DURATION"'
3113
+ + ' data-points="CHART_DURATION"'
3114
+ + ' data-colors="' + NETDATA.colors[4] + '"'
3115
+ + ' data-decimal-digits="2"'
3116
+ + ' role="application"></div>';
3117
+ }
3118
+ ]
3119
+ },
3120
+ 'vernemq.queue_messages_in_queues': {
3121
+ mainheads: [
3122
+ function (os, id) {
3123
+ void (os);
3124
+ return '<div data-netdata="' + id + '"'
3125
+ + ' data-dimensions="queue_messages_current"'
3126
+ + ' data-chart-library="gauge"'
3127
+ + ' data-title="Messages in the Queues"'
3128
+ + ' data-units="messages"'
3129
+ + ' data-gauge-adjust="width"'
3130
+ + ' data-width="16%"'
3131
+ + ' data-before="0"'
3132
+ + ' data-after="-CHART_DURATION"'
3133
+ + ' data-points="CHART_DURATION"'
3134
+ + ' data-colors="' + NETDATA.colors[2] + '"'
3135
+ + ' data-decimal-digits="2"'
3136
+ + ' role="application"></div>';
3137
+ }
3138
+ ]
3139
+ },
3140
+ 'vernemq.queue_messages': {
3141
+ mainheads: [
3142
+ function (os, id) {
3143
+ void (os);
3144
+ return '<div data-netdata="' + id + '"'
3145
+ + ' data-dimensions="queue_message_in"'
3146
+ + ' data-chart-library="easypiechart"'
3147
+ + ' data-title="MQTT Recieve Rate"'
3148
+ + ' data-units="messages/s"'
3149
+ + ' data-gauge-adjust="width"'
3150
+ + ' data-width="14%"'
3151
+ + ' data-before="0"'
3152
+ + ' data-after="-CHART_DURATION"'
3153
+ + ' data-points="CHART_DURATION"'
3154
+ + ' data-colors="' + NETDATA.colors[0] + '"'
3155
+ + ' data-decimal-digits="2"'
3156
+ + ' role="application"></div>';
3157
+ },
3158
+ function (os, id) {
3159
+ void (os);
3160
+ return '<div data-netdata="' + id + '"'
3161
+ + ' data-dimensions="queue_message_out"'
3162
+ + ' data-chart-library="easypiechart"'
3163
+ + ' data-title="MQTT Send Rate"'
3164
+ + ' data-units="messages/s"'
3165
+ + ' data-gauge-adjust="width"'
3166
+ + ' data-width="14%"'
3167
+ + ' data-before="0"'
3168
+ + ' data-after="-CHART_DURATION"'
3169
+ + ' data-points="CHART_DURATION"'
3170
+ + ' data-colors="' + NETDATA.colors[1] + '"'
3171
+ + ' data-decimal-digits="2"'
3172
+ + ' role="application"></div>';
3173
+ },
3174
+ ]
3175
+ },
3176
+ 'vernemq.average_scheduler_utilization': {
3177
+ mainheads: [
3178
+ function (os, id) {
3179
+ void (os);
3180
+ return '<div data-netdata="' + id + '"'
3181
+ + ' data-dimensions="system_utilization"'
3182
+ + ' data-chart-library="gauge"'
3183
+ + ' data-gauge-max-value="100"'
3184
+ + ' data-title="Average Scheduler Utilization"'
3185
+ + ' data-units="percentage"'
3186
+ + ' data-gauge-adjust="width"'
3187
+ + ' data-width="16%"'
3188
+ + ' data-before="0"'
3189
+ + ' data-after="-CHART_DURATION"'
3190
+ + ' data-points="CHART_DURATION"'
3191
+ + ' data-colors="' + NETDATA.colors[3] + '"'
3192
+ + ' data-decimal-digits="2"'
3193
+ + ' role="application"></div>';
3194
+ }
3195
+ ]
3196
+ },
3197
};