-
Notifications
You must be signed in to change notification settings - Fork 0
/
d-link-des-1210-28-me-b3.yaml
2111 lines (2108 loc) · 87.8 KB
/
d-link-des-1210-28-me-b3.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
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
zabbix_export:
version: '6.4'
template_groups:
- uuid: 36bff6c29af64692839d077febfc7079
name: 'Templates/Network devices'
templates:
- uuid: b131e317c31441568bd1821889731748
template: 'D-Link DES-1210-28-ME B3'
name: 'D-Link DES-1210-28-ME B3'
description: |
Основано на "D-Link DES_DGS Switch v6.4"
- Добавлено закрытие триггера LinkDown, если интерфейс выключен вручную (по AdminStatus).
- Отключено EtherLike-MIB Discovery - кому сейчас нужна проверка дуплекса? Достаточно детекта снижения скорости на интерфейсе.
- Firmware Version заносим в inventory - Software
- из всех имён интерфейсных триггеров убрано ({#IFALIAS})
- добавлен мониторинг DDM
groups:
- name: 'Templates/Network devices'
items:
- uuid: 06f29930038740dbac3e35637d67cdbc
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 1w
valuemap:
name: 'Service state'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 0ad26d44de424fe6bb7b8a478f527c87
expression: 'max(/D-Link DES-1210-28-ME B3/icmpping,#3)=0'
name: 'Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
tags:
- tag: scope
value: availability
- uuid: 30dd16a457af4b3aacebc2a62c3480b3
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 1w
value_type: FLOAT
units: '%'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: e6506042e4254a319b0c892c485f4664
expression: 'min(/D-Link DES-1210-28-ME B3/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/D-Link DES-1210-28-ME B3/icmppingloss,5m)<100'
name: 'High ICMP ping loss'
opdata: 'Loss: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
- name: 'Unavailable by ICMP ping'
expression: 'max(/D-Link DES-1210-28-ME B3/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: 564faa205b7047909b0fec1606ff0a81
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
history: 1w
value_type: FLOAT
units: s
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: cf095e6f4e40404c9bcd074a3f56a8b5
expression: 'avg(/D-Link DES-1210-28-ME B3/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
name: 'High ICMP ping response time'
opdata: 'Value: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
- name: 'High ICMP ping loss'
expression: 'min(/D-Link DES-1210-28-ME B3/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/D-Link DES-1210-28-ME B3/icmppingloss,5m)<100'
- name: 'Unavailable by ICMP ping'
expression: 'max(/D-Link DES-1210-28-ME B3/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: a7f5ab363b6540849782d44a8e5aaf1b
name: 'SNMP traps (fallback)'
type: SNMP_TRAP
key: snmptrap.fallback
delay: '0'
history: 2w
trends: '0'
value_type: LOG
description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
- tag: component
value: network
- uuid: 6cf5c66ef6674c39936f718e8f30c533
name: 'System contact details'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.4.0
key: 'system.contact[sysContact.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
inventory_link: CONTACT
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
- uuid: 5770f2ae640c47279eb3880fcba695ed
name: 'CPU utilization'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.171.10.75.15.3.100.1.2.0
key: system.cpu.util
history: 30d
units: '%'
description: |
DES-1210-28ME-B3::agentCPUutilizationIn1min.0
The unit of time is 1 minute. The value will be between 0% (idle) and 100%(very busy).
tags:
- tag: component
value: cpu
triggers:
- uuid: 6e5620174d3543ce9ff0bbcb27620059
expression: 'min(/D-Link DES-1210-28-ME B3/system.cpu.util,5m)>{$CPU.UTIL.CRIT}'
name: 'High CPU utilization'
event_name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: AVERAGE
description: 'The CPU utilization is too high. The system might be slow to respond.'
tags:
- tag: scope
value: performance
- uuid: d668c5806fec466da461842344eeb60a
name: 'System description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.descr[sysDescr.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
A textual description of the entity. This value should
include the full name and version identification of the system's hardware type, software operating-system, and
networking software.
inventory_link: MODEL
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
triggers:
- uuid: 19ab3f326a044264881acb802d819c51
expression: 'last(/D-Link DES-1210-28-ME B3/system.descr[sysDescr.0])<>{$SYS.DESCR} and length(last(/D-Link DES-1210-28-ME B3/system.descr[sysDescr.0]))>0'
name: 'Wrong template attached to switch'
priority: INFO
- uuid: f888e82a0dcc47ddadbf17b072d2558b
name: 'Firmware version'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.16.19.2.0
key: system.hw.firmware
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: 'RMON2-MIB::probeSoftwareRev.0'
inventory_link: SOFTWARE
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
triggers:
- uuid: 353b956628b54d72b18b4983370ffaef
expression: 'last(/D-Link DES-1210-28-ME B3/system.hw.firmware,#1)<>last(/D-Link DES-1210-28-ME B3/system.hw.firmware,#2) and length(last(/D-Link DES-1210-28-ME B3/system.hw.firmware))>0'
name: 'Firmware has changed'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: INFO
description: 'Firmware version has changed. Acknowledge to close the problem manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 714a2f570613442fa7b73f57375fc1c8
name: 'Hardware serial number'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.171.10.75.15.3.1.30.0
key: system.hw.serialnumber
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
DES-1210-28ME-B3::sysSerialNumber.0
A text string containing the serial number of this device.
inventory_link: SERIALNO_A
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
triggers:
- uuid: 793b8c469cc245a487d75d5ea464a185
expression: 'last(/D-Link DES-1210-28-ME B3/system.hw.serialnumber,#1)<>last(/D-Link DES-1210-28-ME B3/system.hw.serialnumber,#2) and length(last(/D-Link DES-1210-28-ME B3/system.hw.serialnumber))>0'
name: 'Device has been replaced'
event_name: 'Device has been replaced (new serial number received)'
priority: INFO
description: 'Device serial number has changed. Acknowledge to close the problem manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 08abcd57b1004249b10b91942962b84f
name: 'Uptime (hardware)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.25.1.1.0
key: 'system.hw.uptime[hrSystemUptime.0]'
history: 2w
trends: '0'
units: uptime
description: |
MIB: HOST-RESOURCES-MIB
The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
preprocessing:
- type: CHECK_NOT_SUPPORTED
parameters:
- ''
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: MULTIPLIER
parameters:
- '0.01'
tags:
- tag: component
value: system
- uuid: 7154104267524c86a3cdbe4b87a0a498
name: 'Hardware version (revision)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.16.19.3.0
key: system.hw.version
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: 'RMON2-MIB::probeHardwareRev.0'
inventory_link: HARDWARE
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
- uuid: 0a56a4ea7f224e2190855f08e6d5853c
name: 'System location'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.6.0
key: 'system.location[sysLocation.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.
inventory_link: LOCATION
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
- uuid: d10573edbbbc4a19a25117cf5569f9b4
name: 'MAC address'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.17.1.1.0
key: system.mac.address
delay: 6h
trends: '0'
value_type: CHAR
description: 'BRIDGE-MIB::dot1dBaseBridgeAddress.0'
inventory_link: MACADDRESS_A
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: network
- uuid: 9bc48129e0844ac58e7af93ad5aa400e
name: 'Memory utilization'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.171.10.75.15.3.100.2.2.0
key: system.mem.util
history: 30d
units: '%'
description: 'DES-1210-28ME-B3::agentMEMutilizationIn1min.0'
tags:
- tag: component
value: memory
triggers:
- uuid: a2a9fb0eba6e4b4b8c7dc3bc4bffcdda
expression: 'min(/D-Link DES-1210-28-ME B3/system.mem.util,5m)>{$MEMORY.UTIL.MAX}'
name: 'High memory utilization'
event_name: 'High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
tags:
- tag: scope
value: capacity
- tag: scope
value: performance
- uuid: 02c57add065040c4bfcac2b785ad905d
name: 'System name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.5.0
key: system.name
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
inventory_link: NAME
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
triggers:
- uuid: 83f56573748845c9983bb8e7d8a60240
expression: 'last(/D-Link DES-1210-28-ME B3/system.name,#1)<>last(/D-Link DES-1210-28-ME B3/system.name,#2) and length(last(/D-Link DES-1210-28-ME B3/system.name))>0'
name: 'System name has changed'
event_name: 'System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'The name of the system has changed. Acknowledge to close the problem manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- tag: scope
value: security
- uuid: e7b22c0710ba49e499932fa71e9c8da2
name: 'Uptime (network)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.3.0
key: 'system.net.uptime[sysUpTime.0]'
history: 2w
trends: '0'
units: uptime
description: |
MIB: SNMPv2-MIB
The time (in hundredths of a second) since the network management portion of the system was last re-initialized.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.01'
tags:
- tag: component
value: system
- uuid: ec336c3b978b41a7ac7051e2b70f464b
name: 'System object ID'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.2.0
key: 'system.objectid[sysObjectID.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
- uuid: 880776c0fd8a423eaea2c24fbe787ada
name: 'SNMP agent availability'
type: INTERNAL
key: 'zabbix[host,snmp,available]'
history: 7d
description: |
Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
Possible value:
0 - not available
1 - available
2 - unknown
valuemap:
name: zabbix.host.available
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: e74192b897774438b2ec98c8446c606a
expression: 'max(/D-Link DES-1210-28-ME B3/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
name: 'No SNMP data collection'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
dependencies:
- name: 'Unavailable by ICMP ping'
expression: 'max(/D-Link DES-1210-28-ME B3/icmpping,#3)=0'
tags:
- tag: scope
value: availability
discovery_rules:
- uuid: 9b4c383eb76149acb0b26d650d865f6c
name: 'SFP discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SFPPORT},1.3.6.1.4.1.171.10.75.15.3.104.1.1.1,{#SFPCHK},1.3.6.1.2.1.31.1.1.1.18]'
key: dlink.sfp.discovery
delay: 12h
filter:
conditions:
- macro: '{#SFPCHK}'
value: '{$SFPCHK.MATCHES}'
formulaid: A
lifetime: 3d
description: 'Для включения этой проверки надо вписать в дескрипшен порта слово "spy". Подразумевается, что индекс ifAlias''а порта с этим словом и индекс порта с SFP совпадают. Если нет - нужно пересчитывать snmpindex.'
item_prototypes:
- uuid: 6f58e7bc2fcc42d8bbb3501446d5504d
name: 'SFP {#SFPPORT}: DDM bias current'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.2.1.1.1.4.{#SNMPINDEX}'
key: 'sfp[ddmBiasCurrent.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: mA
description: 'DES-1210-28ME-B3::ddmBiasCurrent'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: dc8a8cdae9804dc2a2083afa596343ca
name: 'SFP {#SFPPORT}: DDM RX power low warning threshold'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.1.3.1.6.{#SNMPINDEX}.4'
key: 'sfp[ddmLowWarnRX.{#SNMPINDEX}]'
delay: 2h
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B3::ddmLowWarning.{PORT}.rxPower'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '-40'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: e6a5c5e6c18f4d7bad83689c37d2c8d1
name: 'SFP {#SFPPORT}: DDM TX power low warning threshold'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.1.3.1.6.{#SNMPINDEX}.3'
key: 'sfp[ddmLowWarnTX.{#SNMPINDEX}]'
delay: 2h
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B3::ddmLowWarning.{PORT}.txPower'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '-40'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: 5e34cd29d620489981467c4ec3569d04
name: 'SFP {#SFPPORT}: DDM RX power'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.2.1.1.1.6.{#SNMPINDEX}'
key: 'sfp[ddmRxPower.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B3::ddmRxPower'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '-40'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: 79b6463a06f84fb0bfbf2da301507802
name: 'SFP {#SFPPORT}: DDM temperature'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.2.1.1.1.2.{#SNMPINDEX}'
key: 'sfp[ddmTemperature.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: C
description: 'DES-1210-28ME-B3::ddmTemperature'
preprocessing:
- type: STR_REPLACE
parameters:
- +
- ''
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: 8bf2d6bbf4c94583bae8070e5c78f71a
name: 'SFP {#SFPPORT}: DDM TX power'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.2.1.1.1.5.{#SNMPINDEX}'
key: 'sfp[ddmTxPower.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B3::ddmTxPower'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '-40'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: d2246024982f48cbbfc2accb57f04dcf
name: 'SFP {#SFPPORT}: DDM voltage'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.105.2.1.1.1.3.{#SNMPINDEX}'
key: 'sfp[ddmVoltage.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: V
description: 'DES-1210-28ME-B3::ddmVoltage'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: 692b1b71a59e4f708414d3ab757553f1
name: 'SFP {#SFPPORT}: SFP vendor P/N'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.104.1.1.7.{#SNMPINDEX}'
key: 'sfp[VendorPN.{#SNMPINDEX}]'
delay: 1h
trends: '0'
value_type: CHAR
description: 'DES-1210-28ME-B3::sfpVendorPn'
preprocessing:
- type: NOT_MATCHES_REGEX
parameters:
- (^Reading)
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
- uuid: a666e86626804c58b74a6cdfcd8a8d62
name: 'SFP {#SFPPORT}: SFP serial'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.3.104.1.1.10.{#SNMPINDEX}'
key: 'sfp[VendorSN.{#SNMPINDEX}]'
delay: 1h
trends: '0'
value_type: CHAR
description: 'DES-1210-28ME-B3::sfpVendorSn'
preprocessing:
- type: NOT_MATCHES_REGEX
parameters:
- (^Reading)
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
trigger_prototypes:
- uuid: 19b7b3de5be043838728d8fa2879be13
expression: 'last(/D-Link DES-1210-28-ME B3/sfp[VendorSN.{#SNMPINDEX}],#2)<>last(/D-Link DES-1210-28-ME B3/sfp[VendorSN.{#SNMPINDEX}],#1) and length(last(/D-Link DES-1210-28-ME B3/sfp[VendorSN.{#SNMPINDEX}],#1))>0 and length(last(/D-Link DES-1210-28-ME B3/sfp[VendorSN.{#SNMPINDEX}],#2))>0'
name: 'SFP {#SFPPORT}: module changed'
priority: INFO
manual_close: 'YES'
trigger_prototypes:
- uuid: 7c057a2fa2f8489c9ff6d2e907dfa613
expression: 'last(/D-Link DES-1210-28-ME B3/sfp[ddmRxPower.{#SNMPINDEX}])<=last(/D-Link DES-1210-28-ME B3/sfp[ddmLowWarnRX.{#SNMPINDEX}]) and nodata(/D-Link DES-1210-28-ME B3/sfp[ddmRxPower.{#SNMPINDEX}],12h)<>1 and last(/D-Link DES-1210-28-ME B3/sfp[ddmLowWarnRX.{#SNMPINDEX}])<>-40 and last(/D-Link DES-1210-28-ME B3/sfp[ddmRxPower.{#SNMPINDEX}])<>-40'
name: 'SFP {#SFPPORT}: RX level is less than Low Warning'
priority: WARNING
- uuid: 81761dcca2f34280a86794d9b3a1a906
name: 'FAN Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.171.12.11.1.7.1.2,{#STATUS},1.3.6.1.4.1.171.12.11.1.7.1.3]'
key: fan.discovery
delay: 12h
status: DISABLED
filter:
conditions:
- macro: '{#STATUS}'
value: '[^0]'
formulaid: A
description: 'swFanID of EQUIPMENT-MIB::swFanTable'
item_prototypes:
- uuid: eb990166f92c4c4cb98d161061c029ce
name: '#{#SNMPVALUE}: Fan status'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.12.11.1.7.1.3.{#SNMPINDEX}'
key: 'sensor.fan.status[swFanStatus.{#SNMPINDEX}]'
delay: 3m
history: 2w
trends: '0'
description: |
MIB: EQUIPMENT-MIB
Indicates the current fan status.
speed-0 : If the fan function is normal and the fan does not spin due to the temperature not reaching the threshold, the status of the fan is speed 0.
speed-low : Fan spin using the lowest speed.
speed-middle: Fan spin using the middle speed.
speed-high : Fan spin using the highest speed.
valuemap:
name: 'EQUIPMENT-MIB::swFanStatus'
tags:
- tag: component
value: fan
trigger_prototypes:
- uuid: 8185f2ad1313462b93493c447aff5d21
expression: 'count(/D-Link DES-1210-28-ME B3/sensor.fan.status[swFanStatus.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS}")=1'
name: '#{#SNMPVALUE}: Fan is in critical state'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: AVERAGE
description: 'Please check the fan unit'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: bb46dae23c884740bce7cb5e40b8a8e4
name: 'Memory Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.171.12.1.1.9.1.1]'
key: memory.discovery
delay: 12h
status: DISABLED
item_prototypes:
- uuid: 171eef709b4541ceb230d6942d693a61
name: '#{#SNMPVALUE}: Memory utilization'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.12.1.1.9.1.4.{#SNMPINDEX}'
key: 'vm.memory.util[agentDRAMutilization.{#SNMPINDEX}]'
history: 7d
value_type: FLOAT
units: '%'
description: |
MIB: DLINK-AGENT-MIB
The percentage of used DRAM memory of the total DRAM memory available.The value will be between 0%(idle) and 100%(very busy)
tags:
- tag: component
value: memory
trigger_prototypes:
- uuid: 497c50e33ec54e33a127ae20d066ac2f
expression: 'min(/D-Link DES-1210-28-ME B3/vm.memory.util[agentDRAMutilization.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
name: '#{#SNMPVALUE}: High memory utilization'
event_name: '#{#SNMPVALUE}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
description: 'The system is running out of free memory.'
tags:
- tag: scope
value: capacity
- tag: scope
value: performance
graph_prototypes:
- uuid: 32a674afdedb425aa910c9c1d14e92f1
name: '#{#SNMPVALUE}: Memory utilization'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 199C0D
item:
host: 'D-Link DES-1210-28-ME B3'
key: 'vm.memory.util[agentDRAMutilization.{#SNMPINDEX}]'
- uuid: cfed494932894088a7ff3cfb5116993f
name: 'Network interfaces discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]'
key: net.if.discovery
delay: 6h
filter:
evaltype: AND
conditions:
- macro: '{#IFADMINSTATUS}'
value: '{$NET.IF.IFADMINSTATUS.MATCHES}'
formulaid: A
- macro: '{#IFADMINSTATUS}'
value: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: B
- macro: '{#IFALIAS}'
value: '{$NET.IF.IFALIAS.MATCHES}'
formulaid: C
- macro: '{#IFALIAS}'
value: '{$NET.IF.IFALIAS.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: D
- macro: '{#IFDESCR}'
value: '{$NET.IF.IFDESCR.MATCHES}'
formulaid: E
- macro: '{#IFDESCR}'
value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: F
- macro: '{#IFNAME}'
value: '{$NET.IF.IFNAME.MATCHES}'
formulaid: G
- macro: '{#IFNAME}'
value: '{$NET.IF.IFNAME.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: H
- macro: '{#IFOPERSTATUS}'
value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
formulaid: I
- macro: '{#IFOPERSTATUS}'
value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: J
- macro: '{#IFTYPE}'
value: '{$NET.IF.IFTYPE.MATCHES}'
formulaid: K
- macro: '{#IFTYPE}'
value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: L
lifetime: 3d
description: 'Discovering interfaces from IF-MIB.'
item_prototypes:
- uuid: 73d0c921d9aa4ac08a70aef62c55cf4b
name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}'
key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
delay: 3m
history: 7d
description: |
MIB: IF-MIB
The number of inbound packets which were chosen to be discarded
even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
One possible reason for discarding such a packet could be to free up buffer space.
Discontinuities in the value of this counter can occur at re-initialization of the management system,
and at other times as indicated by the value of ifCounterDiscontinuityTime.
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: 1d4226236672454ab2be9580c41da5d5
name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}'
key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
delay: 3m
history: 7d
description: |
MIB: IF-MIB
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: 14a807f2aadc454b86b4693cb015be04
name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}'
key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
delay: 3m
history: 7d
units: bps
description: |
MIB: IF-MIB
The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: b26dcefe74a943a7bb45cf07c014f4e5
name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}'
key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
delay: 3m
history: 7d
description: |
MIB: IF-MIB
The number of outbound packets which were chosen to be discarded
even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
One possible reason for discarding such a packet could be to free up buffer space.
Discontinuities in the value of this counter can occur at re-initialization of the management system,
and at other times as indicated by the value of ifCounterDiscontinuityTime.
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: ba4f8d66709346759911970375a32acf
name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}'
key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
delay: 3m
history: 7d
description: |
MIB: IF-MIB
For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: faa5be85a2af463f8e63d04f0a4301ec
name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}'
key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
delay: 3m
history: 7d
units: bps
description: |
MIB: IF-MIB
The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: 9330f8faa2284969931a355615fbba67
name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}'
key: 'net.if.speed[ifHighSpeed.{#SNMPINDEX}]'
delay: 5m
history: 7d
trends: '0'
units: bps
description: |
MIB: IF-MIB
An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of `n' then the speed of the interface is somewhere in the range of `n-500,000' to`n+499,999'. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth. For a sub-layer which has no concept of bandwidth, this object should be zero.
preprocessing:
- type: MULTIPLIER
parameters:
- '1000000'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: 8bbeee8bf1e44dec99c5ea44b7728b9c
name: 'Interface {#IFNAME}({#IFALIAS}): Admin status'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.7.{#SNMPINDEX}'
key: 'net.if.status[ifAdminStatus.{#SNMPINDEX}]'
delay: 5m
trends: '0'
description: 'The desired state of the interface. The testing(3) state indicates that no operational packets can be passed. When a managed system initializes, all interfaces start with ifAdminStatus in the down(2) state. As a result of either explicit management action or per configuration information retained by the managed system, ifAdminStatus is then changed to either the up(1) or testing(3) states (or remains in the down(2) state)."'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: caebaf35c1df4909b0f7379ce1582b70
name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}'
key: 'net.if.status[ifOperStatus.{#SNMPINDEX}]'
history: 7d
trends: '0'
description: |
MIB: IF-MIB
The current operational state of the interface.
- The testing(3) state indicates that no operational packet scan be passed
- If ifAdminStatus is down(2) then ifOperStatus should be down(2)
- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.
valuemap:
name: 'IF-MIB::ifOperStatus'
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: 8ff8decadcd7429fb0b24eaa211db11c
name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}'
key: 'net.if.type[ifType.{#SNMPINDEX}]'
delay: 1h
history: 7d
trends: '0'
description: |
MIB: IF-MIB
The type of interface.
Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA),
through updating the syntax of the IANAifType textual convention.
valuemap: