![]() |
Icinga-core 1.4.0
next gen monitoring
|
#include "../include/config.h"
#include "../include/common.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.
Defines | |
#define | FIND_HOST 1 |
#define | FIND_CONTACT 2 |
#define | FIND_SERVICE 3 |
Functions | |
void | display_notifications (void) |
int | process_cgivars (void) |
int | main (void) |
Variables | |
char | main_config_file [MAX_FILENAME_LENGTH] |
char | url_html_path [MAX_FILENAME_LENGTH] |
char | url_images_path [MAX_FILENAME_LENGTH] |
char | url_docs_path [MAX_FILENAME_LENGTH] |
char | url_stylesheets_path [MAX_FILENAME_LENGTH] |
char | url_js_path [MAX_FILENAME_LENGTH] |
int | log_rotation_method |
int | embedded |
int | display_header |
int | daemon_check |
int | content_type |
logentry * | entry_list |
char * | csv_delimiter |
char * | csv_data_enclosure |
authdata | current_authdata |
int | log_archive = 0 |
int | query_type = FIND_HOST |
int | find_all = TRUE |
int | notification_options = NOTIFICATION_ALL |
int | reverse = FALSE |
int | display_type = DISPLAY_HOSTS |
int | show_all_hosts = TRUE |
int | show_all_hostgroups = TRUE |
int | show_all_servicegroups = TRUE |
char | log_file_to_use [MAX_FILENAME_LENGTH] |
char * | query_contact_name = "" |
char * | query_host_name = "" |
char * | query_svc_description = "" |
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 | CGI_ID = NOTIFICATIONS_CGI_ID |
#define FIND_CONTACT 2 |
Definition at line 55 of file notifications.c.
#define FIND_HOST 1 |
Definition at line 54 of file notifications.c.
#define FIND_SERVICE 3 |
Definition at line 56 of file notifications.c.
void display_notifications | ( | void | ) |
Definition at line 430 of file notifications.c.
int main | ( | void | ) |
Definition at line 86 of file notifications.c.
int process_cgivars | ( | void | ) |
int CGI_ID = NOTIFICATIONS_CGI_ID |
ID to identify the cgi for functions in cgiutils.c
Definition at line 81 of file notifications.c.
int content_type |
Definition at line 165 of file cgiutils.c.
char* csv_data_enclosure |
Definition at line 66 of file cgiutils.c.
char* csv_delimiter |
Definition at line 65 of file cgiutils.c.
Definition at line 58 of file notifications.c.
int daemon_check |
Definition at line 169 of file cgiutils.c.
int display_header |
Definition at line 167 of file cgiutils.c.
int display_type = DISPLAY_HOSTS |
determine the view (host/service)
Definition at line 65 of file notifications.c.
int embedded |
Definition at line 166 of file cgiutils.c.
the list with all current logentries
Definition at line 36 of file readlogs.c.
int find_all = TRUE |
Definition at line 62 of file notifications.c.
char* host_filter = NULL |
Definition at line 75 of file notifications.c.
char* host_name = NULL |
char* hostgroup_name = NULL |
requested hostgroup name
Definition at line 76 of file notifications.c.
int log_archive = 0 |
Definition at line 60 of file notifications.c.
char log_file_to_use[MAX_FILENAME_LENGTH] |
Definition at line 70 of file notifications.c.
char main_config_file[MAX_FILENAME_LENGTH] |
Definition at line 50 of file icingastats.c.
int notification_options = NOTIFICATION_ALL |
Definition at line 63 of file notifications.c.
char* query_contact_name = "" |
Definition at line 71 of file notifications.c.
char* query_host_name = "" |
Definition at line 72 of file notifications.c.
char* query_svc_description = "" |
Definition at line 73 of file notifications.c.
int query_type = FIND_HOST |
Definition at line 61 of file notifications.c.
int reverse = FALSE |
Definition at line 64 of file notifications.c.
char* service_desc = NULL |
char* service_filter = NULL |
Definition at line 79 of file notifications.c.
char* servicegroup_name = NULL |
requested servicegroup name
Definition at line 77 of file notifications.c.
int show_all_hostgroups = TRUE |
Definition at line 67 of file notifications.c.
int show_all_hosts = TRUE |
if historical data is requested for all hosts
Definition at line 66 of file notifications.c.
int show_all_servicegroups = TRUE |
Definition at line 68 of file notifications.c.
char url_docs_path[MAX_FILENAME_LENGTH] |
Definition at line 39 of file cgiutils.c.
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.