#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/macros.h"
#include "../include/icinga.h"
#include "../include/broker.h"
#include "../include/nebmods.h"
#include "../include/nebmodules.h"
#define dfs_get_status | ( | h | ) | h->circular_path_checked |
#define dfs_host_status | ( | h | ) | (h ? dfs_get_status(h) : DFS_OK) |
#define DFS_LOOPY 4 |
#define DFS_NEAR_LOOP 3 |
#define DFS_OK 2 |
#define dfs_set_status | ( | h, | |||
flag | ) | h->circular_path_checked = (flag) |
#define DFS_TEMP_CHECKED 1 |
#define DFS_UNCHECKED 0 |
#define dfs_unset_status | ( | h | ) | h->circular_path_checked = 0 |
static int dfs_host_path | ( | host * | root | ) | [static] |
Modified version of Depth-first Search http://en.wikipedia.org/wiki/Depth-first_search
int pre_flight_check | ( | void | ) |
int pre_flight_circular_check | ( | int * | w, | |
int * | e | |||
) |
int pre_flight_object_check | ( | int * | w, | |
int * | e | |||
) |
int read_all_object_data | ( | char * | main_config_file | ) |
int read_main_config_file | ( | char * | main_config_file | ) |
int read_resource_file | ( | char * | resource_file | ) |
char* auth_file |
unsigned long cached_host_check_horizon |
unsigned long cached_service_check_horizon |
char* check_result_path |
char* command_file |
int daemon_mode |
int date_format |
char* debug_file |
int debug_level |
int debug_verbosity |
unsigned long event_broker_options |
double high_host_flap_threshold |
double high_service_flap_threshold |
char* illegal_object_chars |
char* illegal_output_chars |
int interval_length |
char* lock_file |
char* log_archive_path |
char* log_file |
int log_host_retries |
double low_host_flap_threshold |
double low_service_flap_threshold |
char* macro_user[MAX_USER_MACROS] |
unsigned long max_check_result_file_age |
unsigned long max_debug_file_size |
char* nagios_group |
char* nagios_user |
char* ochp_command |
int ochp_timeout |
char* ocsp_command |
int ocsp_timeout |
char* p1_file |
int precache_objects |
unsigned long retained_contact_host_attribute_mask |
unsigned long retained_contact_service_attribute_mask |
unsigned long retained_host_attribute_mask |
unsigned long retained_process_host_attribute_mask |
unsigned long retained_process_service_attribute_mask |
unsigned long retained_service_attribute_mask |
double sleep_time |
char* temp_file |
char* temp_path |
int test_scheduling |
int use_daemon_log |
int use_syslog |
char* use_timezone |
int verify_config |