...
| View file |
|---|
| name | ZABBIX_ME_Template.yaml |
|---|
| height | 250 |
|---|
|
| Примечание |
|---|
В ПО версии 3.12.0 появилась возможность настраивать список событий, при которых отправляются SNMP-trap сообщения. |
Для редактирования списка событий нужно перейти в режим конфигурации и ввести команду snmp server traps:
| Блок кода |
|---|
0/ME5200:ME5200-AR-2# configure
0/ME5200:ME5200-AR-2(config)# snmp server traps
0/ME5200:ME5200-AR-2(config-traps)# ?
acl Enable ACL SNMP traps
all Enable all SNMP traps
arp-record-block Enable ARP record is freezed due to possible flapping trap
bfd Enable BFD SNMP traps
bgp Enable BGP SNMP traps
brige Enable BRIGE SNMP traps
cpu Enable CPU SNMP traps
dpll Enable DPLL SNMP traps
dram-error Enable internal dram bus error trap
fan Enable fan SNMP traps
feeder Enable feeder SNMP traps
flow Enable flow SNMP traps
fmc-board-lost Enable FMC board lost trap
frontpanel-temp-out-of-range Enable front panel temperature is out of range trap
high Enable HIGH SNMP traps
hw Enable HW SNMP traps
ip-sla-test-failed Enable IP SLA test failed trap
isis Enable ISIS SNMP traps
l2-flooding-cfg-incompatibility Enable l2 flooding configuration incompatibility trap
l2vpn-backup-pw-activate Enable device has active backup PW trap
lc-board-lost Enable LC board lost trap
link Enable link SNMP traps
lldp-remote-dev-changed Enable LLDP remote device changed trap
lldpv2-remote-table-changed Enable LLDPv2 remote tables changed trap
lookup Enable LOOKUP SNMP traps
missimg-sm-stat Enable SM-STAT must be installed, but absent trap
mpls Enable MPLS SNMP traps
ospfv2 Enable OSPFV2 SNMP traps
ospfv3 Enable OSPFV3 SNMP traps
partition-not-mounted Enable alternate partition is not mounted trap
pcie-error Enable internal pcie bus error trap
pim Enable PIM SNMP traps
pll-temp-out-of-range Enable PLL temperature trap
policing-general Enable policing general alarm trap
ptp-fail Enable PTP fail trap
pw Enable PW SNMP traps
root-fs-great-space-usage Enable high root filesystem space usage trap
rsvp Enable RSVP SNMP traps
rtm Enable RTM SNMP traps
running-configuration-changed Enable running Configuration changed trap
sata-error Enable internal sata bus error trap
service-down Enable service does not respond trap
sm Enable SM SNMP traps
stp-bpdu-guard-fault Enable BPDU guard detected or cleared a fault on interface trap
switch Enable SWITCH SNMP traps
synce-fail Enable syncE fail trap
tmp Enable TMP SNMP traps
transceiver Enable TRANSCEIVER SNMP traps
tunnel-no-vrf Enable not enough hardware resources for tunnel VRF trap
user-login Enable user login/logout events trap
vpls-status-changed Enable VPLS oper status changed trap
vrrpv2 Enable VRRPV2 SNMP traps
vrrpv3 Enable VRRPV3 SNMP traps
vxlan-tunnel-not-in-bridge Enable VXLAN tunnels in bridge-domains need to be manually hardware enabled trap
|
Мы можем разрешить отправку:
- всех возможных типов уведомлений с помощью команды all;
- трапов только для определенных групп событий. Некоторые трапы группируются в отдельные категории, например, bfd:
| Блок кода |
|---|
0/ME5200:ME5200-AR-2(config-traps)# bfd ?
all Enable all SNMP BFD traps
session-created Enable BFD session created trap
session-destroyed Enable BFD session destroyed trap
session-down Enable BFD session down trap
<cr>
|
- отдельного трапа, например:
| Блок кода |
|---|
0/ME5200:ME5200-AR-2(config-traps)# ospfv2 if-auth-failure |