I have a .sh script on my test Security Gateway that sends snmptrap (I use SNMP version 2) to my monitoring service. This script was working fine on R80.30, but it does not work in R80.40 with Jumbo HF
Take_25.
Gaia OS configuration on both R80.30 and R80.40 is identical. SNMP v1\v2\v3 is enabled.
This is an example command that works successfully in R80.30 but gives an error in R80.40
snmptrap -c public -v 2c 1.1.1.1 "" 1.3.3.3.3.3.3.3 1.2.2.2.2.2.2 i 25
on R80.40 I got the error: "Can't set up engineID of type text from an empty string."
According to the sources of NET-SNMP engineID is used only in SNMP v3, but I explicitly use v2
I believe this is an error in snmp package.
Versions of snmptrap are different:
R80.40 NET-SNMP version: 5.8
R80.30 NET-SNMP version: 5.4.2.1