xdata/xpddefault.c File Reference

#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/macros.h"
#include "../include/icinga.h"
#include "xpddefault.h"

Functions

int xpddefault_grab_config_info (char *config_file)
int xpddefault_grab_config_directives (char *input)
int xpddefault_initialize_performance_data (char *config_file)
int xpddefault_cleanup_performance_data (char *config_file)
int xpddefault_update_service_performance_data (service *svc)
int xpddefault_update_host_performance_data (host *hst)
int xpddefault_run_service_performance_data_command (icinga_macros *mac, service *svc)
int xpddefault_run_host_performance_data_command (icinga_macros *mac, host *hst)
int xpddefault_open_host_perfdata_file (void)
int xpddefault_open_service_perfdata_file (void)
int xpddefault_close_host_perfdata_file (void)
int xpddefault_close_service_perfdata_file (void)
int xpddefault_preprocess_file_templates (char *template)
int xpddefault_update_service_performance_data_file (icinga_macros *mac, service *svc)
int xpddefault_update_host_performance_data_file (icinga_macros *mac, host *hst)
int xpddefault_process_host_perfdata_file (void)
int xpddefault_process_service_perfdata_file (void)

Variables

int xpddefault_perfdata_timeout
char * xpddefault_host_perfdata_command = NULL
char * xpddefault_service_perfdata_command = NULL
commandxpddefault_host_perfdata_command_ptr = NULL
commandxpddefault_service_perfdata_command_ptr = NULL
char * xpddefault_host_perfdata_file_template = NULL
char * xpddefault_service_perfdata_file_template = NULL
char * xpddefault_host_perfdata_file = NULL
char * xpddefault_service_perfdata_file = NULL
int xpddefault_host_perfdata_file_append = TRUE
int xpddefault_service_perfdata_file_append = TRUE
int xpddefault_host_perfdata_file_pipe = FALSE
int xpddefault_service_perfdata_file_pipe = FALSE
unsigned long xpddefault_host_perfdata_file_processing_interval = 0L
unsigned long xpddefault_service_perfdata_file_processing_interval = 0L
char * xpddefault_host_perfdata_file_processing_command = NULL
char * xpddefault_service_perfdata_file_processing_command = NULL
commandxpddefault_host_perfdata_file_processing_command_ptr = NULL
commandxpddefault_service_perfdata_file_processing_command_ptr = NULL
FILE * xpddefault_host_perfdata_fp = NULL
FILE * xpddefault_service_perfdata_fp = NULL
int xpddefault_host_perfdata_fd = -1
int xpddefault_service_perfdata_fd = -1
static pthread_mutex_t xpddefault_host_perfdata_fp_lock
static pthread_mutex_t xpddefault_service_perfdata_fp_lock

Function Documentation

int xpddefault_cleanup_performance_data ( char *  config_file  ) 

int xpddefault_close_host_perfdata_file ( void   ) 

int xpddefault_close_service_perfdata_file ( void   ) 

int xpddefault_grab_config_directives ( char *  input  ) 

int xpddefault_grab_config_info ( char *  config_file  ) 

int xpddefault_initialize_performance_data ( char *  config_file  ) 

int xpddefault_open_host_perfdata_file ( void   ) 

int xpddefault_open_service_perfdata_file ( void   ) 

int xpddefault_preprocess_file_templates ( char *  template  ) 

int xpddefault_process_host_perfdata_file ( void   ) 

int xpddefault_process_service_perfdata_file ( void   ) 

int xpddefault_run_host_performance_data_command ( icinga_macros mac,
host hst 
)

int xpddefault_run_service_performance_data_command ( icinga_macros mac,
service svc 
)

int xpddefault_update_host_performance_data ( host hst  ) 

int xpddefault_update_host_performance_data_file ( icinga_macros mac,
host hst 
)

int xpddefault_update_service_performance_data ( service svc  ) 

int xpddefault_update_service_performance_data_file ( icinga_macros mac,
service svc 
)


Variable Documentation

char* xpddefault_host_perfdata_command = NULL

command* xpddefault_host_perfdata_command_ptr = NULL

int xpddefault_host_perfdata_fd = -1

char* xpddefault_host_perfdata_file = NULL

int xpddefault_host_perfdata_file_append = TRUE

int xpddefault_host_perfdata_file_pipe = FALSE

char* xpddefault_host_perfdata_file_processing_command = NULL

command* xpddefault_host_perfdata_file_processing_command_ptr = NULL

unsigned long xpddefault_host_perfdata_file_processing_interval = 0L

char* xpddefault_host_perfdata_file_template = NULL

FILE* xpddefault_host_perfdata_fp = NULL

pthread_mutex_t xpddefault_host_perfdata_fp_lock [static]

int xpddefault_perfdata_timeout

char* xpddefault_service_perfdata_command = NULL

command* xpddefault_service_perfdata_command_ptr = NULL

int xpddefault_service_perfdata_fd = -1

char* xpddefault_service_perfdata_file = NULL

int xpddefault_service_perfdata_file_append = TRUE

int xpddefault_service_perfdata_file_pipe = FALSE

char* xpddefault_service_perfdata_file_processing_command = NULL

command* xpddefault_service_perfdata_file_processing_command_ptr = NULL

unsigned long xpddefault_service_perfdata_file_processing_interval = 0L

char* xpddefault_service_perfdata_file_template = NULL

FILE* xpddefault_service_perfdata_fp = NULL

pthread_mutex_t xpddefault_service_perfdata_fp_lock [static]


Generated on Wed Mar 30 17:22:23 2011 for icinga-core by  doxygen 1.4.7