On 2 August 2010 13:37, Julian Cebulla <cebu...@ferrari-electronic.de> wrote: > This is in excerpt of my code at the beginning (in C):
[snip] OK - that looks like the code for the main body of the subagent. But you've got four routines that (presumably) initialise and register the MIB information that the subagent should report: > init_mib_physicalInterfacesTable(); > init_mib_bChannelTable(); > init_mib_sessionTable(); > init_mib_scalar(); What do these init routines look like? In particular, they'll presumably call some form of 'netsnmp_register_xxx' routine. As part of that registration, there should be some mention of an 'xxx_handler' routine. It's *that* routine where you need to put the debug statements. 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users