From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com]
There doesn't seem to be any sample program available on the net for traps.
apps/snmptrap.c
I used the snmptrap.c from net-snmp version 5.4.2 and this is what I observed.
1 I am able to send a generic trap once
2 the
Dear Experts,
I did not find much information in net-snmp website about how to implement
an application to send traps. Can you please give me some pointers to the
same?
Regards,
Vinod
man snmptrap
Well, snmptrap can be used from command line to send traps.
But, what I am looking for is
2009/5/7 Vinod Nanjaiah vinod_nanja...@mindtree.com:
Well, snmptrap can be used from command line to send traps.
But, what I am looking for is to make use of snmp library calls to
generate traps - for example, by using send_easy_trap () or snmp_v2trap ()
functions.
You can't - those are
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com]
Well, snmptrap can be used from command line to send traps.
But, what I am looking for is to make use of snmp library calls to
generate traps - for example, by using send_easy_trap () or snmp_v2trap ()
functions.
You
2009/5/7 Vinod Nanjaiah vinod_nanja...@mindtree.com:
But, what I am looking for is to make use of snmp library calls to
generate traps - for example, by using send_easy_trap () or snmp_v2trap ()
functions.
You can't - those are part of the *agent* trap API.
Does this mean that these can
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
There doesn't seem to be any sample program available on the net for traps.
apps/snmptrap.c
Thanks Dave.
I was able to successfully send a trap using the code from snmptrap.c.
But, when I try to