[AGENT++] How can I add multi trap report address?

Jungsu Byun jsbyun at samsung.com
Mon Jan 22 08:50:45 CET 2007


Hi, all.
 
I have a question about supporting multi TRAP report address.
 
It means , when the agent invoked a TRAP it is sent to multiple server.
 
How can I implement in the agent++?
 
 
I tried below , but it failed.
 
In the agent.cpp
 
 
UdpAddress dest1("10.89.10.11/162");
UdpAddress dest2("10.89.10.12/162");

no.add_v2_trap_destination(dest1);
  


	
no.add_v2_trap_destination(dest2);
 
 
 
then after I invoked a trap but only the first server received trap.
 
 
Best Regards
 
JS

 
 

> 
 



More information about the AGENTPP mailing list