Re: Sending traps with dynamic destinations

jin zhou <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
net-snmp 5.2.3 ,working on Linux,thank you!

Thomas Anders <[email protected]> 写道:   jin zhou wrote:
> I choose using API routines "snmp_pdu_create(SNMP_MSG_TRAP2)" and "snmp_send(ss,pdu)" to send traps,while the session peername and port can be specified.But i meet the troulbe:it always send traps on port 161,even through i use the code"session.remote_port= SNMP_TRAP_PORT;",while the destination IP can be changed successfully.Therefore,the snmptrapd cant receive the traps.This situation also occurs when other net-snmp apps using "snmp_send(ss,pdu)" .

What Net-SNMP version are you working with?


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


 		
---------------------------------
 雅虎免费邮箱-3.5G容量,20M附件

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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.