Thanks everyone
the problem has been solved.That is my fault that the sniffer cant catch it (don't know
why),but other software can catch it. may be its a bug of sniffer
Thanks Dave,Thanks every one
Sugar
From: Dave Shield <[EMAIL PROTECTED]>
To: 李 曙歌 <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: send_v2trap does not work Date: Wed, 25 Aug 2004 11:50:10 +0100
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ]
> example: write_exampletrap2 entered: action=0 > example: write_exampletrap2 entered: action=1 > example: write_exampletrap2 entered: action=2 > example: write_exampletrap2 entered: action=3 > example: write_exampletrap2 sending the v2 trap > example: write_exampletrap2 v2 trap sent
OK - so the agent seems to be calling the module OK...
> I can get it use snmptrapd.....
so the trap *is* being sent. That's useful to know.
> but I can't get trap from windows platform (using sniffer)
Which would tend to point the finger at the windows side. What software are you using to catch the trap? Does it support SNMPv2?
> I have added trap2sink 192.168.1.57(my IP):(
What if you use "trapsink 192.168.1.57" instead? That will convert the original v2 trap into an equivalent v1 trap, and send that instead. What do you see on the windows side?
Also try using the other "write_exampletrap" MIB object - both with "trapsink" and "trap2sink". What do you see there?
Dave
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
