forked from zabbix/community-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template_emq_(mqtt).yaml
675 lines (668 loc) · 17.8 KB
/
template_emq_(mqtt).yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
zabbix_export:
version: '5.4'
date: '2021-11-21T21:34:05Z'
groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
-
uuid: 413d544848894d92a6ab04813af334c0
template: 'App EMQTT Service'
name: 'App EMQTT Service'
description: |
## Overview
See <https://github.com/viniciusbo/zabbix-emqtt> for instructions.
## Author
Vinícius Borriello
groups:
-
name: Templates
items:
-
uuid: fd9d46a3e9be41af9b5e49c640808cd1
name: 'EMQTT External Check'
type: EXTERNAL
key: 'emqtt.sh["{HOST.CONN}", "{$EMQTT_API_USER}", "{$EMQTT_API_PASS}", "{$EMQTT_HOST}"]'
delay: '30'
trends: '0'
value_type: TEXT
tags:
-
tag: Application
value: EMQTT
-
uuid: fccbdd5125154a3ca9df616f209573e5
name: 'MQTT Bytes Received'
type: TRAP
key: 'emqtt[bytes/received]'
delay: '0'
value_type: FLOAT
units: B
tags:
-
tag: Application
value: EMQTT
triggers:
-
uuid: 5b8f4a1ec9fc47948ede39b1fe426438
expression: 'nodata(/App EMQTT Service/emqtt[bytes/received],5m)=1'
name: 'MQTT service is not reachable'
priority: HIGH
-
uuid: 537a459de2a94454af96745c66c7a390
name: 'MQTT Bytes Sent'
type: TRAP
key: 'emqtt[bytes/sent]'
delay: '0'
value_type: FLOAT
units: B
tags:
-
tag: Application
value: EMQTT
-
uuid: dc9212095f5344198240a84d85345e9f
name: 'MQTT Clients Count'
type: TRAP
key: 'emqtt[clients/count]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 7c1f9341fbed41a0a7242eb772fd13e6
name: 'MQTT Clients Max'
type: TRAP
key: 'emqtt[clients/max]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: d834ca5a26db4cfb8c6f7d8b4827b239
name: 'MQTT Messages Dropped'
type: TRAP
key: 'emqtt[messages/dropped]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: a030e16110fa49f187e366abad1adc55
name: 'MQTT Messages QoS 0 Received'
type: TRAP
key: 'emqtt[messages/qos0/received]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 7eab65d3672f468ab4c9a52e3d00cd2a
name: 'MQTT Messages QoS 0 Sent'
type: TRAP
key: 'emqtt[messages/qos0/sent]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 4e17f19ceca346b69ffb46a449e8cb58
name: 'MQTT Messages QoS 1 Received'
type: TRAP
key: 'emqtt[messages/qos1/received]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 09d47a6c72fc484b889a8175f5a87556
name: 'MQTT Messages QoS 1 Sent'
type: TRAP
key: 'emqtt[messages/qos1/sent]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: e29270528b38453480b7de90ed83a523
name: 'MQTT Messages QoS 2 Dropped'
type: TRAP
key: 'emqtt[messages/qos2/dropped]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 7f8b2f78c2d64776a53c8c29eef2c583
name: 'MQTT Messages QoS 2 Received'
type: TRAP
key: 'emqtt[messages/qos2/received]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: ea66213ef14e41fd9ba949d9a9d6ee21
name: 'MQTT Messages QoS 2 Sent'
type: TRAP
key: 'emqtt[messages/qos2/sent]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 9e9d1a6a45bb4077b155e4012c9b650c
name: 'MQTT Messages Received'
type: TRAP
key: 'emqtt[messages/received]'
delay: '0'
value_type: FLOAT
tags:
-
tag: Application
value: EMQTT
-
uuid: 004e97696b2b42bea97dcfbcb8ef10ab
name: 'MQTT Messages Retained'
type: TRAP
key: 'emqtt[messages/retained]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 5a161c5ef2934f97887d0ab6afbefea1
name: 'MQTT Messages Sent'
type: TRAP
key: 'emqtt[messages/sent]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 71a9c7f2b97c4f889922f3c930804769
name: 'MQTT Packets CONNACK'
type: TRAP
key: 'emqtt[packets/connack]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: b7879b741b324545b6c544c844bdbc47
name: 'MQTT Packets Connect'
type: TRAP
key: 'emqtt[packets/connect]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: dc82c8bcbeab420c9dd895b1d1bd40cc
name: 'MQTT Packets Disconnect'
type: TRAP
key: 'emqtt[packets/disconnect]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 270eed5a2f614e4483b18bd91f570576
name: 'MQTT Packets PINGREC'
type: TRAP
key: 'emqtt[packets/pingreq]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 1ca0b2011498404f8fd966639959b4b5
name: 'MQTT Packets PINGRESP'
type: TRAP
key: 'emqtt[packets/pingresp]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 3ea3111cbea940498a8c30b888efac6c
name: 'MQTT Packets PUBREL Missed'
type: TRAP
key: 'emqtt[packets/puback/missed]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: d0fe1f06dd924edca1c0da6a5c6d8598
name: 'MQTT Packets PUBACK Received'
type: TRAP
key: 'emqtt[packets/puback/received]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: f0c1e6fc4ad2480f91f7b81bbbe5735a
name: 'MQTT Packets PUBACK Sent'
type: TRAP
key: 'emqtt[packets/puback/sent]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 1c735c295aa64f3aba86e4263405c7c2
name: 'MQTT Packets PUBCOMP Missed'
type: TRAP
key: 'emqtt[packets/pubcomp/missed]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 90a60325ac4c4ac4b666c8e098699aed
name: 'MQTT Packets PUBCOMP Received'
type: TRAP
key: 'emqtt[packets/pubcomp/received]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 9ea75994a3bf40d0aa872e8fb0df4810
name: 'MQTT Packets PUBCOMP Sent'
type: TRAP
key: 'emqtt[packets/pubcomp/sent]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 04145a71b8254c28a184e7263c072e26
name: 'MQTT Packets Publish Received'
type: TRAP
key: 'emqtt[packets/publish/received]'
delay: '0'
value_type: FLOAT
tags:
-
tag: Application
value: EMQTT
-
uuid: 3e0206fcff0540a7b0380d720284e00b
name: 'MQTT Packets Publish Sent'
type: TRAP
key: 'emqtt[packets/publish/sent]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 3f37502a08ca4d6bbcb51b45648b0dd9
name: 'MQTT PUBREC Missed'
type: TRAP
key: 'emqtt[packets/pubrec/missed]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 09feb2c343ff49ebb655d02c425cc081
name: 'MQTT Packets PUBREC Received'
type: TRAP
key: 'emqtt[packets/pubrec/received]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 94322ff6ab7c4739849aafffb47f8e3b
name: 'MQTT Packets PUBREC Sent'
type: TRAP
key: 'emqtt[packets/pubrec/sent]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 4f30f184b6d8440d920678017b8a47fb
name: 'MQTT Packets PUBREL Received'
type: TRAP
key: 'emqtt[packets/pubrel/received]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 0985152923aa4f35a2384de86a131e7e
name: 'MQTT Packets PUBREL Sent'
type: TRAP
key: 'emqtt[packets/pubrel/sent]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: ef44555719d84de692ebb650502ae186
name: 'MQTT Packets Received'
type: TRAP
key: 'emqtt[packets/received]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 3b268c82da58412fa7e738a51e2039e1
name: 'MQTT Packets Sent'
type: TRAP
key: 'emqtt[packets/sent]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 6ef99dc5a654498d82c1d77f01be1270
name: 'MQTT Packets SUBACK'
type: TRAP
key: 'emqtt[packets/suback]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 5d3c6f56f93943edbead3be5ad43843c
name: 'MQTT Packets Subscribe'
type: TRAP
key: 'emqtt[packets/subscribe]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 30e54c9be2b94991b265da4ae9a8867d
name: 'MQTT Packets UNSUBACK'
type: TRAP
key: 'emqtt[packets/unsuback]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 6a8541c9f64946f59053b9596630ae50
name: 'MQTT Packets Unsubscribe'
type: TRAP
key: 'emqtt[packets/unsubscribe]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 48fd7fe43f8240bf804fbd21200b8023
name: 'MQTT Retained Count'
type: TRAP
key: 'emqtt[retained/count]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 08d862930aa34dfe8d9629d52e657c12
name: 'MQTT Retained Max'
type: TRAP
key: 'emqtt[retained/max]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 000848ebf05947c3a36d4c7415c00d35
name: 'MQTT Routes Count'
type: TRAP
key: 'emqtt[routes/count]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 27bf7a6fb7eb4598be6c8f7dd1a0ac39
name: 'MQTT Routes Max'
type: TRAP
key: 'emqtt[routes/max]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 6ba7a8da343c465ab9815ffdff06f234
name: 'MQTT Sessions Count'
type: TRAP
key: 'emqtt[sessions/count]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 4a9dfd49a2cf4595a8543162d19cdb6c
name: 'MQTT Sessions Max'
type: TRAP
key: 'emqtt[sessions/max]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: a947d16b08a9449cbf35757cde87c946
name: 'MQTT Subscribers Count'
type: TRAP
key: 'emqtt[subscribers/count]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 80c8746a3e0f4e28baeee7afe612b836
name: 'MQTT Subscribers Max'
type: TRAP
key: 'emqtt[subscribers/max]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 1df8a1bcab4e441584799540dd780da0
name: 'MQTT Subscriptions Count'
type: TRAP
key: 'emqtt[subscriptions/count]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 6e3ce2f2e4474300b0a00b4f25f6003a
name: 'MQTT Subscriptions Max'
type: TRAP
key: 'emqtt[subscriptions/max]'
delay: '0'
tags:
-
tag: Application
value: EMQTT
-
uuid: 143546ecdb174eebba07174b53ee6edb
name: 'MQTT Topics Max'
type: TRAP
key: 'emqtt[topics/max]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
-
uuid: 7b9c3fd082444c79a50856e73a5722b7
name: 'MQTT Topics Count'
type: TRAP
key: 'mqtt[topics/count]'
delay: '0'
status: DISABLED
tags:
-
tag: Application
value: EMQTT
graphs:
-
uuid: e52ac00e055c4a46b1deb4c95a034666
name: 'EMQTT Clients'
graph_items:
-
color: CCCC00
item:
host: 'App EMQTT Service'
key: 'emqtt[clients/max]'
-
sortorder: '1'
color: 00CC00
item:
host: 'App EMQTT Service'
key: 'emqtt[clients/count]'
-
uuid: 19486acceca54abe91f849c9e104d4ad
name: 'EMQTT Messages QoS 2'
show_triggers: 'NO'
graph_items:
-
color: 00CC00
item:
host: 'App EMQTT Service'
key: 'emqtt[messages/qos2/received]'
-
sortorder: '1'
color: DDDD00
item:
host: 'App EMQTT Service'
key: 'emqtt[messages/qos2/sent]'
-
sortorder: '2'
color: DD0000
item:
host: 'App EMQTT Service'
key: 'emqtt[messages/qos2/dropped]'
-
uuid: 74c4df6b74d4424b83b1db0a29496544
name: 'EMQTT Packets'
graph_items:
-
color: EEEE00
item:
host: 'App EMQTT Service'
key: 'emqtt[packets/publish/received]'
-
sortorder: '1'
color: 00CC00
item:
host: 'App EMQTT Service'
key: 'emqtt[packets/publish/sent]'
-
sortorder: '2'
color: 2774A4
item:
host: 'App EMQTT Service'
key: 'emqtt[packets/connect]'
-
sortorder: '3'
color: A54F10
item:
host: 'App EMQTT Service'
key: 'emqtt[packets/subscribe]'
-
sortorder: '4'
color: FC6EA3
item:
host: 'App EMQTT Service'
key: 'emqtt[packets/unsubscribe]'
-
uuid: 3f833df236f74b05a6bc0727f6fbfd3b
name: 'EMQTT Traffic Counts'
graph_items:
-
color: DD0000
item:
host: 'App EMQTT Service'
key: 'emqtt[bytes/received]'
-
sortorder: '1'
color: 00CC00
item:
host: 'App EMQTT Service'
key: 'emqtt[bytes/sent]'