Data Structures |
struct | statusdata_struct |
struct | sort_struct |
Defines |
#define | MAX_MESSAGE_BUFFER 4096 |
#define | DISPLAY_HOSTS 0 |
#define | DISPLAY_HOSTGROUPS 1 |
#define | DISPLAY_SERVICEGROUPS 2 |
#define | STYLE_OVERVIEW 0 |
#define | STYLE_SERVICE_DETAIL 1 |
#define | STYLE_SUMMARY 2 |
#define | STYLE_GRID 3 |
#define | STYLE_HOST_DETAIL 4 |
#define | HOST_STATUS 0 |
#define | SERVICE_STATUS 1 |
Typedefs |
typedef struct statusdata_struct | statusdata |
typedef struct sort_struct | sort |
Functions |
void | grab_statusdata (void) |
int | sort_status_data (int, int, int) |
int | compare_sort_entries (int, int, int, sort *, sort *) |
void | free_sort_list (void) |
int | add_status_data (int, hoststatus *, servicestatus *) |
void | show_host_status_totals (void) |
void | show_service_status_totals (void) |
void | show_service_detail (void) |
void | show_host_detail (void) |
void | show_servicegroup_overviews (void) |
void | show_servicegroup_overview (servicegroup *) |
void | show_servicegroup_summaries (void) |
void | show_servicegroup_summary (servicegroup *, int) |
void | show_servicegroup_host_totals_summary (servicegroup *) |
void | show_servicegroup_service_totals_summary (servicegroup *) |
void | show_servicegroup_grids (void) |
void | show_servicegroup_grid (servicegroup *) |
void | show_hostgroup_overviews (void) |
void | show_hostgroup_overview (hostgroup *) |
void | show_servicegroup_hostgroup_member_overview (hoststatus *, int, void *) |
void | show_servicegroup_hostgroup_member_service_status_totals (char *, void *) |
void | show_hostgroup_summaries (void) |
void | show_hostgroup_summary (hostgroup *, int) |
void | show_hostgroup_host_totals_summary (hostgroup *) |
void | show_hostgroup_service_totals_summary (hostgroup *) |
void | show_hostgroup_grids (void) |
void | show_hostgroup_grid (hostgroup *) |
void | show_servicecommand_table (void) |
void | show_hostcommand_table (void) |
void | show_filters (void) |
int | passes_host_properties_filter (hoststatus *) |
int | passes_service_properties_filter (servicestatus *) |
int | process_cgivars (void) |
void | print_comment_icon (char *, char *) |
int | main (void) |
Variables |
time_t | program_start |
char | main_config_file [MAX_FILENAME_LENGTH] |
char | url_html_path [MAX_FILENAME_LENGTH] |
char | url_docs_path [MAX_FILENAME_LENGTH] |
char | url_images_path [MAX_FILENAME_LENGTH] |
char | url_stylesheets_path [MAX_FILENAME_LENGTH] |
char | url_js_path [MAX_FILENAME_LENGTH] |
char | url_logo_images_path [MAX_FILENAME_LENGTH] |
char | url_media_path [MAX_FILENAME_LENGTH] |
char | log_file [MAX_FILENAME_LENGTH] |
char * | service_critical_sound |
char * | service_warning_sound |
char * | service_unknown_sound |
char * | host_down_sound |
char * | host_unreachable_sound |
char * | normal_sound |
char * | notes_url_target |
char * | action_url_target |
int | suppress_alert_window |
int | enable_splunk_integration |
int | status_show_long_plugin_output |
host * | host_list |
service * | service_list |
hostgroup * | hostgroup_list |
servicegroup * | servicegroup_list |
hoststatus * | hoststatus_list |
servicestatus * | servicestatus_list |
statusdata * | statusdata_list = NULL |
statusdata * | last_statusdata = NULL |
sort * | statussort_list = NULL |
authdata | current_authdata |
time_t | current_time |
char | alert_message [MAX_MESSAGE_BUFFER] |
char * | host_name = NULL |
char * | host_filter = NULL |
char * | hostgroup_name = NULL |
char * | servicegroup_name = NULL |
char * | service_desc = NULL |
char * | service_filter = NULL |
int | host_alert = FALSE |
int | show_all_hosts = TRUE |
int | show_all_hostgroups = TRUE |
int | show_all_servicegroups = TRUE |
int | display_type = DISPLAY_HOSTS |
int | overview_columns = 3 |
int | max_grid_width = 8 |
int | group_style_type = STYLE_OVERVIEW |
int | navbar_search = FALSE |
int | user_is_authorized_for_statusdata = FALSE |
int | service_status_types = SERVICE_PENDING|SERVICE_OK|SERVICE_UNKNOWN|SERVICE_WARNING|SERVICE_CRITICAL |
int | all_service_status_types = SERVICE_PENDING|SERVICE_OK|SERVICE_UNKNOWN|SERVICE_WARNING|SERVICE_CRITICAL |
int | host_status_types = HOST_PENDING|HOST_UP|HOST_DOWN|HOST_UNREACHABLE |
int | all_host_status_types = HOST_PENDING|HOST_UP|HOST_DOWN|HOST_UNREACHABLE |
int | all_service_problems = SERVICE_UNKNOWN|SERVICE_WARNING|SERVICE_CRITICAL |
int | all_host_problems = HOST_DOWN|HOST_UNREACHABLE |
unsigned long | host_properties = 0L |
unsigned long | service_properties = 0L |
int | sort_type = SORT_NONE |
int | sort_option = SORT_HOSTNAME |
int | problem_hosts_down = 0 |
int | problem_hosts_unreachable = 0 |
int | problem_services_critical = 0 |
int | problem_services_warning = 0 |
int | problem_services_unknown = 0 |
int | refresh |
int | embedded |
int | display_header |
int | daemon_check |
int | content_type |
int | escape_html_tags |
int | add_notif_num_hard |
int | add_notif_num_soft |
char * | csv_delimiter |
char * | csv_data_enclosure |
int | CGI_ID = STATUS_CGI_ID |