RE: snmptrapd 101

"Seger, Mark" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <9FCE3A46FE7C8045A6207AE4B42E9F9A4A93521CB5@GVW1119EXC.americas.hpqcorp.net>
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 complete grins, to make sure tcpdump was working I went to a different system and did a ping.  Worked fine so while there I decided to try snmptrap and lo and behold, I received it!

In other works remote traps are being received but local ones aren't.  I gotta believe snmptrapd can receive local traps especially since all the examples in the FAQ show sending 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; [email protected]
>Subject: RE: snmptrapd 101
>
>>	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 directive, right?  It wasn't doing that
>either.  Are there other switched worth trying with snmptrapd?
>
>So just to be clear, at the 4 commands I'm sending it correct?  As I
>said I just cut/pasted these out of the faq and want to make sure I'm
>sending something legitmate:
>
>snmptrap -v 1 -c public localhost "" "" 0 0  ""
>snmptrap -v 1 -c public localhost "" "" 6 99 ""
>snmptrap -v 2c -c public localhost "" UCD-SNMP-MIB::ucdStart
>snmptrap -v 2c -c public localhost "" .1.3.6.1.4.1.2021.251.1
>
>I may not have mentioned this but I'm running 5.4 of net-snmp.  I also
>tried running it with -D and it prints a ton of stuff.  If I then run
>one of the snmptrap commands it doesn't do a thing so clearly nothing is
>waking it up, if that helps.  Also if I run snmptrapd with -d, it
>doesn't report anything when I send traps.
>
>-mark
>
>>
>>	HTH,
>>
>>Mike
>
>------------------------------------------------------------------------
>------
>This SF.Net email is sponsored by the Verizon Developer Community
>Take advantage of Verizon's best-in-class app development support
>A streamlined, 14 day to market process makes app distribution fast and
>easy
>Join now and get one step closer to millions of Verizon customers
>http://p.sf.net/sfu/verizon-dev2dev
>_______________________________________________
>Net-snmp-users mailing list
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.