From: Seger, Mark [mailto:mark.se...@hp.com]
Sent: Saturday, December 19, 2009 4:11 AM
So does anyone have any idea why I can't receive local traps?
What address(es) is your snmptrapd listening on? To receive traps to
localhost you must have either 127.0.0.1 or 0.0.0.0 in the list.
to 'localhost'.
So does anyone have any idea why I can't receive local traps?
-mark
-Original Message-
From: Seger, Mark
Sent: Friday, December 18, 2009 3:48 PM
To: Mike Ayers; net-snmp-users@lists.sourceforge.net
Subject: RE: snmptrapd 101
But you only authorized execution, not logging
On Sat, Dec 19, 2009 at 1:11 PM, Seger, Mark mark.se...@hp.com wrote:
I finally found my problem and I don't know if this is a bug, a feature or
some sort of configuration error on my part. I decided to try running
tcpdump when doing the snmptrap command and sure enough, nothing! For
From: Seger, Mark [mailto:mark.se...@hp.com]
Sent: Friday, December 18, 2009 12:12 PM
Starting with the basics, I have /etc/snmp/snmptrapd.conf with one
entry in it:
authCommunity execute public
if I comment it out, snmptrapd complains so it’s clearly doing
something with this.
Next
But you only authorized execution, not logging. Change execute
to log above and you should see the notifications.
Nope - changed it to 'log' and I still don’t anything reported by the trap
daemon. I think the purpose of execute was there to allow it to run a script
from the traphandle