cgi/outages.c File Reference

#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/comments.h"
#include "../include/statusdata.h"
#include "../include/cgiutils.h"
#include "../include/getcgi.h"
#include "../include/cgiauth.h"

Data Structures

struct  hostoutage_struct
struct  hostoutagesort_struct

Typedefs

typedef hostoutage_struct hostoutage
typedef hostoutagesort_struct hostoutagesort

Functions

int process_cgivars (void)
void display_network_outages (void)
void find_hosts_causing_outages (void)
void calculate_outage_effects (void)
void calculate_outage_effect_of_host (host *, int *, int *)
int is_route_to_host_blocked (host *)
int number_of_host_services (host *)
void add_hostoutage (host *)
void sort_hostoutages (void)
void free_hostoutage_list (void)
void free_hostoutagesort_list (void)
int main (void)

Variables

time_t program_start
hosthost_list
serviceservice_list
hoststatus * hoststatus_list
servicestatus * servicestatus_list
char main_config_file [MAX_FILENAME_LENGTH]
char url_html_path [MAX_FILENAME_LENGTH]
char url_stylesheets_path [MAX_FILENAME_LENGTH]
char url_js_path [MAX_FILENAME_LENGTH]
char url_images_path [MAX_FILENAME_LENGTH]
char url_logo_images_path [MAX_FILENAME_LENGTH]
char log_file [MAX_FILENAME_LENGTH]
int display_type = DISPLAY_HOSTS
int show_all_hosts = TRUE
int show_all_hostgroups = TRUE
int show_all_servicegroups = TRUE
char * host_name = NULL
char * host_filter = NULL
char * hostgroup_name = NULL
char * servicegroup_name = NULL
char * service_desc = NULL
char * service_filter = NULL
authdata current_authdata
hostoutagehostoutage_list = NULL
hostoutagesorthostoutagesort_list = NULL
int service_severity_divisor = 4
int embedded
int refresh
int display_header
int daemon_check
int content_type
char * csv_delimiter
char * csv_data_enclosure
int CGI_ID = OUTAGES_CGI_ID

Typedef Documentation

typedef struct hostoutage_struct hostoutage

typedef struct hostoutagesort_struct hostoutagesort


Function Documentation

void add_hostoutage ( host  ) 

void calculate_outage_effect_of_host ( host ,
int *  ,
int *   
)

void calculate_outage_effects ( void   ) 

void display_network_outages ( void   ) 

void find_hosts_causing_outages ( void   ) 

void free_hostoutage_list ( void   ) 

void free_hostoutagesort_list ( void   ) 

int is_route_to_host_blocked ( host  ) 

int main ( void   ) 

int number_of_host_services ( host  ) 

int process_cgivars ( void   ) 

void sort_hostoutages ( void   ) 


Variable Documentation

int CGI_ID = OUTAGES_CGI_ID

int content_type

char* csv_data_enclosure

char* csv_delimiter

authdata current_authdata

int daemon_check

int display_header

int display_type = DISPLAY_HOSTS

int embedded

char* host_filter = NULL

host* host_list

char* host_name = NULL

char* hostgroup_name = NULL

hostoutage* hostoutage_list = NULL

hostoutagesort* hostoutagesort_list = NULL

hoststatus* hoststatus_list

char log_file[MAX_FILENAME_LENGTH]

char main_config_file[MAX_FILENAME_LENGTH]

time_t program_start

int refresh

char* service_desc = NULL

char* service_filter = NULL

service* service_list

int service_severity_divisor = 4

char* servicegroup_name = NULL

servicestatus* servicestatus_list

int show_all_hostgroups = TRUE

int show_all_hosts = TRUE

int show_all_servicegroups = TRUE

char url_html_path[MAX_FILENAME_LENGTH]

char url_images_path[MAX_FILENAME_LENGTH]

char url_js_path[MAX_FILENAME_LENGTH]

char url_logo_images_path[MAX_FILENAME_LENGTH]

char url_stylesheets_path[MAX_FILENAME_LENGTH]


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