Re: Programmatically sending traps
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 08/09/06, Barbara Knysz <[email protected]> wrote: > I'm new to net-snmp, and have been tasked when sending traps to a specific > host. I've used the mib2c to generate the code, but I have been unable to > build the resulting c code - keep getting the message: undefined reference > to `send_v2trap 'send_v2trap' is part of the *agent* trap API, and only works from within an agent. If you're sending traps from a standalone application, you should use 'snmptrap.c' as a template. Dave ------------------------------------------------------------------------- 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