-
Notifications
You must be signed in to change notification settings - Fork 0
/
eltex-smg1016m.yaml
1984 lines (1981 loc) · 77.1 KB
/
eltex-smg1016m.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: 1d12408342854fd5a4436dd6d5d1bd4a
name: Templates/Telephony
templates:
- uuid: 8248272de22045748489599f2a9374a4
template: 'Eltex SMG1016m'
name: 'Eltex SMG1016m'
groups:
- name: Templates/Telephony
items:
- uuid: b1d119e85bda4010afdbbbebc90d8d73
name: 'Active Call Count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.42.1.0
key: ELTEX-SMG.activeCallCount.0
- uuid: 026a301e4faa4628871409da9b70aa74
name: 'CPU Usage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.37.1.9.1
key: ELTEX-SMG.cpuUsage.1
history: 30d
value_type: FLOAT
triggers:
- uuid: 3d233726b62849df8c4841fff58a15b7
expression: 'last(/Eltex SMG1016m/ELTEX-SMG.cpuUsage.1)>50'
name: 'Eltex SMG: High CPU usage'
priority: AVERAGE
- uuid: 0fc17759e1d746f3ae7a1291dcadf632
name: 'Registration Count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.42.2.0
key: ELTEX-SMG.registrationCount.0
triggers:
- uuid: 933c2eb1875e4597aa2966f3fa5dea59
expression: 'last(/Eltex SMG1016m/ELTEX-SMG.registrationCount.0)<{$SIP.REGISTER.MIN}'
name: 'Too few registered phones'
priority: WARNING
- uuid: 2c1aa22f837e441ebefca01d9deb6857
name: Model
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.48.0
key: ELTEX-SMG.smgDevModel.0
delay: 6h
trends: '0'
value_type: CHAR
inventory_link: MODEL
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 24h
- uuid: a317092ee7824ec7886e803e62ad72b2
name: 'Fan sensor 0'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.35.3.0
key: ELTEX-SMG.smgFan0.0
delay: 5m
units: rpm
- uuid: 0f066d3f9aa442d396b929e0423bdf13
name: 'Fan sensor 1'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.35.4.0
key: ELTEX-SMG.smgFan1.0
delay: 5m
units: rpm
- uuid: 12e661949e4445878b38038f2ba16448
name: 'Fan sensor 2'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.35.5.0
key: ELTEX-SMG.smgFan2.0
delay: 5m
status: DISABLED
units: rpm
description: 'только для модели SMG2016'
- uuid: e1f4f7a256bd42009c297ac7a6b04f1e
name: 'Fan sensor 3'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.35.6.0
key: ELTEX-SMG.smgFan3.0
delay: 5m
status: DISABLED
units: rpm
description: 'только для модели SMG2016'
- uuid: 19ca168e676e4d428d042017cd4f8a0e
name: 'Free memory'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.33.0
key: ELTEX-SMG.smgFreeRam.0
delay: 5m
units: kB
- uuid: f98b0d5c86b048c283255326c783a3f7
name: 'Free disk space'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.32.0
key: ELTEX-SMG.smgFreeSpace.0
delay: 5m
value_type: FLOAT
units: MB
- uuid: 88937e4476ef4e7787266b87d610cd64
name: 'Firmware Version'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.3.0
key: ELTEX-SMG.smgFwVersion.0
delay: 6h
trends: '0'
value_type: CHAR
inventory_link: SOFTWARE
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 24h
- uuid: f9ef8d3082eb49fb8131f1907f8cc3ee
name: 'Temperature sensor 1'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.35.1.0
key: ELTEX-SMG.smgTemperature1.0
delay: 5m
value_type: FLOAT
units: C
- uuid: fccb392309f14659985fe2bfeb6b5463
name: 'Temperature sensor 2'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.1.29.35.2.0
key: ELTEX-SMG.smgTemperature2.0
delay: 5m
value_type: FLOAT
units: C
- uuid: 221e3aeb419a499bb6b1253a262cf042
name: 'Serial Number'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.4.3.0
key: ELTEX-SMI-ACTUAL.eltexLtd.4.3.0
delay: 6h
trends: '0'
value_type: CHAR
inventory_link: SERIALNO_A
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 24h
- uuid: 6c769abbed1f4f9e87ab5bdc5563737d
name: 'Firmware OS Version'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.35265.4.5.0
key: ELTEX-SMI-ACTUAL.eltexLtd.4.5.0
delay: 6h
trends: '0'
value_type: CHAR
inventory_link: OS
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 24h
- uuid: 068d64ce29d2454d8a5128489e861594
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 7d
valuemap:
name: 'Service state'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 0eac4cb7411d4bfd908f789b2f199d06
expression: 'max(/Eltex SMG1016m/icmpping,#3)=0'
name: 'Eltex SMG: Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
tags:
- tag: scope
value: availability
- uuid: ad647cdd730e4f968044664f781529b1
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 7d
value_type: FLOAT
units: '%'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: fadaff3f6fd74812b6bad9c131026981
expression: 'min(/Eltex SMG1016m/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Eltex SMG1016m/icmppingloss,5m)<100'
name: 'Eltex SMG: High ICMP ping loss'
opdata: 'Loss: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
- name: 'Eltex SMG: Unavailable by ICMP ping'
expression: 'max(/Eltex SMG1016m/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: 632e631b8e654603a3c708ff18f7ffdf
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
history: 7d
value_type: FLOAT
units: s
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 91b53de4fabf403f96722299a7f469a8
expression: 'avg(/Eltex SMG1016m/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
name: 'Eltex SMG: High ICMP ping response time'
opdata: 'Value: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
- name: 'Eltex SMG: High ICMP ping loss'
expression: 'min(/Eltex SMG1016m/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Eltex SMG1016m/icmppingloss,5m)<100'
- name: 'Eltex SMG: Unavailable by ICMP ping'
expression: 'max(/Eltex SMG1016m/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: ceb927700c504f0da633d0590b6b7a55
name: 'SNMP traps (fallback)'
type: SNMP_TRAP
key: snmptrap.fallback
delay: '0'
history: 7d
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: b42d4619c56e45bbb9bed2aa099d8a49
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: 7d
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: 15ff852eae994cd290b3ad316b9ccc30
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: 7d
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.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
- uuid: 7771e91eaf2f46bfa99c23322c3ac385
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: 7d
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: 5673ada5d8bc4b408dcbba591bd8fb35
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: 7d
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: 4f82f6ac2ca04b88af512cc354f71386
name: 'System name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.5.0
key: system.name
delay: 15m
history: 7d
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: 6636f35b7a8441c08abb28af4a6d0aa4
expression: 'last(/Eltex SMG1016m/system.name,#1)<>last(/Eltex SMG1016m/system.name,#2) and length(last(/Eltex SMG1016m/system.name))>0'
name: 'Eltex SMG: System name has changed'
event_name: 'Eltex SMG: 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: b4c815a0c58a40b6a5938db437224d81
name: 'Uptime (network)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.3.0
key: 'system.net.uptime[sysUpTime.0]'
history: 7d
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: 20111c55fc124acbaca1d1954507201a
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: 7d
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: feb771788a7545a6ad1a4e76714a73dc
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: 88eaba25b187487094a5700c566283d5
expression: 'max(/Eltex SMG1016m/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
name: 'Eltex SMG: 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: 'Eltex SMG: Unavailable by ICMP ping'
expression: 'max(/Eltex SMG1016m/icmpping,#3)=0'
tags:
- tag: scope
value: availability
discovery_rules:
- uuid: 576caff0fc2f4f25aa365182af7a65a1
name: 'E1 interfaces discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#INFOPHYSTATE},1.3.6.1.4.1.35265.1.29.7.1.2,{#STATEALARM},1.3.6.1.4.1.35265.1.29.7.1.5,{#STATEPHYWORK},1.3.6.1.4.1.35265.1.29.7.1.6,{#LINKSTATE},1.3.6.1.4.1.35265.1.29.7.1.7,{#LINENAME},1.3.6.1.4.1.35265.1.29.7.1.23]'
key: eone.if.discovery
delay: 2h
filter:
evaltype: AND
conditions:
- macro: '{#LINENAME}'
value: '{$E1.LINENAME.MATCHES}'
formulaid: A
- macro: '{#LINENAME}'
value: '{$E1.LINENAME.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: B
item_prototypes:
- uuid: 6c472b0575864a24a889484976e74389
name: 'E1line {#LINENAME}: Bit error rate counter (BER)'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.12.{#SNMPINDEX}'
key: 'eOne[BERCount.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: cdd1f2ee490544d1bd6bc8d76e96aa88
name: 'E1line {#LINENAME}: CRC4 error counter (CEC)'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.14.{#SNMPINDEX}'
key: 'eOne[CEC.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: 3852053681e44b82a6f5d2274383eea0
name: 'E1line {#LINENAME}: Code violation counter (CVC)'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.13.{#SNMPINDEX}'
key: 'eOne[CVC.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: af80aa331ca946d6ad778eea6e264ea9
name: 'E1line {#LINENAME}: Info: Phy state'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.2.{#SNMPINDEX}'
key: 'eOne[InfoPhyState.{#SNMPINDEX}]'
valuemap:
name: SMGEOnePhyState
trigger_prototypes:
- uuid: 7fb413ac30d440cfba4a05f3a3316005
expression: 'last(/Eltex SMG1016m/eOne[InfoPhyState.{#SNMPINDEX}])<>6'
name: 'E1line {#LINENAME}: Info phy state is not "work"'
opdata: '{ITEM.LASTVALUE1}'
priority: WARNING
manual_close: 'YES'
- uuid: c5d8c33f9b1040ada2996bc077ee1380
name: 'E1line {#LINENAME}: Line state: Alarm'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.5.{#SNMPINDEX}'
key: 'eOne[LineStateAlarm.{#SNMPINDEX}]'
valuemap:
name: SMGStateAlarm
trigger_prototypes:
- uuid: 27b9165b4022436bae1f9330924d6a74
expression: 'last(/Eltex SMG1016m/eOne[LineStateAlarm.{#SNMPINDEX}],#1)<>last(/Eltex SMG1016m/eOne[LineStateAlarm.{#SNMPINDEX}],#2)'
name: 'E1line {#LINENAME}: Alarm status changed'
opdata: '{ITEM.LASTVALUE1}'
priority: AVERAGE
manual_close: 'YES'
- uuid: f5a14a7d6f3c46b19b47ef2a9516541f
name: 'E1line {#LINENAME}: Logical link state'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.7.{#SNMPINDEX}'
key: 'eOne[LinkState.{#SNMPINDEX}]'
valuemap:
name: SMGWork
trigger_prototypes:
- uuid: 99c459777b7745fa8d01a63fdfa95404
expression: 'last(/Eltex SMG1016m/eOne[LinkState.{#SNMPINDEX}])<>1'
name: 'E1line {#LINENAME}: Link down'
opdata: '{ITEM.LASTVALUE1}'
priority: AVERAGE
manual_close: 'YES'
- uuid: 9c57a6cb294d441f950f18244c2d7fe3
name: 'E1line {#LINENAME}: RX counter'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.16.{#SNMPINDEX}'
key: 'eOne[RxCount.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: baf7f8dd9f02454dafed76582847ccc2
name: 'E1line {#LINENAME}: RX CRC'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.21.{#SNMPINDEX}'
key: 'eOne[RxCRC.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: fdfbe190c51245f08093034048ff7cdc
name: 'E1line {#LINENAME}: Slip Down'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.11.{#SNMPINDEX}'
key: 'eOne[SlipDown.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: e6ec8473221a459890ebdbd6c7a1e7d0
name: 'E1line {#LINENAME}: Slip Up'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.10.{#SNMPINDEX}'
key: 'eOne[SlipUp.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- uuid: 3874b03eebc04e379528f46765b6ee56
name: 'E1line {#LINENAME}: TX counter'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.7.1.17.{#SNMPINDEX}'
key: 'eOne[TxCount.{#SNMPINDEX}]'
delay: 4m
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
graph_prototypes:
- uuid: 256e1207201e448da790ef631cd05bc2
name: 'E1line {#LINENAME} stats'
graph_items:
- drawtype: BOLD_LINE
color: 1A7C11
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[RxCount.{#SNMPINDEX}]'
- sortorder: '1'
drawtype: BOLD_LINE
color: '274482'
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[TxCount.{#SNMPINDEX}]'
- sortorder: '2'
color: FF8000
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[SlipUp.{#SNMPINDEX}]'
- sortorder: '3'
color: FFBF00
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[SlipDown.{#SNMPINDEX}]'
- sortorder: '4'
color: BF00FF
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[RxCRC.{#SNMPINDEX}]'
- sortorder: '5'
color: FC6EA3
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[BERCount.{#SNMPINDEX}]'
- sortorder: '6'
color: F4511E
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[CVC.{#SNMPINDEX}]'
- sortorder: '7'
color: AC8C14
calc_fnc: ALL
item:
host: 'Eltex SMG1016m'
key: 'eOne[CEC.{#SNMPINDEX}]'
- uuid: d0e8595477d64b398343849d5f8b5406
name: 'MSP discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#STATE},1.3.6.1.4.1.35265.1.29.9.1.2]'
key: msp.discovery
delay: 2h
filter:
evaltype: AND
conditions:
- macro: '{#STATE}'
value: '{$MSP.STATE.MATCHES}'
formulaid: A
- macro: '{#STATE}'
value: '{$MSP.STATE.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: B
lifetime: 10d
item_prototypes:
- uuid: 2b5abd90b35d4d1c8bad248c86028ccc
name: 'MSP {#SNMPINDEX} payload'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.9.1.8.{#SNMPINDEX}'
key: 'msp[Payload.{#SNMPINDEX}]'
value_type: FLOAT
units: '%'
- uuid: 6ba5617b89044200aa2fb0f3dfbc184e
name: 'MSP {#SNMPINDEX} state'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.9.1.2.{#SNMPINDEX}'
key: 'msp[State.{#SNMPINDEX}]'
valuemap:
name: SMGMSPState
- uuid: c2fe57669e54462496070db7b20b5fa4
name: 'MSP {#SNMPINDEX} used connections'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.35265.1.29.9.1.3.{#SNMPINDEX}'
key: 'msp[UsedConn.{#SNMPINDEX}]'
- uuid: 39bc7012291b4b638390280f9966f2c7
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,{#IFNAME},1.3.6.1.2.1.2.2.1.2,{#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: 2h
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: '{#IFDESCR}'
value: '{$NET.IF.IFDESCR.MATCHES}'
formulaid: C
- macro: '{#IFDESCR}'
value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: D
- macro: '{#IFNAME}'
value: '{$NET.IF.IFNAME.MATCHES}'
formulaid: E
- macro: '{#IFNAME}'
value: '{$NET.IF.IFNAME.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: F
- macro: '{#IFOPERSTATUS}'
value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
formulaid: G
- macro: '{#IFOPERSTATUS}'
value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: H
- macro: '{#IFTYPE}'
value: '{$NET.IF.IFTYPE.MATCHES}'
formulaid: I
- macro: '{#IFTYPE}'
value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: J
lifetime: 3d
description: 'Discovering interfaces from IF-MIB.'
item_prototypes:
- uuid: c41ec8c873e54522abf6b473df61676b
name: 'Interface {#IFDESCR}: 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: 45d3436c61ec4838927f63d35859218a
name: 'Interface {#IFDESCR}: 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: 949d0a16a93c4afb8d82b8b1f24e91de
name: 'Interface {#IFDESCR}: Bits received'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}'
key: 'net.if.in[ifInOctets.{#SNMPINDEX}]'
delay: 3m
history: 7d
units: bps
description: |
MIB: IF-MIB
The total number of octets received on the interface,including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and another 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: 51489875b8c74723837b2b1aaba081cf
name: 'Interface {#IFDESCR}: 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: 8be6ef6b7c52444fa80b6253a5fb2947
name: 'Interface {#IFDESCR}: 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: 42fc5e28e7564ba382d208d7639e62b9
name: 'Interface {#IFDESCR}: Bits sent'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}'
key: 'net.if.out[ifOutOctets.{#SNMPINDEX}]'
delay: 3m
history: 7d
units: bps
description: |
MIB: IF-MIB
The total number of octets transmitted out of the interface, including framing characters. 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: 86efab9ab7b9414db99a62784417d268
name: 'Interface {#IFDESCR}: Speed'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.5.{#SNMPINDEX}'
key: 'net.if.speed[ifSpeed.{#SNMPINDEX}]'
delay: 5m
history: 7d
trends: '0'
units: bps
description: |
MIB: IF-MIB
An estimate of the interface's current bandwidth in bits per second.
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.
If the bandwidth of the interface is greater than the maximum value reportable by this object then
this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interface's speed.
For a sub-layer which has no concept of bandwidth, this object should be zero.
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
- uuid: fca9619a476f459e9c2e79f95c6eea86
name: 'Interface {#IFDESCR}: 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}'
trigger_prototypes:
- uuid: 8c0977ecd1f747e19f3c6c4034e66b02
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
name: 'Interface {#IFDESCR}: Link down'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: AVERAGE
description: |
This trigger expression works as follows:
1. It can be triggered if the operations status is down.
2. `{$IFCONTROL:"{#IFNAME}"}=1` - a user can redefine context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down.
3. `{TEMPLATE_NAME:METRIC.diff()}=1` - the trigger fires only if the operational status was up to (1) sometime before (so, do not fire for the 'eternal off' interfaces.)
WARNING: if closed manually - it will not fire again on the next poll, because of .diff.
manual_close: 'YES'
tags:
- tag: scope
value: availability
- uuid: 7ff735c73c5e4e49961b7a3bd09f28af
name: 'Interface {#IFDESCR}: 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:
name: 'IF-MIB::ifType'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: network
- tag: description
value: '{#IFALIAS}'
- tag: interface
value: '{#IFNAME}'
trigger_prototypes:
- uuid: 422d7e0c26bb4b75964b9aa496e9b873
expression: |
change(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}])<0 and last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}])>0
and (
last(/Eltex SMG1016m/net.if.type[ifType.{#SNMPINDEX}])=6 or
last(/Eltex SMG1016m/net.if.type[ifType.{#SNMPINDEX}])=7 or
last(/Eltex SMG1016m/net.if.type[ifType.{#SNMPINDEX}])=11 or
last(/Eltex SMG1016m/net.if.type[ifType.{#SNMPINDEX}])=62 or
last(/Eltex SMG1016m/net.if.type[ifType.{#SNMPINDEX}])=69 or
last(/Eltex SMG1016m/net.if.type[ifType.{#SNMPINDEX}])=117
)
and
(last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: |
(change(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}],#2)>0) or
(last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)
name: 'Interface {#IFDESCR}: Ethernet has changed to lower speed than it was before'
opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
priority: INFO
description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Acknowledge to close the problem manually.'
manual_close: 'YES'
dependencies:
- name: 'Interface {#IFDESCR}: Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
tags:
- tag: scope
value: performance
- uuid: 3d3db5e5bb1047f18048e6eac936a134
expression: |
(avg(/Eltex SMG1016m/net.if.in[ifInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}]) or
avg(/Eltex SMG1016m/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}])) and
last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}])>0
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: |
avg(/Eltex SMG1016m/net.if.in[ifInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}]) and
avg(/Eltex SMG1016m/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Eltex SMG1016m/net.if.speed[ifSpeed.{#SNMPINDEX}])
name: 'Interface {#IFDESCR}: High bandwidth usage'
event_name: 'Interface {#IFDESCR}: High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
opdata: 'In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}'
priority: WARNING
description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
manual_close: 'YES'
dependencies:
- name: 'Interface {#IFDESCR}: Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Eltex SMG1016m/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
tags:
- tag: scope
value: performance
- uuid: 1b20a7b4dd9e47139ef5a41e09c63c43
expression: |
min(/Eltex SMG1016m/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
or min(/Eltex SMG1016m/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: |
max(/Eltex SMG1016m/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
and max(/Eltex SMG1016m/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8