Re: How to send a v1 trap (newbie)

2006-08-30 Thread Sebastian Bello
Thanks Dave! Dave Shield escribió: On 28/08/06, Sebastian Bello [EMAIL PROTECTED] wrote: I have used the code in snmptrap to send a trap, but 1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp, snmp_open, snmp_pdu_create, snmp_add_var and snmp_send); what's the difference

Re: How to send a v1 trap (newbie)

2006-08-29 Thread Dave Shield
On 28/08/06, Sebastian Bello [EMAIL PROTECTED] wrote: I have used the code in snmptrap to send a trap, but 1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp, snmp_open, snmp_pdu_create, snmp_add_var and snmp_send); what's the difference between the two methods? 'snmptrap'

How to send a v1 trap (newbie)

2006-08-23 Thread Sebastian Bello
Hi list, I want to send v1 traps from my C/C++ application using Net-SNMP. I've been reading the documentation but am a bit confused. Maybe someone can give me some hint: - where can I find a simple code example on how to send a trap? - do I need the full Net-SNMP installed? - do I need to