Hello there, I have a CentOS 7 host with the CentOS 7 RPM 'net-snmp-5.7.2-49.el7.x86_64' installed. I have snmptrapd running on this host, listening on 162/udp, and receiving traps from various other hosts successfully. These traps are logged through syslog (using 'authCommunity log,execute mycommunity' and 'doNotLogTraps no' in /etc/snmp/snmptrapd.conf). snmptrapd is running with '-DALL' as well, which I understand should be sending copious debug messages. Indeed, it outputs a lot of mib parsing messages on startup.
I'm trying to successfully receive SNMP traps from a Pure Storage appliance, which can send v2c or v3 traps. I'm trying v2c first before tackling v3. The appliance is able to send test traps, which duly arrive on 162/udp according to tcpdump (192.168.0.1 is Pure appliance, 10.0.0.1 is host running snmptrapd): 14:41:42.795415 IP (tos 0x0, ttl 63, id 58410, offset 0, flags [DF], proto UDP (17), length 290) 192.168.0.1.39132 > 10.0.0.1.162: { SNMPv2c C="mycommunity" { V2Trap(245) R=179348285 .1.3.6.1.2.1.1.3.0=181336822 .1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.4.1.40482.2.50 .1.3.6.1.4.1.40482.3.1="Flash Array" .1.3.6.1.4.1.40482.3.2="6.1.6" .1.3.6.1.4.1.40482.3.3="pure-hostname" .1.3.6.1.4.1.40482.3.4=0 .1.3.6.1.4.1.40482.3.5="PureStorage Test Trap" .1.3.6.1.4.1.40482.3.6="PureStorage Test Body" .1.3.6.1.4.1.40482.3.7=2 } } This trap is, however, not appearing in the logs, where traps from other hosts are appearing in the logs. I don't see any error messages being logged by snmptrapd, but I'm assuming that the trap is not being parsed correctly or something similar. Can anyone suggest how I might troubleshoot further? Is it possible to configure snmptrapd to log messages about the trap parsing and processing activity, for example? Many thanks.
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users