On 10/4/2012 1:56 PM, m.roth@5-cent.us wrote:
James Pifer wrote:
I'd try strace'ing the app that is supposed to be receiving them to see if the socket opens are working and what happens with a packet arrives on the port.
No idea what this means. snmptrapd keeps running (strace snmptrapd -f -Le -c /etc/snmp/snmptrapd.conf), but I see this over and over after the initial start:
gettimeofday({1349372532, 120897}, NULL) = 0 gettimeofday({1349372532, 120917}, NULL) = 0 gettimeofday({1349372532, 120934}, NULL) = 0 gettimeofday({1349372532, 120950}, NULL) = 0 select(9, [3 5 7 8], [], [], {5, 0}) = 0 (Timeout)
<snip> Do you have ntp running on all the servers?
mark
Not necessarily. SNMP traps are coming from all different kinds of devices. I can't imagine wrong times would mess up snmptrpd. Are you thinking that's what it's having a problem with?
Even if I try to just to a udp forward, with socat, iptables, or a couple specific forwarding apps I tried, nothing seems to get to the apps.
I might just try restarting this server during the night. Maybe something is just hosed.
Any other ideas?
Thanks, James