manual:config:items:itemtypes:snmptrap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:config:items:itemtypes:snmptrap [2020/12/07 11:52]
martins-v net-snmp-perl has been removed in RHEL/CentOS 8.0-8.2; re-added in RHEL 8.3 (ZBX-17192)
manual:config:items:itemtypes:snmptrap [2021/01/27 19:24] (current)
Line 70: Line 70:
 <note warning>​The %%"​%%net-snmp-perl%%"​%% package has been removed in RHEL/CentOS 8.0-8.2; re-added in RHEL 8.3. For more information,​ see the [[:​manual/​installation/​known_issues#​snmp_traps|known issues]].</​note>​ <note warning>​The %%"​%%net-snmp-perl%%"​%% package has been removed in RHEL/CentOS 8.0-8.2; re-added in RHEL 8.3. For more information,​ see the [[:​manual/​installation/​known_issues#​snmp_traps|known issues]].</​note>​
  
-Now format the traps for Zabbix to recognise ​them (edit snmptt.conf):​+Now format the traps for Zabbix to recognize ​them (edit snmptt.conf):​
   - Each FORMAT statement should start with "​ZBXTRAP [address]",​ where [address] will be compared to IP and DNS addresses of SNMP interfaces on Zabbix. E.g.:\\ EVENT coldStart .1.3.6.1.6.3.1.1.5.1 "​Status Events"​ Normal\\ FORMAT ZBXTRAP $aA Device reinitialized (coldStart)   - Each FORMAT statement should start with "​ZBXTRAP [address]",​ where [address] will be compared to IP and DNS addresses of SNMP interfaces on Zabbix. E.g.:\\ EVENT coldStart .1.3.6.1.6.3.1.1.5.1 "​Status Events"​ Normal\\ FORMAT ZBXTRAP $aA Device reinitialized (coldStart)
   - See more about SNMP trap format below.   - See more about SNMP trap format below.
-<note important>​Do not use unknown traps - Zabbix will not be able to recognise ​them. Unknown traps can be handled by defining a general event in snmptt.conf:​\\ EVENT general .* "​General event" Normal</​note>​+<note important>​Do not use unknown traps - Zabbix will not be able to recognize ​them. Unknown traps can be handled by defining a general event in snmptt.conf:​\\ EVENT general .* "​General event" Normal</​note>​
  
 == Configuring Perl trap receiver == == Configuring Perl trap receiver ==
Line 87: Line 87:
 <note warning>​net-snmp agent does not support AES256 with SNMPv3/​USM.</​note>​ <note warning>​net-snmp agent does not support AES256 with SNMPv3/​USM.</​note>​
 == SNMP trap format == == SNMP trap format ==
-All customised ​perl trap receivers and SNMPTT trap configuration must format the trap in the following way:+All customized ​perl trap receivers and SNMPTT trap configuration must format the trap in the following way:
 **[timestamp] [the trap, part 1] ZBXTRAP [address] [the trap, part 2]**, where **[timestamp] [the trap, part 1] ZBXTRAP [address] [the trap, part 2]**, where
   * [timestamp] - timestamp used for log items   * [timestamp] - timestamp used for log items