#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/statusdata.h"
#include "../include/getcgi.h"
#include "../include/cgiutils.h"
#include "../include/cgiauth.h"
#define HEALTH_CRITICAL_PERCENTAGE 75 |
#define HEALTH_WARNING_PERCENTAGE 90 |
typedef struct hostoutage_struct hostoutage |
void add_hostoutage | ( | host * | ) |
void analyze_status_data | ( | void | ) |
void calculate_outage_effect_of_host | ( | host * | , | |
int * | ||||
) |
void display_tac_overview | ( | void | ) |
void find_hosts_causing_outages | ( | void | ) |
void free_hostoutage_list | ( | void | ) |
int is_route_to_host_blocked | ( | host * | ) |
int main | ( | void | ) |
int number_of_host_services | ( | host * | ) |
int process_cgivars | ( | void | ) |
int active_checks_disabled_hosts = 0 |
int active_checks_disabled_services = 0 |
double average_host_execution_time = -1.0 |
double average_host_latency = -1.0 |
double average_service_execution_time = -1.0 |
double average_service_latency = -1.0 |
int CGI_ID = TAC_CGI_ID |
int daemon_check |
int display_header |
int display_type = DISPLAY_HOSTS |
int embedded |
int event_handler_disabled_hosts = 0 |
int event_handler_disabled_services = 0 |
int flap_disabled_hosts = 0 |
int flap_disabled_services = 0 |
int flapping_hosts = 0 |
int flapping_services = 0 |
char* host_down_sound |
char* host_filter = NULL |
char* host_name = NULL |
char* host_unreachable_sound |
char* hostgroup_name = NULL |
hostoutage* hostoutage_list = NULL |
int hosts_down = 0 |
int hosts_down_acknowledged = 0 |
int hosts_down_disabled = 0 |
int hosts_down_scheduled = 0 |
int hosts_down_unacknowledged = 0 |
int hosts_pending = 0 |
int hosts_pending_disabled = 0 |
int hosts_unreachable = 0 |
int hosts_unreachable_acknowledged = 0 |
int hosts_unreachable_disabled = 0 |
int hosts_unreachable_scheduled = 0 |
int hosts_unreachable_unacknowledged = 0 |
int hosts_up = 0 |
int hosts_up_disabled = 0 |
int hosts_up_unacknowledged = 0 |
hoststatus* hoststatus_list |
char main_config_file[MAX_FILENAME_LENGTH] |
double max_host_execution_time = -1.0 |
double max_host_latency = -1.0 |
double max_service_execution_time = -1.0 |
double max_service_latency = -1.0 |
double min_host_execution_time = -1.0 |
double min_host_latency = -1.0 |
double min_service_execution_time = -1.0 |
double min_service_latency = -1.0 |
char* normal_sound |
int notification_disabled_hosts = 0 |
int notification_disabled_services = 0 |
int passive_checks_disabled_hosts = 0 |
int passive_checks_disabled_services = 0 |
double percent_host_health = 0.0 |
double percent_service_health = 0.0 |
int potential_host_health = 0 |
int potential_service_health = 0 |
int refresh |
char* service_critical_sound |
char* service_desc = NULL |
char* service_filter = NULL |
char* service_unknown_sound |
char* service_warning_sound |
char* servicegroup_name = NULL |
int services_critical = 0 |
int services_critical_acknowledged = 0 |
int services_critical_disabled = 0 |
int services_critical_host_problem = 0 |
int services_critical_scheduled = 0 |
int services_critical_unacknowledged = 0 |
int services_ok = 0 |
int services_ok_disabled = 0 |
int services_ok_unacknowledged = 0 |
int services_pending = 0 |
int services_pending_disabled = 0 |
int services_unknown = 0 |
int services_unknown_acknowledged = 0 |
int services_unknown_disabled = 0 |
int services_unknown_host_problem = 0 |
int services_unknown_scheduled = 0 |
int services_unknown_unacknowledged = 0 |
int services_warning = 0 |
int services_warning_acknowledged = 0 |
int services_warning_disabled = 0 |
int services_warning_host_problem = 0 |
int services_warning_scheduled = 0 |
int services_warning_unacknowledged = 0 |
servicestatus* servicestatus_list |
int show_all_hostgroups = TRUE |
int show_all_hosts = TRUE |
int show_all_servicegroups = TRUE |
int total_active_host_checks = 0 |
int total_active_service_checks = 0 |
int total_blocking_outages = 0 |
double total_host_execution_time = 0.0 |
int total_host_health = 0 |
double total_host_latency = 0.0 |
int total_hosts = 0 |
int total_nonblocking_outages = 0 |
int total_passive_host_checks = 0 |
int total_passive_service_checks = 0 |
double total_service_execution_time = 0.0 |
int total_service_health = 0 |
double total_service_latency = 0.0 |
int total_services = 0 |
char url_html_path[MAX_FILENAME_LENGTH] |
char url_images_path[MAX_FILENAME_LENGTH] |
char url_js_path[MAX_FILENAME_LENGTH] |
char url_media_path[MAX_FILENAME_LENGTH] |
char url_stylesheets_path[MAX_FILENAME_LENGTH] |