Dave,
Thanks for the pointer.

After adding "forward default <dest_IP>:162", I got the segmentation fault
on machine B

The following is what I got from gdb.
(gdb) where
#0  0x0fa2ee4c in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x0f9373e0 in free () from /lib/libc.so.6
#2  0x0fd56018 in usm_free_usmStateReference (old=0x100879b8) at
snmpusm.c:182
#3  0x0fd16988 in _sess_process_packet (sessp=0x1008e748, sp=0x1008daa8,
isp=0x10087798, transport=0x1003e0d8,
    opaque=0x1007e0c8, olength=20, packetptr=0x100906d8
"0\201\uffff\002\001\0030\021\002\004y\025~\uffff\002\003", length=175)
    at snmp_api.c:5376
#4  0x0fd17dd8 in _sess_read (sessp=0x1008e748, fdset=0x7ffffba8) at
snmp_api.c:5779
#5  0x0fd17e70 in snmp_sess_read (sessp=0x1008e748, fdset=0x7ffffba8) at
snmp_api.c:5798
#6  0x0fd16ac8 in snmp_read (fdset=0x7ffffba8) at snmp_api.c:5412
#7  0x10005210 in main (argc=7, argv=0x7ffffe44) at snmptrapd.c:1418

Any idea?

Thanks

Connie
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, February 16, 2007 12:59 AM
To: Connie Chan
Cc: [email protected]
Subject: Re: snmp trap forwarding

On 15/02/07, Connie Chan <[EMAIL PROTECTED]> wrote:
> I would like to forward the receiving trap by machine B to machine C.
> Am I missing something?

Well, you haven't mentioned anything about a "forward" line in the
snmptrapd.conf file.  This is what would actually forward the trap to the
final destination.

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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to