RE: Sending trap from source code
"Ron Rader" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6BA04340F278EB47AB42AAF2EED9CBBA029811EB@dellserver.cipheroptics.local> |
> From: Dave Shield [mailto:[email protected]] > The code generated by mib2c.notify.conf is specifically > designed for use within an agent - it relies on internal agent > stuff to actually generate the trap. It won't work from a > non-agent application. If libnetsnmpmibs does not support a public API, how do most systems use net-snmp to generate traps programmatically? The snmptrap command requires hardcoded OIDs and does not seem as useful as, say "send_v2trap()" . Thanks, Ron The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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