Query: netsnmp_debug
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
debug: print out debugging information about the handler chaiLibrardebug:tprintMoutadebugging information about the handler chain being called.(3)NAMEdebug: print out debugging information about the handler chain being called. - This is a useful module for run-time debugging of requests as the pass this handler in a calling chain. More... Functions netsnmp_mib_handler * netsnmp_get_debug_handler (void) returns a debug handler that can be injected into a given handler chain. void debug_print_requests (netsnmp_request_info *requests) int netsnmp_debug_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) void netsnmp_init_debug_helper (void) initializes the debug helper which then registers a debug handler as a run-time injectable handler for configuration file use.DETAILED DESCRIPTIONThis is a useful module for run-time debugging of requests as the pass this handler in a calling chain. All debugging output is done via the standard debugging routines with a token name of 'helper:debug', so use the -Dhelper:debug command line flag to see the output when running the snmpd demon. It's not recommended you compile this into a handler chain during compile time, but instead use the 'injectHandler' token in the snmpd.conf file (or similar) to add it to the chain later: injectHandler debug my_module_name to see an example output, try: injectHandler debug mibII/system and then run snmpwalk on the 'system' group.FUNCTION DOCUMENTATIONvoid debug_print_requests (netsnmp_request_info * requests) For internal use only. Definition at line 51 of file debug_handler.c. Referenced by netsnmp_debug_helper(). int netsnmp_debug_helper (netsnmp_mib_handler * handler, netsnmp_handler_registration * reginfo, netsnmp_agent_request_info * reqinfo, netsnmp_request_info * requests) For internal use only. Definition at line 81 of file debug_handler.c. netsnmp_mib_handler* netsnmp_get_debug_handler (void) returns a debug handler that can be injected into a given handler chain. Definition at line 44 of file debug_handler.c. Referenced by netsnmp_init_debug_helper(). void netsnmp_init_debug_helper (void) initializes the debug helper which then registers a debug handler as a run-time injectable handler for configuration file use. Definition at line 147 of file debug_handler.c. net-snmp debug: print out debugging information about the handler chain being called.(3)
Related Man Pages |
---|
netsnmp_serialize(3) - redhat |
netsnmp_row_merge(3snmp) - debian |
netsnmp_serialize(3snmp) - debian |
netsnmp_bulk_to_next(3) - suse |
netsnmp_serialize(3) - suse |
Similar Topics in the Unix Linux Community |
---|
How to debug a C++ code |
Request help to debug errors while running in 'C' |