On 29/01/07, tran vanle <[EMAIL PROTECTED]> wrote:
> I build net-snmp-5.2.1.2.tar.gz

First thing - that is a relatively old version of the software, and
there have been several releases since then.  Two on the 5.2.x line
(currently at 5.2.3), and several versions of more updated code.   It
would be worth looking at upgrading your code, if this is possible.


> authtrapenable 1
> trapcommunity abc
> trapsink 192.168.1.7
> informsink 192.168.1.15
> trap2sink 192.168.1.7

Second thing - you almost certainly do *NOT* want to have
both  "trapsink" and "trap2sink" lines pointing to the same
trap destination.
   I doubt that this is the cause of your problems, but it would
result in you getting two copies of every trap sent by the agent.
(In addition to the third copy sent to the "informsink" host).


> send_notifications: starting: pdu=8086740, vars=0
> Segmentation fault
>
>
> What error I had and How can I fix it?
> Is net-snmp-5.2.1.2.tar.gz do not support trapsink?

Hmmm...
I'm not exactly sure what's happening, but my immediate reactions are:

  a)  Try with a simpler snmpd.conf setup.
Something like:

    syslocation TQM8xxL
    sysservices 79
    syscontact VCS
    trapsink 192.168.1.7  abc

If that works OK, try changing "trapsink" to be "trap2sink" and
restart the agent.

  b)  Upgrade to 5.2.3 (at the very least), or preferably 5.4

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to