Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsnmp_debug(3) [suse man page]

debug(3)							     net-snmp								  debug(3)

NAME
debug - Print out debugging information about the handler chain being called. 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 Description 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. 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 Documentation 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. 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 148 of file debug_handler.c. Author Generated automatically by Doxygen for net-snmp from the source code. Version 5.5 23 Sep 2009 debug(3)

Check Out this Related Man Page

bulk_to_next(3snmp)						     net-snmp						       bulk_to_next(3snmp)

NAME
bulk_to_next - Convert GETBULK requests into GETNEXT requests for the handler. Functions netsnmp_mib_handler * netsnmp_get_bulk_to_next_handler (void) returns a bulk_to_next handler that can be injected into a given handler chain. void netsnmp_bulk_to_next_fix_requests (netsnmp_request_info *requests) takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list int netsnmp_bulk_to_next_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) void netsnmp_init_bulk_to_next_helper (void) initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use. Detailed Description Convert GETBULK requests into GETNEXT requests for the handler. The only purpose of this handler is to convert a GETBULK request to a GETNEXT request. It is inserted into handler chains where the handler has not set the HANDLER_CAN_GETBULK flag. Function Documentation void netsnmp_bulk_to_next_fix_requests (netsnmp_request_info * requests) takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list Definition at line 42 of file bulk_to_next.c. netsnmp_mib_handler* netsnmp_get_bulk_to_next_handler (void) returns a bulk_to_next handler that can be injected into a given handler chain. Definition at line 27 of file bulk_to_next.c. void netsnmp_init_bulk_to_next_helper (void) initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use. Definition at line 139 of file bulk_to_next.c. Author Generated automatically by Doxygen for net-snmp from the source code. Version 5.4.3.pre1 23 May 2010 bulk_to_next(3snmp)
Man Page