Re: Little help! (net-snmp 5.5 under Cygwin on WinXP)

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22 February 2010 06:26, rakesh zingade <[email protected]> wrote:


>>My snmptrapd.conf contains: (does it even matter?)
>
>>authCommunity log public
>>logOption f /cygwin/var/log/snmptrapd.log
>
> you can try below config line
>
> authCommunity   log,execute,net    public


How will that help?
The original config included authorisation for logging traps.
which is all that Ben is doing.
  Adding authorisation for running commands or forwarding
traps won't affect the fact that snmptrapd is struggling to
parse the trap in the first place.


Ben - I can't immediately see anything wrong with either
your setup, or the incoming request.   I don't think it's
anything to do with the MIB files either.   Things are failing
earlier than that.

Can you get your device to generate SNMPv2 traps
instead of SNMPv1 ones?


Try starting the trap daemon using

    snmptrapd -f -Lo -d

and get the device to generate a single trap.
What do you see?

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.