My question is about zabbix traps with SNMPv3 and snmptrapd service using **zabbix_trap_receiver.pl**. I have a switch on which I enabled SNMPv3 only, so the switch has no SNMPv1/2c **rw** or **ro** communities configured, and I was able to add it as a host on zabbix after a long journey modifying existing SNMPv2 templates. In zabbix documentation in **snmptrapd.conf** there is a couple of lines added as shown here to enable SNMP traps:
authCommunity execute public
perl do "/usr/bin/zabbix_trap_receiver.pl";
My questions:
- What is the meaning of
authCommunity execute public
- I don't have **public** community configured, will snmptrapd service be able to decrypt SNMPv3 traps because on wireshark I had to define SNMPv3 credentials for it to be able to show me traps packets content?
- If not, how can I configure it in **snmptrapd.conf** so that the perl script can read these traps from SNMPv3?
- On wireshark, why does it say SNMPv2c trap, although it is encrypted as SNMPv3, I am lost here?
- Please explain to me how traps work in when SNMPv2 isenabled and when SNMPv3 is enabled?
**Edit**
I also tried the following
createUser -e SHA AES
authUser log,execute
perl do "/usr/bin/zabbix_trap_receiver.pl";
But no luck
Asked by elekgeek
(76 rep)
Nov 25, 2019, 01:02 PM
Last activity: Jan 6, 2021, 09:26 AM
Last activity: Jan 6, 2021, 09:26 AM