handler | |
void | netsnmp_init_serialize (void) |
initializes the serialize helper which then registers a serialize handler as a run-time injectable handler for configuration file use. | |
void | netsnmp_init_read_only_helper (void) |
initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use. | |
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. | |
void | netsnmp_init_table_dataset (void) |
void | netsnmp_init_stash_cache_helper (void) |
initializes the stash_cache helper which then registers a stash_cache handler as a run-time injectable handler for configuration file use. | |
void | netsnmp_init_helpers (void) |
call the initialization sequence for all handlers with init_ routines. | |
関数 | |
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. |
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.
netsnmp_mib_handler* netsnmp_get_debug_handler | ( | void | ) |
returns a debug handler that can be injected into a given handler chain.
debug_handler.c の 51 行で定義されています。
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.
bulk_to_next.c の 139 行で定義されています。
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.
debug_handler.c の 156 行で定義されています。
参照先 netsnmp_get_debug_handler()・netsnmp_register_handler_by_name().
void netsnmp_init_helpers | ( | void | ) |
call the initialization sequence for all handlers with init_ routines.
all_helpers.c の 36 行で定義されています。
参照先 netsnmp_init_bulk_to_next_helper()・netsnmp_init_debug_helper()・netsnmp_init_read_only_helper()・netsnmp_init_serialize()・netsnmp_init_stash_cache_helper()・netsnmp_init_table_dataset().
参照元 init_agent().
void netsnmp_init_read_only_helper | ( | void | ) |
initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.
read_only.c の 81 行で定義されています。
void netsnmp_init_serialize | ( | void | ) |
initializes the serialize helper which then registers a serialize handler as a run-time injectable handler for configuration file use.
serialize.c の 93 行で定義されています。
void netsnmp_init_stash_cache_helper | ( | void | ) |
initializes the stash_cache helper which then registers a stash_cache handler as a run-time injectable handler for configuration file use.
stash_cache.c の 233 行で定義されています。
参照先 netsnmp_get_stash_cache_handler()・netsnmp_register_handler_by_name().