On 30 July 2010 03:27, Alexander King <[email protected]> wrote: > my team leader want to call my function send the trap, > so I want to know whether has a function can send trap when I call it.
You have exactly such a function listed below (uitJBODPowerATraps) When your agent needs to generate this trap, it can invoke this routine. You need to separate the task into two: - *how* to generate the trap (which you've basically got covered) - *when* to generate the trap The examples typically concentrate on the "how", with the "when" being a simple alarm call, or in response to a SET request. Once you're happy with the trap that's being sent out, then you can think about when to generate this - i.e. how to detect the corresponding event or condition. But don't try to solve both at once. Dave ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ 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
