cgi/extinfo.c File Reference

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

Data Structures

struct  sortdata_struct

Defines

#define MAX_MESSAGE_BUFFER   4096
#define HEALTH_WARNING_PERCENTAGE   85
#define HEALTH_CRITICAL_PERCENTAGE   75

Typedefs

typedef sortdata_struct sortdata

Functions

int process_cgivars (void)
void show_process_info (void)
void show_host_info (void)
void show_service_info (void)
void show_performance_data (void)
void show_hostgroup_info (void)
void show_servicegroup_info (void)
void show_downtime (void)
void show_scheduling_queue (void)
void show_comments (int)
int sort_data (int, int)
int compare_sortdata_entries (int, int, sortdata *, sortdata *)
void free_sortdata_list (void)
int main (void)

Variables

static icinga_macrosmac
char nagios_check_command [MAX_INPUT_BUFFER]
char nagios_process_info [MAX_INPUT_BUFFER]
int nagios_process_state
time_t program_start
int nagios_pid
int daemon_mode
time_t last_command_check
time_t last_log_rotation
int enable_notifications
int execute_service_checks
int accept_passive_service_checks
int execute_host_checks
int accept_passive_host_checks
int enable_event_handlers
int obsess_over_services
int obsess_over_hosts
int enable_flap_detection
int enable_failure_prediction
int process_performance_data
int buffer_stats [1][3]
int program_stats [MAX_CHECK_STATS_TYPES][3]
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_docs_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 enable_splunk_integration
char * notes_url_target
char * action_url_target
commentcomment_list
scheduled_downtimescheduled_downtime_list
hoststatus * hoststatus_list
servicestatus * servicestatus_list
hostgrouphostgroup_list
servicegroupservicegroup_list
authdata current_authdata
sortdatasortdata_list = NULL
char * host_name = ""
char * hostgroup_name = ""
char * servicegroup_name = ""
char * service_desc = ""
int display_type = DISPLAY_PROCESS_INFO
int show_all_hosts = TRUE
int show_all_hostgroups = TRUE
int show_all_servicegroups = TRUE
int sort_type = SORT_ASCENDING
int sort_option = SORT_NEXTCHECKTIME
int embedded
int refresh
int display_header
int daemon_check
int content_type
char * csv_delimiter
char * csv_data_enclosure
int CGI_ID = EXTINFO_CGI_ID

Define Documentation

#define HEALTH_CRITICAL_PERCENTAGE   75

#define HEALTH_WARNING_PERCENTAGE   85

#define MAX_MESSAGE_BUFFER   4096


Typedef Documentation

typedef struct sortdata_struct sortdata


Function Documentation

int compare_sortdata_entries ( int  ,
int  ,
sortdata ,
sortdata  
)

void free_sortdata_list ( void   ) 

int main ( void   ) 

int process_cgivars ( void   ) 

void show_comments ( int   ) 

void show_downtime ( void   ) 

void show_host_info ( void   ) 

void show_hostgroup_info ( void   ) 

void show_performance_data ( void   ) 

void show_process_info ( void   ) 

void show_scheduling_queue ( void   ) 

void show_service_info ( void   ) 

void show_servicegroup_info ( void   ) 

int sort_data ( int  ,
int   
)


Variable Documentation

int accept_passive_host_checks

int accept_passive_service_checks

char* action_url_target

int buffer_stats[1][3]

int CGI_ID = EXTINFO_CGI_ID

comment* comment_list

int content_type

char* csv_data_enclosure

char* csv_delimiter

authdata current_authdata

int daemon_check

int daemon_mode

int display_header

int display_type = DISPLAY_PROCESS_INFO

int embedded

int enable_event_handlers

int enable_failure_prediction

int enable_flap_detection

int enable_notifications

int enable_splunk_integration

int execute_host_checks

int execute_service_checks

char* host_name = ""

hostgroup* hostgroup_list

char* hostgroup_name = ""

hoststatus* hoststatus_list

time_t last_command_check

time_t last_log_rotation

char log_file[MAX_FILENAME_LENGTH]

icinga_macros* mac [static]

char main_config_file[MAX_FILENAME_LENGTH]

char nagios_check_command[MAX_INPUT_BUFFER]

int nagios_pid

char nagios_process_info[MAX_INPUT_BUFFER]

int nagios_process_state

char* notes_url_target

int obsess_over_hosts

int obsess_over_services

int process_performance_data

time_t program_start

int program_stats[MAX_CHECK_STATS_TYPES][3]

int refresh

scheduled_downtime* scheduled_downtime_list

char* service_desc = ""

servicegroup* servicegroup_list

char* servicegroup_name = ""

servicestatus* servicestatus_list

int show_all_hostgroups = TRUE

int show_all_hosts = TRUE

int show_all_servicegroups = TRUE

int sort_option = SORT_NEXTCHECKTIME

int sort_type = SORT_ASCENDING

sortdata* sortdata_list = NULL

char url_docs_path[MAX_FILENAME_LENGTH]

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