[AGENT++] example application sending traps

Jochen Katz katz at agentpp.com
Mon Jan 23 21:12:09 CET 2012


Hi,

the agent in examples/atm_mib/src/agent.cpp uses the notificaton
originator class to set up trap destiantions and then send out a trap
using Mib::notify.

The snmpTraps.cpp uses the snmp++ API to send traps, which of course
differs from the agent++ API used by the agent++ examples.

Regards,
  Jochen



Am 20.01.2012 23:00, schrieb Alona Rossen:
> Hello, 
> 
>  
> 
> Is there a ready-to-compile-and-run AGENNT++ example application sending
> traps available?
> 
> I understand that there are a few ways of sending traps and
> Mib::notify() is one of them, nevertheless a ready to use example would
> be helpful.
> 
>  
> 
> Does snmpTraps.cpp show another way of sending a trap?
> 
>  
> 
> Thank you, 
> 
> Alona
> 
>  
> 
>  
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
> 



More information about the AGENTPP mailing list