![]() |
Icinga-core 1.4.0
next gen monitoring
|
cgi to browse through log history of a host/service More...
#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/getcgi.h"
#include "../include/cgiutils.h"
#include "../include/cgiauth.h"
#include "../include/readlogs.h"
Go to the source code of this file.
Functions | |
void | show_history (void) |
displays the requested historical log entries | |
int | process_cgivars (void) |
Parses the requested GET/POST variables. | |
int | main (void) |
Yes we need a main function. | |
Variables | |
External vars | |
char | main_config_file [MAX_FILENAME_LENGTH] |
char | url_html_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] |
int | log_rotation_method |
int | enable_splunk_integration |
int | embedded |
int | display_header |
int | daemon_check |
logentry * | entry_list |
Vars which are imported for cgiutils | |
| |
int | show_all_hostgroups = TRUE |
int | show_all_servicegroups = TRUE |
char * | host_filter = NULL |
char * | hostgroup_name = NULL |
char * | servicegroup_name = NULL |
char * | service_filter = NULL |
Internal vars | |
int | log_archive = 0 |
int | display_type = DISPLAY_HOSTS |
int | show_all_hosts = TRUE |
int | reverse = FALSE |
int | history_options = HISTORY_ALL |
int | state_options = STATE_ALL |
int | display_frills = TRUE |
int | display_timebreaks = TRUE |
int | display_system_messages = TRUE |
int | display_flapping_alerts = TRUE |
int | display_downtime_alerts = TRUE |
char * | host_name = "all" |
char * | service_desc = "" |
char | log_file_to_use [MAX_FILENAME_LENGTH] |
authdata | current_authdata |
int | CGI_ID = HISTORY_CGI_ID |
cgi to browse through log history of a host/service
Definition in file history.c.
int process_cgivars | ( | void | ) |
Parses the requested GET/POST variables.
TRUE | |
FALSE | This function parses the request and set's the necessary variables |
void show_history | ( | void | ) |
int CGI_ID = HISTORY_CGI_ID |
ID to identify the cgi for functions in cgiutils.c
int daemon_check |
Definition at line 169 of file cgiutils.c.
int display_downtime_alerts = TRUE |
int display_flapping_alerts = TRUE |
int display_frills = TRUE |
int display_header |
Definition at line 167 of file cgiutils.c.
int display_system_messages = TRUE |
int display_timebreaks = TRUE |
int display_type = DISPLAY_HOSTS |
int embedded |
Definition at line 166 of file cgiutils.c.
Definition at line 72 of file cgiutils.c.
the list with all current logentries
Definition at line 36 of file readlogs.c.
int history_options = HISTORY_ALL |
char* host_filter = NULL |
char* hostgroup_name = NULL |
int log_archive = 0 |
char log_file_to_use[MAX_FILENAME_LENGTH] |
char main_config_file[MAX_FILENAME_LENGTH] |
Definition at line 50 of file icingastats.c.
int reverse = FALSE |
char* service_desc = "" |
char* service_filter = NULL |
char* servicegroup_name = NULL |
int show_all_hostgroups = TRUE |
int show_all_hosts = TRUE |
int show_all_servicegroups = TRUE |
int state_options = STATE_ALL |
char url_html_path[MAX_FILENAME_LENGTH] |
Definition at line 38 of file cgiutils.c.
char url_images_path[MAX_FILENAME_LENGTH] |
Definition at line 41 of file cgiutils.c.
char url_js_path[MAX_FILENAME_LENGTH] |
Definition at line 44 of file cgiutils.c.
char url_stylesheets_path[MAX_FILENAME_LENGTH] |
Definition at line 43 of file cgiutils.c.