[ZBX-16323] SNMP Traps V3 documentation is lacking Created: 2019 Jul 01  Updated: 2024 Apr 10  Resolved: 2022 Aug 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: None
Fix Version/s: 4.4 (plan), 6.0.8rc1, 6.2.2rc1, 6.4 (plan)

Type: Documentation task Priority: Trivial
Reporter: patrik uytterhoeven Assignee: Martins Valkovskis
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team C
Team: Team C
Sprint: Sprint 56 (Sep 2019), Sprint 55 (Aug 2019), Sprint 54 (Jul 2019), Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020), Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
Story Points: 0

 Description   

there is no real documentation around snmp v3 traps in zabbix and how to set it up
for example net-snmp at least in Centos 7 is not supporting AES 256Bit encryption only 128 in zabbix we will not see warnings about it it will just not work

http://snmp.com/snmpv3/snmpv3_aes256.shtml
also the configuration in snmptrapd.conf is a bit different

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.
there is also the option to send traps or informs with informs sending an ack back to the switch 

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



 Comments   
Comment by Conor [ 2019 Jul 17 ]

I've also hit this bug on CentOS7 https://bugzilla.redhat.com/show_bug.cgi?id=1468084 which limited me from running the latest trap script properly (workaround works), I will document it in the blog post. 

Comment by patrik uytterhoeven [ 2020 Sep 01 ]

we are now exactly 1y further 

to update the documentation with less then 20 lines ....

Comment by Luca Sironi [ 2020 Sep 28 ]

Hi Patrick, is the right way to set it ?

Can you provide a test command like the one reported in https://www.zabbix.org/wiki/Start_with_SNMP_traps_in_Zabbix as well ?

regards

 

 

Comment by patrik uytterhoeven [ 2020 Sep 28 ]

same setup with the added notes from 1y ago

i am not working for t his client anymore and at the moment no client with snmp v3

i suppose zabbix support team should be able to help with this

Comment by Brian van Baekel [ 2022 Mar 03 ]

This must be a MASSIVE new page with information, or am I missing something after 2.5 years? 😅

Comment by Martins Valkovskis [ 2022 Aug 15 ]

The documentation for SNMP trap monitoring has been updated for 6.0, 6.2, 6.4.

Main changes:

  • Bash trap receiver option added
  • SNMP-version specific comments added for v1/2 and v3.
Generated at Wed Apr 17 00:18:50 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.