
Go to the source code of this file.
Defines | |
| #define | AGENT_PROCESS_NAME "snmpstats_sub_agent" |
Functions | |
| void | agentx_child (int rank) |
| void | register_with_master_agent (char *name_to_register_under) |
This file defines all functions required to establish a relationship with a master agent.
Definition in file sub_agent.h.
| #define AGENT_PROCESS_NAME "snmpstats_sub_agent" |
| void agentx_child | ( | int | rank | ) |
Run the AgentX sub-agent as a separate process. The child will insulate itself from the rest of OpenSER by overriding most of signal handlers.
Creates a child that will become the AgentX sub-agent. The child will insulate itself from the rest of OpenSER by overriding most of signal handlers.
Definition at line 126 of file sub_agent.c.
References initialize_agentx(), NULL, and sigterm_handler().
| void register_with_master_agent | ( | char * | name_to_register_under | ) |
This function opens up a connection with the master agent specified in the snmpstats modules configuration file
Definition at line 172 of file sub_agent.c.
Referenced by initialize_agentx(), and run_alarm_check().
1.5.6