sub_agent.h File Reference

SNMP statistic module, master agent connection. More...

This graph shows which files directly or indirectly include this file:

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)


Detailed Description

SNMP statistic module, master agent connection.

This file defines all functions required to establish a relationship with a master agent.

Definition in file sub_agent.h.


Define Documentation

#define AGENT_PROCESS_NAME   "snmpstats_sub_agent"

Definition at line 43 of file sub_agent.h.

Referenced by initialize_agentx().


Function Documentation

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().


Generated on Thu May 24 20:00:44 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6