Re: Sending trap from agent
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 06/02/07, Treesa Fairy Joseph <[email protected]> wrote: > Now I want > to send trap checking some parameters, using the api send_v2trap. > How should i add the code for trap sending? Please see the FAQ entry: How can I get the agent to generate a trap (or inform)? http://www.net-snmp.org/wiki/index.php/FAQ:Coding_15 In particular, the last paragraph is probably the most relevant. > Should i start any other thread?? No. The Net-SNMP agent framework is *not* thread safe. 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