Re: Sending trap from source code
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 20/03/2008, Ron Rader <[email protected]> wrote: > Who knows something about linking snmpd as a shared library? The agent (snmpd) is an application - not a library. The MIB module code will automatically be compiled into a shared library (libnetsnmpmibs) > I think I have to do this in order to expose my private MIB traps to > the rest of the system. Is "the rest of the system" also part of an SNMP agent (or AgentX subagent)? 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. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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