Re: SNMP dynamically loadable module
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/4/1 Tanisha Kashyap <[email protected]>: > 1) My mib does not contain any object to be get/set. It only contains trap > definitions. That doesn't matter - it's perfectly valid to have a code module that doesn't implement a MIB table or group of scalars. > 2) If I create my own module and compile it as a .so file, embed its path in > the snmpd.conf, how would the snmpd know about the functions that I have > created since there would be no handler routines for them. The module would still need to contain an 'init_' routine, so that you can set up whatever mechanism you'll be using to determine *when* to send the traps. Knowing when to send the trap is typically the hardest element of a trap originator. Actually sending the trap is the easy bit. Dave ------------------------------------------------------------------------------ _______________________________________________ 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