Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

rmSubagent.c File Reference

#include <ucd-snmp/ucd-snmp-config.h>
#include <ucd-snmp/ucd-snmp-includes.h>
#include <ucd-snmp/ucd-snmp-agent-includes.h>
#include <signal.h>
#include <ucd-snmp/agent_trap.h>
#include "rmClient.h"
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include "RMSystemInfo.h"
#include "RMGenericConfig.h"
#include "RMThresholdConfig.h"
#include "RMWatermarkConfig.h"
#include "RMLeakyBucketConfig.h"
#include "RMGenericControl.h"
#include "RMThresholdControl.h"
#include "RMLeakyBucketControl.h"
#include "RMMonitors.h"
#include "ResourceMonitor/MonitoringEventSchema.h"

Go to the source code of this file.

Functions

RETSIGTYPE stop_server (int a)
void daemonize ()
void catchNotificationEvent (int signo, siginfo_t *info, void *ignored)
int main ()

Variables

int keep_running


Function Documentation

void catchNotificationEvent int    signo,
siginfo_t *    info,
void *    ignored
 

Definition at line 45 of file rmSubagent.c.

References addEvent.

Referenced by main.

void daemonize  
 

Definition at line 125 of file rmSubagent.c.

Referenced by main.

int main  
 

Definition at line 56 of file rmSubagent.c.

References catchNotificationEvent, daemonize, init_RMGenericConfig, init_RMGenericControl, init_RMLeakyBucketConfig, init_RMLeakyBucketControl, init_RMMonitors, init_RMSystemInfo, init_RMThresholdConfig, init_RMThresholdControl, init_RMWatermarkConfig, initRMClient, keep_running, processEvents, shutdownRMClient, and stop_server.

RETSIGTYPE stop_server int    a
 

Definition at line 36 of file rmSubagent.c.

References keep_running.

Referenced by main.


Variable Documentation

int keep_running [static]
 

Definition at line 33 of file rmSubagent.c.

Referenced by main, and stop_server.


Generated on Tue Sep 10 16:46:34 2002 for ResourceMonitorSNMPSubagent by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002