SNMP Traps not working
Posted: Wed May 15, 2019 7:04 am
Hello we are facing issues with SNMP Traps configured from the wizard:
We have setup traps to be sent from linux and network devices
Here is the output of snmptt log:
And the output of tcpdump:
The security access violation is from another NMS.
I tested with this command and the corresponding trap on localhost works fine:
snmptrap -v 2c -c asdfafs localhost '' 1.3.6.1.4.1.8072.2.3.0.1 1.3.6.1.4.1.8072.2.3.2.1 i 2000
I have completed the step of configuring through Admin->Unconfigured Objects
We have setup traps to be sent from linux and network devices
Here is the output of snmptt log:
Code: Select all
tail -F /var/log/snmptt/snmptt.log
Wed May 15 14:42:32 2019 .1.3.6.1.4.1.11.2.3.7.11.154.0.2 Normal "Status Events" ********* - An SNMP trap that is generated for an RMON event on a J9728A 2920-48G Switch. W 09/27/90 15:55:56 03362 auth: User 'manager' login from *********
Wed May 15 14:42:33 2019 .1.3.6.1.4.1.11.2.3.7.11.154.0.2 Normal "Status Events" ********* - An SNMP trap that is generated for an RMON event on a J9728A 2920-48G Switch. I 09/27/90 15:55:57 00179 mgr: SME SSH from ********* - MANAGER Mode
Wed May 15 14:43:07 2019 .1.3.6.1.4.1.11.2.3.7.11.154.0.2 Normal "Status Events" ********* - An SNMP trap that is generated for an RMON event on a J9728A 2920-48G Switch. W 05/13/90 02:30:48 03362 auth: User 'manager' login from *********
Wed May 15 14:43:08 2019 .1.3.6.1.4.1.11.2.3.7.11.154.0.2 Normal "Status Events" ********* - An SNMP trap that is generated for an RMON event on a J9728A 2920-48G Switch. I 05/13/90 02:30:49 00179 mgr: SME SSH from ********* - MANAGER Mode
Code: Select all
tcpdump port 162 -i any
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
14:59:41.215371 IP ********.snmp > nagios.flexopack.com.snmptrap: C="********" Trap(169) E:hp.2.3.7.11.154 ******** enterpriseSpecific s=2 1141483598 16.9.1.1.2.236=57_20_30_35_2f_31_33_2f_39_30_20_30_32_3a_34_37_3a_32_32_20_30_30_32_33_36_20_73_6e_6d_70_3a_20_53_4e_4d_50_20_53_65_63_75_72_69_74_79_20_61_63_63_65_73_73_20_76_69_6f_6c_61_74_69_6f_6e_20_66_72_6f_6d_20_31_39_32_2e_36_38_2e_37_2e_31_33_0a_20_20_20_20_20_20_20_20_20_20_20_20_28_39_20_74_69_6d_65_73_20_69_6e_20_36_30_20_73_65_63_6f_6e_64_73_29
15:00:14.121832 IP ********.snmp > nagios.flexopack.com.snmptrap: C="********" Trap(132) E:hp.2.3.7.11.154 ******** enterpriseSpecific s=2 2330001188 16.9.1.1.2.236="W 09/27/90 16:13:38 00236 snmp: SNMP Security access violation from ********"
I tested with this command and the corresponding trap on localhost works fine:
snmptrap -v 2c -c asdfafs localhost '' 1.3.6.1.4.1.8072.2.3.0.1 1.3.6.1.4.1.8072.2.3.2.1 i 2000
I have completed the step of configuring through Admin->Unconfigured Objects