-
Notifications
You must be signed in to change notification settings - Fork 0
/
cisco_asa_chinese_templates.yaml
2160 lines (2153 loc) · 90.6 KB
/
cisco_asa_chinese_templates.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: '7.0'
template_groups:
- uuid: 36bff6c29af64692839d077febfc7079
name: 'Templates/Network devices'
templates:
- uuid: 388babdc9b9c4c2aa81aebe9a0e9f6ff
template: 'Cisco IOS by SNMP_ASA'
name: 'Cisco IOS by SNMP_ASA'
description: |
Template Cisco IOS Software releases 12.2(3.5) or later
MIBs used:
CISCO-MEMORY-POOL-MIB
IF-MIB
EtherLike-MIB
HOST-RESOURCES-MIB
SNMPv2-MIB
CISCO-ENVMON-MIB
CISCO-PROCESS-MIB
ENTITY-MIB
Known Issues:
Description: no if(in|out)(Errors|Discards) are available for vlan ifType
Version: IOS for example: 12.1(22)EA11, 15.4(3)M2
Device: C2911, C7600
Generated by official Zabbix template tool "Templator"
groups:
- name: 'Templates/Network devices'
items:
- uuid: a844de208b714108a7ff9c16f3703870
name: 最大加密会话数
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.467.1.1.5.0
key: ccaMaxCryptoConnections
delay: 60m
history: 90d
trends: '0'
value_type: FLOAT
tags:
- tag: Application
value: VPN
- uuid: e9ac58ce70434e1b95390d9f09b51a59
name: 最大加密吞吐量
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.467.1.1.4.0
key: ccaMaxCryptoThroughput
delay: 60m
history: 90d
trends: '0'
value_type: FLOAT
tags:
- tag: Application
value: VPN
- uuid: 5de6423be0834cdca66e67d99dc2189c
name: 当前连接使用量
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6
key: cfwConnectionStatValueCurrentInUse
delay: 5m
history: 90d
value_type: FLOAT
description: 'Number of connections currently in use by the entire firewall.'
tags:
- tag: Application
value: General
- uuid: 689885795a0c49c598afbfbd656428f7
name: 最大并发连接数
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.7
key: cfwConnectionStatValueMaxUse
delay: 5m
history: 90d
value_type: FLOAT
description: 'Highest number of connections in use at any one time since system start.'
tags:
- tag: Application
value: General
- uuid: 34a6202929bd4e90b3387736152bd97e
name: 故障转移状态
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.147.1.2.1.1.1.4.6
key: cfwHardwareStatusDetailFoStatus
history: 90d
trends: '0'
value_type: TEXT
description: 'Firewall cluster Failover status. Indicates which of the Firewall is active unit in the cluster.'
tags:
- tag: Application
value: General
- uuid: 1195eb384e67476a9daee6eee168f83b
name: Failover角色切换为主
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.147.1.2.1.1.1.2.6
key: cfwHardwareStatusFoPrimary
delay: 5m
history: 90d
trends: '0'
value_type: TEXT
description: |
Can be:
- Primary unit (this device)
- Secondary unit (this device)
preprocessing:
- type: REGEX
parameters:
- 'Primary.*unit.*this.*device.'
- \0
error_handler: DISCARD_VALUE
tags:
- tag: Application
value: General
- uuid: 6dc1134a97be4214a7dc26f80df413ec
name: Failover角色切换为备
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.147.1.2.1.1.1.2.7
key: cfwHardwareStatusFoSecondary
delay: 5m
history: 90d
trends: '0'
value_type: TEXT
description: |
Can be:
- Primary unit (this device)
- Secondary unit (this device)
preprocessing:
- type: REGEX
parameters:
- 'Secondary.*unit.*this.*device.'
- \0
error_handler: DISCARD_VALUE
tags:
- tag: Application
value: General
- uuid: 0e85a398c3f24017996a98188b264632
name: '活跃的 IKE 对等体'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.171.1.2.1.1.0
key: ciscoIKEPeers
delay: 5m
history: 90d
tags:
- tag: Application
value: VPN
- uuid: 6c132233e0f94ca3aef04df084281ffa
name: 最大可用内存
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.48.1.1.1.7.1
key: ciscoMemoryPoolLargestFree
history: 90d
units: Byte
tags:
- tag: Application
value: General
- uuid: 9fa29344c4f14866a406dba0bf26a505
name: Anyconnect连接的会话总数
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.392.1.3.35.0
key: crasSVCNumSessions
delay: 5m
history: 90d
tags:
- tag: Application
value: VPN
- uuid: 3dedf7b51c524ea38ae3d8c430f40a2a
name: '活跃的 WebVPN 会话'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.9.9.392.1.3.38.0
key: crasWebvpnNumSessions
delay: 5m
history: 90d
tags:
- tag: Application
value: VPN
- uuid: 31fc8eb7ab7440ec8fbed6ef51cdebe8
name: 'Cisco IOS: ICMP ping'
type: SIMPLE
key: icmpping
history: 7d
valuemap:
name: 'Service state'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 2de48c2ffa0a48de8f68c25e43c01a95
expression: 'max(/Cisco IOS by SNMP_ASA/icmpping,#3)=0'
name: 'Cisco IOS: ICMP ping 不可用'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
tags:
- tag: scope
value: availability
- uuid: 9f66dfcc4159423a88ab7644c5cc8712
name: 'Cisco IOS: ICMP 丢失'
type: SIMPLE
key: icmppingloss
history: 7d
value_type: FLOAT
units: '%'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: d1b5434922ae4db6939daddc3821b88b
expression: 'min(/Cisco IOS by SNMP_ASA/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS by SNMP_ASA/icmppingloss,5m)<100'
name: 'Cisco IOS: ICMP ping 丢失率较高'
opdata: 'Loss: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
- name: 'Cisco IOS: ICMP ping 不可用'
expression: 'max(/Cisco IOS by SNMP_ASA/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: 876b8cc4b5d74d90a91eb14f269fa681
name: 'Cisco IOS: ICMP 响应时间'
type: SIMPLE
key: icmppingsec
history: 7d
value_type: FLOAT
units: s
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: a867b8bc2fe642909186151c722e4dcc
expression: 'avg(/Cisco IOS by SNMP_ASA/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
name: 'Cisco IOS: ICMP ping 响应时间过长'
opdata: 'Value: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
- name: 'Cisco IOS: ICMP ping 不可用'
expression: 'max(/Cisco IOS by SNMP_ASA/icmpping,#3)=0'
- name: 'Cisco IOS: ICMP ping 丢失率较高'
expression: 'min(/Cisco IOS by SNMP_ASA/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS by SNMP_ASA/icmppingloss,5m)<100'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: 0cc0d2aa9c964e92869c6f6db927aef3
name: 'Cisco IOS: 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
该项目用于收集其他 snmptrap 项目无法匹配的所有 SNMP 陷阱
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
- tag: component
value: network
- uuid: ac777b1c36d74e00a573f39883259814
name: 'Cisco IOS: 系统联系方式'
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: 852ec1d9a88547c697b9831eb4601a52
name: 'Cisco IOS: 系统描述'
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: da2b3f3f71d44514960c6f09b55577a7
name: 'Cisco IOS: 硬件型号名称'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.47.1.1.1.1.13.1
key: system.hw.model
delay: 1h
history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ENTITY-MIB'
inventory_link: MODEL
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
- uuid: c624d5d6560c46d2b7c1dbcfe9a61788
name: 'Cisco IOS: 硬件序列号'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.47.1.1.1.1.11.1
key: system.hw.serialnumber
delay: 1h
history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ENTITY-MIB'
inventory_link: SERIALNO_A
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
triggers:
- uuid: ffc528fce84f437cbedcb2dcbf113f97
expression: 'last(/Cisco IOS by SNMP_ASA/system.hw.serialnumber,#1)<>last(/Cisco IOS by SNMP_ASA/system.hw.serialnumber,#2) and length(last(/Cisco IOS by SNMP_ASA/system.hw.serialnumber))>0'
name: 'Cisco IOS:设备已被更换'
event_name: 'Cisco IOS: 设备已切换(收到新设备序列号)'
priority: INFO
description: 'Device serial number has changed. Acknowledge to close the problem manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: c9c6a15ee15e455692a33bf983de3183
name: 'Cisco IOS: 正常运行时间(硬件)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.25.1.1.0
key: 'system.hw.uptime[hrSystemUptime.0]'
delay: 30s
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:
- '-1'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: MULTIPLIER
parameters:
- '0.01'
tags:
- tag: component
value: system
- uuid: d3a891d357fc49f790b0e045c935895d
name: 'Cisco IOS: 系统位置'
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: 700a70be482d4221a3ac128c86288e21
name: 'Cisco IOS: 系统名称'
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: 7bad0d017d084ff6a06dd31af0d654cb
expression: 'last(/Cisco IOS by SNMP_ASA/system.name,#1)<>last(/Cisco IOS by SNMP_ASA/system.name,#2) and length(last(/Cisco IOS by SNMP_ASA/system.name))>0'
name: 'Cisco IOS: 系统名称已更改'
event_name: 'Cisco IOS: 系统名称已更改 (新名称为: {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: 133f2a26411f4d4789fde9157d839c33
name: 'Cisco IOS: 正常运行时间(网络)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.3.0
key: 'system.net.uptime[sysUpTime.0]'
delay: 30s
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: 535475e1528e4fba8d44863be68ac0d9
name: 'Cisco IOS: System object ID(系统对象 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: 3ee971c5c1da4fd3b1d65df8e3fb779b
name: 'Cisco IOS: 操作系统'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.sw.os[sysDescr.0]'
delay: 1h
history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: SNMPv2-MIB'
inventory_link: OS
preprocessing:
- type: REGEX
parameters:
- 'Version (.+), RELEASE'
- \1
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: os
triggers:
- uuid: 287fcc842455452e828fee5c11efcab1
expression: 'last(/Cisco IOS by SNMP_ASA/system.sw.os[sysDescr.0],#1)<>last(/Cisco IOS by SNMP_ASA/system.sw.os[sysDescr.0],#2) and length(last(/Cisco IOS by SNMP_ASA/system.sw.os[sysDescr.0]))>0'
name: 'Cisco IOS: 操作系统描述已更改'
priority: INFO
description: 'The description of the operating system has changed. Possible reasons are that the system has been updated or replaced. Acknowledge to close the problem manually.'
manual_close: 'YES'
dependencies:
- name: 'Cisco IOS: 系统名称已更改'
expression: 'last(/Cisco IOS by SNMP_ASA/system.name,#1)<>last(/Cisco IOS by SNMP_ASA/system.name,#2) and length(last(/Cisco IOS by SNMP_ASA/system.name))>0'
tags:
- tag: scope
value: notice
- uuid: 26f96ff4b26a433aa5c76c4f28778812
name: 'VPN 会话总数'
type: CALCULATED
key: totalVPNsessions
delay: 5m
history: 90d
params: (last(//crasSVCNumSessions)+last(//ciscoIKEPeers)+last(//crasWebvpnNumSessions))
description: 'Total number of VPN sessions.'
tags:
- tag: Application
value: VPN
- uuid: 90a10ca4517d4ff3bc530ff80847a788
name: 'Cisco IOS: SNMP 代理可用性'
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: 85be6c7c07a04f479821c8a1c37594e2
expression: 'max(/Cisco IOS by SNMP_ASA/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
name: 'Cisco IOS: 无 SNMP 数据收集'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
dependencies:
- name: 'Cisco IOS: ICMP ping 不可用'
expression: 'max(/Cisco IOS by SNMP_ASA/icmpping,#3)=0'
tags:
- tag: scope
value: availability
discovery_rules:
- uuid: 587f03c236fc4a07a8834c51f0e2697e
name: 'CPU Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.109.1.1.1.1.5]'
key: cpu.discovery
delay: 1h
lifetime: 30d
enabled_lifetime_type: DISABLE_NEVER
description: |
If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable,
indexed with cpmCPUTotalIndex.
This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
like different CPU chips, group of CPUs, or CPUs in different modules/cards.
In case of a single CPU, cpmCPUTotalTable has only one entry.
item_prototypes:
- uuid: 4c7ca2dace2940b2af5231f54ead14e8
name: '#{#SNMPINDEX}: CPU 利用率'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.9.9.109.1.1.1.1.8.{#SNMPINDEX}'
key: 'system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}]'
delay: 5m
history: 7d
value_type: FLOAT
units: '%'
description: |
MIB: CISCO-PROCESS-MIB
The cpmCPUTotal5minRev MIB object provides a more accurate view of the performance of the router over time than the MIB objects cpmCPUTotal1minRev and cpmCPUTotal5secRev . These MIB objects are not accurate because they look at CPU at one minute and five second intervals, respectively. These MIBs enable you to monitor the trends and plan the capacity of your network. The recommended baseline rising threshold for cpmCPUTotal5minRev is 90 percent. Depending on the platform, some routers that run at 90 percent, for example, 2500s, can exhibit performance degradation versus a high-end router, for example, the 7500 series, which can operate fine.
Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
tags:
- tag: component
value: cpu
trigger_prototypes:
- uuid: 6ffbe0dbd63449e0a85208f2040a7b58
expression: 'min(/Cisco IOS by SNMP_ASA/system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}'
name: '#{#SNMPINDEX}: CPU利用率高'
event_name: '#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'The CPU utilization is too high. The system might be slow to respond.'
tags:
- tag: scope
value: performance
graph_prototypes:
- uuid: cf0abbb63e5645bc994a2b4132e14e3e
name: '#{#SNMPINDEX}: CPU利用率'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 199C0D
item:
host: 'Cisco IOS by SNMP_ASA'
key: 'system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}]'
- uuid: 6213cc80e56b41298dbe3b43fe3dd70b
name: 'Entity Serial Numbers Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#ENT_CLASS},1.3.6.1.2.1.47.1.1.1.1.5,{#ENT_NAME},1.3.6.1.2.1.47.1.1.1.1.7,{#ENT_SN},1.3.6.1.2.1.47.1.1.1.1.11]'
key: entity_sn.discovery
delay: 1h
filter:
evaltype: AND
conditions:
- macro: '{#ENT_CLASS}'
value: ^3$
formulaid: A
- macro: '{#ENT_SN}'
value: .+
formulaid: B
lifetime: 30d
enabled_lifetime_type: DISABLE_NEVER
item_prototypes:
- uuid: 4dc00a5dd298469bb645d33913883304
name: '{#ENT_NAME}: 硬件序列号'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}'
key: 'system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]'
delay: 1h
history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ENTITY-MIB'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
trigger_prototypes:
- uuid: b76e792faf2f40569ccffc67a74314c1
expression: 'last(/Cisco IOS by SNMP_ASA/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#1)<>last(/Cisco IOS by SNMP_ASA/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#2) and length(last(/Cisco IOS by SNMP_ASA/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]))>0'
name: '{#ENT_NAME}: Device has been replaced'
event_name: '{#ENT_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: 8c8438b11b74425889c1c7162828e50b
name: 'FAN Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SENSOR_INFO},1.3.6.1.4.1.9.9.13.1.4.1.2]'
key: fan.discovery
delay: 1h
lifetime: 30d
enabled_lifetime_type: DISABLE_NEVER
description: 'The table of fan status maintained by the environmental monitor.'
item_prototypes:
- uuid: ae0974837ce947329e92d997881ef755
name: '{#SENSOR_INFO}: Fan status'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.9.9.13.1.4.1.3.{#SNMPINDEX}'
key: 'sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}]'
delay: 3m
history: 7d
trends: '0'
description: 'MIB: CISCO-ENVMON-MIB'
valuemap:
name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
tags:
- tag: component
value: fan
trigger_prototypes:
- uuid: 91ea7d3f47c44f65937a0cf06d7457a4
expression: 'count(/Cisco IOS by SNMP_ASA/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS by SNMP_ASA/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1'
name: '{#SENSOR_INFO}: 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: 507588763e094597bfff127765cd1176
expression: 'count(/Cisco IOS by SNMP_ASA/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS by SNMP_ASA/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"notFunctioning\"}")=1'
name: '{#SENSOR_INFO}: Fan is in warning state'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'Please check the fan unit'
dependencies:
- name: '{#SENSOR_INFO}: Fan is in critical state'
expression: 'count(/Cisco IOS by SNMP_ASA/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS by SNMP_ASA/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: 879c901a830b414db3deef0de5eab48e
name: 'Memory Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.48.1.1.1.2]'
key: memory.discovery
delay: 1h
lifetime: 30d
enabled_lifetime_type: DISABLE_NEVER
description: |
Discovery of ciscoMemoryPoolTable, a table of memory pool monitoring entries.
http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
item_prototypes:
- uuid: 480f8fed9d9d44be9734340108b21950
name: '{#SNMPVALUE}: 可用内存'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.9.9.48.1.1.1.6.{#SNMPINDEX}'
key: 'vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}]'
history: 7d
units: B
description: |
MIB: CISCO-MEMORY-POOL-MIB
Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool
Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
tags:
- tag: component
value: memory
- uuid: b38f07cea6034444ab537cc3f748e181
name: '{#SNMPVALUE}: 已用内存'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.9.9.48.1.1.1.5.{#SNMPINDEX}'
key: 'vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]'
history: 7d
units: B
description: |
MIB: CISCO-MEMORY-POOL-MIB
Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.
Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
tags:
- tag: component
value: memory
- uuid: bd3f335ad38f4d3fafb7a93419e88d3f
name: '{#SNMPVALUE}: 内存利用率'
type: CALCULATED
key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]'
history: 7d
value_type: FLOAT
units: '%'
params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100'
description: 'Memory utilization in %.'
tags:
- tag: component
value: memory
trigger_prototypes:
- uuid: d58a94c06a864c409401660d96c49f06
expression: 'min(/Cisco IOS by SNMP_ASA/vm.memory.util[vm.memory.util.{#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: 81e1c21dca5f4ab0bc4d34589bbc0bdb
name: '{#SNMPVALUE}: Memory utilization'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 199C0D
item:
host: 'Cisco IOS by SNMP_ASA'
key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]'
- uuid: 92d53b0e50af4f11b7a6140374db45ee
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: 1h
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: 30d
enabled_lifetime_type: DISABLE_NEVER
description: 'Discovering interfaces from IF-MIB.'
item_prototypes:
- uuid: bfad010c8a074b6fb64dc54c2e4ba5eb
name: 'Interface {#IFNAME}({#IFALIAS}): 入方向丢弃的数据包'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}'
key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
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: 7637932378b74cedb7494ef07e910f9e
name: 'Interface {#IFNAME}({#IFALIAS}): 入方向错包'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}'
key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
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: da6a32768e344db8af15430114b4dfd6
name: 'Interface {#IFNAME}({#IFALIAS}): 入方向流量速率'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}'
key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
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: 86b953c5560b497b991192c237ca2405
name: 'Interface {#IFNAME}({#IFALIAS}): 出方向丢弃的数据包'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}'
key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
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: 4f3e9da94e094a149da8658eb239e8e2
name: 'Interface {#IFNAME}({#IFALIAS}): 出方向错包'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}'
key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
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: 0dfd1c6fd0c44ef7a29188b059f82648
name: 'Interface {#IFNAME}({#IFALIAS}): 出方向流量速率'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}'
key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
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: 5eebbff3c4b2461ba4e96bd30ae11c91
name: 'Interface {#IFNAME}({#IFALIAS}): 接口速率'
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: ec253f57d97b4330bbe2adb75074a5c5
name: 'Interface {#IFNAME}({#IFALIAS}): 运行状态'
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)