-
Notifications
You must be signed in to change notification settings - Fork 0
/
d-link-des-1210-28-me-b2.yaml
2113 lines (2110 loc) · 88.2 KB
/
d-link-des-1210-28-me-b2.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: 75a9fc88ef0d4d60ac9bd0e517d3e850
template: 'D-Link DES-1210-28-ME B2'
name: 'D-Link DES-1210-28-ME B2'
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: 7db07c754566431b8af99a49cd38afab
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 1w
valuemap:
name: 'Service state'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 9c8e6e7ea41644e1a533e84c27e22f39
expression: 'max(/D-Link DES-1210-28-ME B2/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: 8cee2d7c30c44164af8dec1b0dd1a4d4
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 1w
value_type: FLOAT
units: '%'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 3ad032e1211c45e1b89555099b601cf2
expression: 'min(/D-Link DES-1210-28-ME B2/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/D-Link DES-1210-28-ME B2/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 B2/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: 5558ef0be3884599ad7952bc0703a75f
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: 2a090d1c3f064edcb30b05038511e34d
expression: 'avg(/D-Link DES-1210-28-ME B2/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 B2/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/D-Link DES-1210-28-ME B2/icmppingloss,5m)<100'
- name: 'Unavailable by ICMP ping'
expression: 'max(/D-Link DES-1210-28-ME B2/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: e49089f1478c4352b931f338230637d7
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: f19abe373603454d8174f86054cf3d94
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: f6c974ed5e4d4cae9e10d24c378b0d87
name: 'CPU utilization'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.171.10.75.15.2.100.1.2.0
key: system.cpu.util
history: 30d
units: '%'
description: |
DES-1210-28ME-B2::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: 0546433328274a8488363e04151ad65d
expression: 'min(/D-Link DES-1210-28-ME B2/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: 843d96fbf9a244be918a895b9ac66fa9
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: 8080d80e75474402be8f405847c3138c
expression: 'last(/D-Link DES-1210-28-ME B2/system.descr[sysDescr.0])<>{$SYS.DESCR} and length(last(/D-Link DES-1210-28-ME B2/system.descr[sysDescr.0]))>0'
name: 'Wrong template attached to switch'
priority: INFO
- uuid: 3775d349769e49649dc2e2bb979a217f
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: 1a53cf9297b24e42b988da77a76af123
expression: 'last(/D-Link DES-1210-28-ME B2/system.hw.firmware,#1)<>last(/D-Link DES-1210-28-ME B2/system.hw.firmware,#2) and length(last(/D-Link DES-1210-28-ME B2/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: 1bd06a3e97914e99be2820ad8fdf76e2
name: 'Hardware serial number'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.171.10.75.15.2.1.30.0
key: system.hw.serialnumber
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
DES-1210-28ME-B2::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: 0ac2885eee9a4dd1b236bc108b44aa2f
expression: 'last(/D-Link DES-1210-28-ME B2/system.hw.serialnumber,#1)<>last(/D-Link DES-1210-28-ME B2/system.hw.serialnumber,#2) and length(last(/D-Link DES-1210-28-ME B2/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: dcb102dd7890444fac4413db5dc04e7e
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: c0ae37c364d34245920ce87a4ee785cf
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: 7d0896202edf4264afe13117ec6ed433
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: b680b7667bfd45f4b9c8620002b25892
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: 753f3ea5938d448c99c3ebe7d60ad81f
name: 'Memory utilization'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.171.10.75.15.2.100.2.2.0
key: system.mem.util
history: 30d
units: '%'
description: 'DES-1210-28ME-B2::agentMEMutilizationIn1min.0'
tags:
- tag: component
value: memory
triggers:
- uuid: 9ebd694252c349e89b703f84be7b06a0
expression: 'min(/D-Link DES-1210-28-ME B2/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: 43a447581aab4108b793561f9b179838
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: b68d540040c1407897183c9d1979ba11
expression: 'last(/D-Link DES-1210-28-ME B2/system.name,#1)<>last(/D-Link DES-1210-28-ME B2/system.name,#2) and length(last(/D-Link DES-1210-28-ME B2/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: 17c0f6bc568440d3873d5b0117ad12d8
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: 7cb7048377314d63bd689fd278c30c50
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: 4ea2cb4bbf5246bb84ca79c9f1d37907
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: ec8f5d438eba49ada3b40d5b3f1b90f5
expression: 'max(/D-Link DES-1210-28-ME B2/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 B2/icmpping,#3)=0'
tags:
- tag: scope
value: availability
discovery_rules:
- uuid: 4c15f2487e76443082a23b6ed9b4d873
name: 'SFP discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SFPPORT},1.3.6.1.4.1.171.10.75.15.2.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: bb93239a54f64e3d81fa52e19421b0d8
name: 'SFP {#SFPPORT}: DDM bias current'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.2.1.1.1.4.{#SNMPINDEX}'
key: 'sfp[ddmBiasCurrent.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: mA
description: 'DES-1210-28ME-B2::ddmBiasCurrent'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: fe68d55b02ee4be6b452af6b717ca58b
name: 'SFP {#SFPPORT}: DDM RX power low warning threshold'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.1.3.1.6.{#SNMPINDEX}.4'
key: 'sfp[ddmLowWarnRX.{#SNMPINDEX}]'
delay: 2h
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B2::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: a2f6ee6bc3b7474d8da1477d3beefe83
name: 'SFP {#SFPPORT}: DDM TX power low warning threshold'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.1.3.1.6.{#SNMPINDEX}.3'
key: 'sfp[ddmLowWarnTX.{#SNMPINDEX}]'
delay: 2h
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B2::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: 69720264b08e49e0adfb9ef8ea4ef94d
name: 'SFP {#SFPPORT}: DDM RX power'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.2.1.1.1.6.{#SNMPINDEX}'
key: 'sfp[ddmRxPower.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B2::ddmRxPower'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '-40'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: f1faaab0b8654ec2923b619be8a1b399
name: 'SFP {#SFPPORT}: DDM temperature'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.2.1.1.1.2.{#SNMPINDEX}'
key: 'sfp[ddmTemperature.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: C
description: 'DES-1210-28ME-B2::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: 62d8a76de1e446328c47730363b1059e
name: 'SFP {#SFPPORT}: DDM TX power'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.2.1.1.1.5.{#SNMPINDEX}'
key: 'sfp[ddmTxPower.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: dBm
description: 'DES-1210-28ME-B2::ddmTxPower'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '-40'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: cbb7219e4f4c444f93636bc6be777349
name: 'SFP {#SFPPORT}: DDM voltage'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.105.2.1.1.1.3.{#SNMPINDEX}'
key: 'sfp[ddmVoltage.{#SNMPINDEX}]'
delay: 10m
value_type: FLOAT
units: V
description: 'DES-1210-28ME-B2::ddmVoltage'
preprocessing:
- type: MATCHES_REGEX
parameters:
- '[-]?[0-9.]+'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
- uuid: 5cdcb93697e144b88a97b9ec452b9289
name: 'SFP {#SFPPORT}: SFP vendor P/N'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.104.1.1.7.{#SNMPINDEX}'
key: 'sfp[VendorPN.{#SNMPINDEX}]'
delay: 1h
trends: '0'
value_type: CHAR
description: 'DES-1210-28ME-B2::sfpVendorPn'
preprocessing:
- type: NOT_MATCHES_REGEX
parameters:
- (^Reading)
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
- uuid: 24303fa3599c41b0bdbd073f1278a303
name: 'SFP {#SFPPORT}: SFP serial'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.171.10.75.15.2.104.1.1.10.{#SNMPINDEX}'
key: 'sfp[VendorSN.{#SNMPINDEX}]'
delay: 1h
trends: '0'
value_type: CHAR
description: 'DES-1210-28ME-B2::sfpVendorSn'
preprocessing:
- type: NOT_MATCHES_REGEX
parameters:
- (^Reading)
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
trigger_prototypes:
- uuid: 443e17270a8d4cdaab206c3ad35493c5
expression: 'last(/D-Link DES-1210-28-ME B2/sfp[VendorSN.{#SNMPINDEX}],#2)<>last(/D-Link DES-1210-28-ME B2/sfp[VendorSN.{#SNMPINDEX}],#1) and length(last(/D-Link DES-1210-28-ME B2/sfp[VendorSN.{#SNMPINDEX}],#1))>0 and length(last(/D-Link DES-1210-28-ME B2/sfp[VendorSN.{#SNMPINDEX}],#2))>0'
name: 'SFP {#SFPPORT}: module changed'
priority: INFO
manual_close: 'YES'
trigger_prototypes:
- uuid: 58151f7917a2467f867186c773473db7
expression: 'last(/D-Link DES-1210-28-ME B2/sfp[ddmRxPower.{#SNMPINDEX}])<=last(/D-Link DES-1210-28-ME B2/sfp[ddmLowWarnRX.{#SNMPINDEX}]) and nodata(/D-Link DES-1210-28-ME B2/sfp[ddmRxPower.{#SNMPINDEX}],12h)<>1 and last(/D-Link DES-1210-28-ME B2/sfp[ddmLowWarnRX.{#SNMPINDEX}])<>-40 and last(/D-Link DES-1210-28-ME B2/sfp[ddmRxPower.{#SNMPINDEX}])<>-40'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'last(/D-Link DES-1210-28-ME B2/sfp[ddmRxPower.{#SNMPINDEX}])-2>=last(/D-Link DES-1210-28-ME B2/sfp[ddmLowWarnRX.{#SNMPINDEX}]) and nodata(/D-Link DES-1210-28-ME B2/sfp[ddmRxPower.{#SNMPINDEX}],12h)<>1 and last(/D-Link DES-1210-28-ME B2/sfp[ddmLowWarnRX.{#SNMPINDEX}])<>-40'
name: 'SFP {#SFPPORT}: RX level is less than Low Warning'
priority: WARNING
- uuid: 2cd104c9cffa446a86314580e7f381dd
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: 00ed8b3847fd45d6a4133675d3ccef5e
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: 96e782dcaee3447aa1ce57414dfae640
expression: 'count(/D-Link DES-1210-28-ME B2/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: 67c66af76de844c5bb950143a00276b7
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: 8bec5e4219bb4052afc493475543d7a1
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: cc32bf2a1256467eb26be6ceb3e09875
expression: 'min(/D-Link DES-1210-28-ME B2/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: 9acc58d108ff482badcfa2860171c8dc
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 B2'
key: 'vm.memory.util[agentDRAMutilization.{#SNMPINDEX}]'
- uuid: 6c48da9627a24ea3898caac1811dc1d7
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: eeadfaff9e164213aee1574641a128cd
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: 8bc8897b9c75478d85c77db3129c76a1
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: 135214927b9b4b57892283440b63c061
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: 1b4e5d317b6d40d58d2a92cbdff9099f
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: 6837c152999f42798fdc5dc9d82d3991
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: 940e43e90d194969a55c31fa7f5875da
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: 8d708f778ac24686846a26b0844521a0
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: ebd371bb93d64fda9e1e8e731453aec5
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: 395164767a3a40eb9f7683e8fb3c6d08
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: b64976fd353e4319b3cb698164c4c6bd
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),