See www.zabbix.com for the official Zabbix site.

SNMP Traps in zabbix with SNMPv3

From Zabbix.org
Jump to: navigation, search

Zabbix documentation is lacking the needed information for SNMPv3

a ticket was made https://support.zabbix.com/browse/ZBX-16323


With SNMPv3 it's important to know that AES256Bit support is probably not working on most systems as there is no support for it by net-snmp

http://snmp.com/snmpv3/snmpv3_aes256.shtml


The configuration of the snmptrapd.conf file is also a bit different in the file add the following lines

Edit snmptrapd Config

vi /etc/snmp/snmptrapd.conf

createUser -e <engineid> <user> SHA <key> AES <key>
authUser log,execute <user>
perl do "/usr/bin/zabbix_trap_receiver.pl";


authUser needs to have the execute option else the perl script will not be executed also the engineid is the engineid for the traps not the engineid configured on the switch for polling

there is also the option to send traps or informs from my understanding it's best to configure informs as they will send the ACK signal back once the trap was received by the snmptrapd daemon

http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html