#include "macros.h"| int add_object_to_objectlist | ( | objectlist ** | list, | |
| void * | object_ptr | |||
| ) |
| int broker_host_check | ( | int | type, | |
| int | flags, | |||
| int | attr, | |||
| host * | hst, | |||
| int | check_type, | |||
| int | state, | |||
| int | state_type, | |||
| struct timeval | start_time, | |||
| struct timeval | end_time, | |||
| char * | cmd, | |||
| double | latency, | |||
| double | exectime, | |||
| int | timeout, | |||
| int | early_timeout, | |||
| int | retcode, | |||
| char * | cmdline, | |||
| char * | output, | |||
| char * | long_output, | |||
| char * | perfdata, | |||
| struct timeval * | timestamp | |||
| ) |
| void broker_log_data | ( | int | a, | |
| int | b, | |||
| int | c, | |||
| char * | d, | |||
| unsigned long | e, | |||
| time_t | f, | |||
| struct timeval * | g | |||
| ) |
| int broker_service_check | ( | int | type, | |
| int | flags, | |||
| int | attr, | |||
| service * | svc, | |||
| int | check_type, | |||
| struct timeval | start_time, | |||
| struct timeval | end_time, | |||
| char * | cmd, | |||
| double | latency, | |||
| double | exectime, | |||
| int | timeout, | |||
| int | early_timeout, | |||
| int | retcode, | |||
| char * | cmdline, | |||
| struct timeval * | timestamp | |||
| ) |
| void broker_timed_event | ( | int | int1, | |
| int | int2, | |||
| int | int3, | |||
| timed_event * | timed_event1, | |||
| struct timeval * | timeval1 | |||
| ) |
| int check_for_expired_comment | ( | unsigned long | temp_long | ) |
| int check_for_expired_downtime | ( | void | ) |
| int check_for_external_commands | ( | void | ) |
| void check_for_host_flapping | ( | host * | hst, | |
| int | update, | |||
| int | actual_check, | |||
| int | allow_flapstart_notification | |||
| ) |
| void check_for_service_flapping | ( | service * | svc, | |
| int | update, | |||
| int | allow_flapstart_notification | |||
| ) |
| int check_pending_flex_service_downtime | ( | service * | svc | ) |
| int check_time_against_period | ( | time_t | time_t1, | |
| timeperiod * | timeperiod | |||
| ) |
| int clear_host_macros_r | ( | icinga_macros * | mac | ) |
clear host macros the thread-safe version
| int clear_service_macros_r | ( | icinga_macros * | mac | ) |
clear service macros the thread-safe version
| int clear_volatile_macros_r | ( | icinga_macros * | mac | ) |
clear all macros that are not "constant" (i.e. they change throughout the course of monitoring) the thread-safe version
| int close_command_file | ( | void | ) |
| int compare_strings | ( | char * | val1a, | |
| char * | val2a | |||
| ) |
| int dbuf_free | ( | dbuf * | db | ) |
| int dbuf_init | ( | dbuf * | db, | |
| int | chunk_size | |||
| ) |
| int dbuf_strcat | ( | dbuf * | db, | |
| char * | buf | |||
| ) |
| int delete_check_result_file | ( | char * | fname | ) |
| int delete_service_acknowledgement_comments | ( | service * | svc | ) |
| char* escape_newlines | ( | char * | rawbuf | ) |
| host* find_host | ( | char * | name | ) |
| service* find_service | ( | char * | host_name, | |
| char * | svc_desc | |||
| ) |
| int free_check_result | ( | check_result * | info | ) |
| void free_memory | ( | icinga_macros * | mac | ) |
| int free_objectlist | ( | objectlist ** | temp_list | ) |
| hostdependency* get_first_hostdependency_by_dependent_host | ( | char * | host_name, | |
| void ** | ptr | |||
| ) |
| servicedependency* get_first_servicedependency_by_dependent_service | ( | char * | host_name, | |
| char * | svc_description, | |||
| void ** | ptr | |||
| ) |
| time_t get_next_host_notification_time | ( | host * | temp_host, | |
| time_t | time_t1 | |||
| ) |
| hostdependency* get_next_hostdependency_by_dependent_host | ( | char * | host_name, | |
| void ** | ptr | |||
| ) |
| time_t get_next_log_rotation_time | ( | void | ) |
| time_t get_next_service_notification_time | ( | service * | temp_service, | |
| time_t | time_t1 | |||
| ) |
| servicedependency* get_next_servicedependency_by_dependent_service | ( | char * | host_name, | |
| char * | svc_description, | |||
| void ** | ptr | |||
| ) |
| void get_next_valid_time | ( | time_t | time_t1, | |
| time_t * | time_t2, | |||
| timeperiod * | temp_timeperiod | |||
| ) |
| int get_raw_command_line | ( | command * | a, | |
| char * | b, | |||
| char ** | c, | |||
| int | d | |||
| ) |
| int get_raw_command_line_r | ( | icinga_macros * | mac, | |
| command * | a, | |||
| char * | b, | |||
| char ** | c, | |||
| int | d | |||
| ) |
| void get_time_breakdown | ( | unsigned long | long1, | |
| int * | int1, | |||
| int * | int2, | |||
| int * | int3, | |||
| int * | int4 | |||
| ) |
| int grab_host_macros | ( | icinga_macros * | mac, | |
| host * | hst | |||
| ) |
| int grab_service_macros | ( | icinga_macros * | mac, | |
| service * | svc | |||
| ) |
| int handle_host_event | ( | host * | hst | ) |
| int handle_host_state | ( | host * | hst | ) |
| int handle_scheduled_downtime_by_id | ( | unsigned long | long1 | ) |
| int handle_service_event | ( | service * | svc | ) |
| int has_shell_metachars | ( | const char * | s | ) |
| void host_check_sighandler | ( | int | sig | ) |
| int host_notification | ( | host * | hst, | |
| int | type, | |||
| char * | not_author, | |||
| char * | not_data, | |||
| int | options | |||
| ) |
| int log_host_event | ( | host * | hst | ) |
| int log_service_event | ( | service * | svc | ) |
| void logit | ( | int | int1, | |
| int | int2, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
| int move_check_result_to_queue | ( | char * | checkresult_file | ) |
| int my_system_r | ( | icinga_macros * | mac, | |
| char * | cmd, | |||
| int | timeout, | |||
| int * | early_timeout, | |||
| double * | exectime, | |||
| char ** | output, | |||
| int | max_output_length | |||
| ) |
| int obsessive_compulsive_service_check_processor | ( | service * | svc | ) |
| int parse_check_output | ( | char * | buf, | |
| char ** | short_output, | |||
| char ** | long_output, | |||
| char ** | perf_data, | |||
| int | escape_newlines_please, | |||
| int | newlines_are_escaped | |||
| ) |
| int process_check_result_queue | ( | char * | dirname | ) |
| int process_macros | ( | char * | a, | |
| char ** | b, | |||
| int | c | |||
| ) |
| int process_macros_r | ( | icinga_macros * | mac, | |
| char * | a, | |||
| char ** | b, | |||
| int | c | |||
| ) |
replace macros in notification commands with their values, the thread-safe version
| void process_passive_checks | ( | void | ) |
| int process_passive_service_check | ( | time_t | check_time, | |
| char * | host_name, | |||
| char * | svc_description, | |||
| int | return_code, | |||
| char * | output | |||
| ) |
| int pthread_mutex_trylock | ( | pthread_mutex_t * | mutex | ) |
| check_result* read_check_result | ( | void | ) |
| void remove_event | ( | timed_event * | event, | |
| timed_event ** | event_list, | |||
| timed_event ** | event_list_tail | |||
| ) |
| void reschedule_event | ( | timed_event * | event, | |
| timed_event ** | event_list, | |||
| timed_event ** | event_list_tail | |||
| ) |
| void reset_sighandler | ( | void | ) |
| int rotate_log_file | ( | time_t | time_t1 | ) |
| int save_state_information | ( | int | int1 | ) |
| void service_check_sighandler | ( | int | sig | ) |
| int service_notification | ( | service * | svc, | |
| int | type, | |||
| char * | not_author, | |||
| char * | not_data, | |||
| int | options | |||
| ) |
| int set_all_macro_environment_vars | ( | icinga_macros * | mac, | |
| int | set | |||
| ) |
| void strip | ( | char * | s | ) |
| int update_all_status_data | ( | void | ) |
| int update_check_stats | ( | int | check_type, | |
| time_t | check_time | |||
| ) |
| int update_host_status | ( | host * | hst, | |
| int | aggregated_dump | |||
| ) |
| int update_service_performance_data | ( | service * | svc | ) |
| int update_service_status | ( | service * | svc, | |
| int | aggregated_dump | |||
| ) |
| int accept_passive_host_checks = TRUE |
| int accept_passive_service_checks = TRUE |
| int additional_freshness_latency = DEFAULT_ADDITIONAL_FRESHNESS_LATENCY |
| char alert_message |
| unsigned long cached_host_check_horizon = DEFAULT_CACHED_HOST_CHECK_HORIZON |
| unsigned long cached_service_check_horizon = DEFAULT_CACHED_SERVICE_CHECK_HORIZON |
| char* check_result_path = NULL |
| char* config_file = "etc/icinga.cfg" |
| int currently_running_host_checks = 0 |
| int daemon_mode = TRUE |
| char* debug_file = "" |
| int debug_level |
| int debug_verbosity |
| int display_type |
| int enable_predictive_host_dependency_checks = DEFAULT_ENABLE_PREDICTIVE_HOST_DEPENDENCY_CHECKS |
| int enable_predictive_service_dependency_checks = DEFAULT_ENABLE_PREDICTIVE_SERVICE_DEPENDENCY_CHECKS |
| timed_event* event_list_low = NULL |
| timed_event* event_list_low_tail = NULL |
| time_t event_start |
| int execute_service_checks = 1 |
| int free_child_process_memory = -1 |
| int group_style_type |
| int host_alert |
| int host_check_timeout = DEFAULT_HOST_CHECK_TIMEOUT |
| char* host_filter |
| char* host_name |
| char* hostgroup_name |
| int interval_length = 60 |
| time_t last_command_check |
| time_t last_log_rotation |
| char* log_archive_path = "var" |
| char* log_file = "var/icinga.log" |
| int log_passive_checks = TRUE |
| int log_service_event_flag = 0 |
| unsigned long logging_options = NSLOG_PROCESS_INFO |
| int max_check_reaper_time = DEFAULT_MAX_REAPER_TIME |
| unsigned long max_debug_file_size = DEFAULT_MAX_DEBUG_FILE_SIZE |
| unsigned long max_debug_file_size |
| int max_grid_width |
| int navbar_search |
| unsigned long next_event_id = 0L |
| unsigned long next_problem_id = 0L |
| int obsess_over_services = FALSE |
| int overview_columns |
| int passive_host_checks_are_soft = DEFAULT_PASSIVE_HOST_CHECKS_SOFT |
| time_t program_start |
| char* service_desc |
| char* service_filter |
| service* service_list = NULL |
| char* servicegroup_name |
| int show_all_hosts |
| int sigrestart = FALSE |
| int sigshutdown = FALSE |
| double sleep_time |
| int soft_state_dependencies = FALSE |
| unsigned long syslog_options |
| char* temp_file = "" |
| char* temp_path |
| int test_scheduling |
| int test_scheduling |
| int translate_passive_host_checks = DEFAULT_TRANSLATE_PASSIVE_HOST_CHECKS |
| int use_aggressive_host_checking = FALSE |
| int use_daemon_log |
| int use_syslog = 0 |
| int verify_config |
1.4.7