#include "config.h"#include "logging.h"#include "common.h"#include "locations.h"#include "objects.h"#include "macros.h"Go to the source code of this file.
| #define __attribute__ | ( | x | ) |
| #define ACTIVE_DOWNTIME 0 |
| #define CHECK_STATS_BUCKETS 15 |
| #define COMMAND_WORKER_THREAD 0 |
| #define CURRENT_STATES 2 |
| #define DEFAULT_ADDITIONAL_FRESHNESS_LATENCY 15 |
| #define DEFAULT_AGGRESSIVE_HOST_CHECKING 0 |
| #define DEFAULT_ALLOW_EMPTY_HOSTGROUP_ASSIGNMENT 0 |
| #define DEFAULT_AUTO_RESCHEDULE_CHECKS 0 |
| #define DEFAULT_AUTO_RESCHEDULING_INTERVAL 30 |
| #define DEFAULT_AUTO_RESCHEDULING_WINDOW 180 |
| #define DEFAULT_CACHED_HOST_CHECK_HORIZON 15 |
| #define DEFAULT_CACHED_SERVICE_CHECK_HORIZON 15 |
| #define DEFAULT_CHECK_EXTERNAL_COMMANDS 1 |
| #define DEFAULT_CHECK_HOST_FRESHNESS 0 |
| #define DEFAULT_CHECK_ORPHANED_HOSTS 1 |
| #define DEFAULT_CHECK_ORPHANED_SERVICES 1 |
| #define DEFAULT_CHECK_REAPER_INTERVAL 10 |
| #define DEFAULT_CHECK_SERVICE_FRESHNESS 1 |
| #define DEFAULT_COMMAND_CHECK_INTERVAL -1 |
| #define DEFAULT_DEBUG_LEVEL 0 |
| #define DEFAULT_DEBUG_VERBOSITY 1 |
| #define DEFAULT_ENABLE_EMBEDDED_PERL 0 |
| #define DEFAULT_ENABLE_FLAP_DETECTION 0 |
| #define DEFAULT_ENABLE_PREDICTIVE_HOST_DEPENDENCY_CHECKS 1 |
| #define DEFAULT_ENABLE_PREDICTIVE_SERVICE_DEPENDENCY_CHECKS 1 |
| #define DEFAULT_EVENT_HANDLER_TIMEOUT 30 |
| #define DEFAULT_EXTERNAL_COMMAND_BUFFER_SLOTS 4096 |
| #define DEFAULT_FRESHNESS_CHECK_INTERVAL 60 |
| #define DEFAULT_HIGH_HOST_FLAP_THRESHOLD 30.0 |
| #define DEFAULT_HIGH_SERVICE_FLAP_THRESHOLD 30.0 |
| #define DEFAULT_HOST_CHECK_SPREAD 30 |
| #define DEFAULT_HOST_CHECK_TIMEOUT 30 |
| #define DEFAULT_INTER_CHECK_DELAY 5.0 |
| #define DEFAULT_INTERLEAVE_FACTOR 1 |
| #define DEFAULT_INTERVAL_LENGTH 60 |
| #define DEFAULT_LOG_CURRENT_STATES 1 |
| #define DEFAULT_LOG_EVENT_HANDLERS 1 |
| #define DEFAULT_LOG_EXTERNAL_COMMANDS 1 |
| #define DEFAULT_LOG_EXTERNAL_COMMANDS_USER 0 |
| #define DEFAULT_LOG_HOST_RETRIES 0 |
| #define DEFAULT_LOG_INITIAL_STATES 0 |
| #define DEFAULT_LOG_LEVEL 1 |
| #define DEFAULT_LOG_LONG_PLUGIN_OUTPUT 0 |
| #define DEFAULT_LOG_PASSIVE_CHECKS 1 |
| #define DEFAULT_LOG_SERVICE_RETRIES 0 |
| #define DEFAULT_LOW_HOST_FLAP_THRESHOLD 20.0 |
| #define DEFAULT_LOW_SERVICE_FLAP_THRESHOLD 20.0 |
| #define DEFAULT_MAX_CHECK_RESULT_AGE 3600 |
| #define DEFAULT_MAX_DEBUG_FILE_SIZE 1000000 |
| #define DEFAULT_MAX_PARALLEL_SERVICE_CHECKS 0 |
| #define DEFAULT_MAX_REAPER_TIME 30 |
| #define DEFAULT_NOTIFICATION_LOGGING 1 |
| #define DEFAULT_NOTIFICATION_TIMEOUT 30 |
| #define DEFAULT_OCHP_TIMEOUT 15 |
| #define DEFAULT_OCSP_TIMEOUT 15 |
| #define DEFAULT_ORPHAN_CHECK_INTERVAL 60 |
| #define DEFAULT_PASSIVE_HOST_CHECKS_SOFT 0 |
| #define DEFAULT_PERFDATA_TIMEOUT 5 |
| #define DEFAULT_PROCESS_PERFORMANCE_DATA 0 |
| #define DEFAULT_RETENTION_SCHEDULING_HORIZON 900 |
| #define DEFAULT_RETENTION_UPDATE_INTERVAL 60 |
| #define DEFAULT_RETRY_INTERVAL 30 |
| #define DEFAULT_SERVICE_CHECK_SPREAD 30 |
| #define DEFAULT_SERVICE_CHECK_TIMEOUT 60 |
| #define DEFAULT_SLEEP_TIME 0.5 |
| #define DEFAULT_STALKING_EVENT_HANDLERS_FOR_HOSTS 0 |
| #define DEFAULT_STALKING_EVENT_HANDLERS_FOR_SERVICES 0 |
| #define DEFAULT_STATUS_UPDATE_INTERVAL 60 |
| #define DEFAULT_SYSLOG_LEVEL 2 |
| #define DEFAULT_SYSLOG_LOCAL_FACILITY 5 |
| #define DEFAULT_TIME_CHANGE_THRESHOLD 900 |
| #define DEFAULT_TRANSLATE_PASSIVE_HOST_CHECKS 0 |
| #define DEFAULT_USE_DAEMON_LOG 1 |
| #define DEFAULT_USE_EMBEDDED_PERL_IMPLICITLY 1 |
| #define DEFAULT_USE_LARGE_INSTALLATION_TWEAKS 0 |
| #define DEFAULT_USE_SYSLOG 1 |
| #define DEFAULT_USE_SYSLOG_LOCAL_FACILITY 0 |
| #define DEPENDENCIES_FAILED 1 |
| #define DEPENDENCIES_OK 0 |
| #define EVENT_CHECK_REAPER 5 |
| #define EVENT_COMMAND_CHECK 1 |
| #define EVENT_EXPIRE_COMMENT 15 |
| #define EVENT_EXPIRE_DOWNTIME 11 |
| #define EVENT_HFRESHNESS_CHECK 13 |
| #define EVENT_HOST_CHECK 12 |
| #define EVENT_LOG_ROTATION 2 |
| #define EVENT_ORPHAN_CHECK 6 |
| #define EVENT_PROGRAM_RESTART 4 |
| #define EVENT_PROGRAM_SHUTDOWN 3 |
| #define EVENT_RESCHEDULE_CHECKS 14 |
| #define EVENT_RETENTION_SAVE 7 |
| #define EVENT_SCHEDULED_DOWNTIME 9 |
| #define EVENT_SERVICE_CHECK 0 |
| #define EVENT_SFRESHNESS_CHECK 10 |
| #define EVENT_SLEEP 98 |
| #define EVENT_STATUS_SAVE 8 |
| #define EVENT_USER_FUNCTION 99 |
| #define GLOBAL_HOST_EVENTHANDLER 2 |
| #define GLOBAL_SERVICE_EVENTHANDLER 3 |
| #define HOST_CHECK 1 |
| #define HOST_DOWN 1 |
| #define HOST_EVENTHANDLER 0 |
| #define HOST_FLAPPING 0 |
| #define HOST_NOTIFICATION 0 |
| #define HOST_STATECHANGE 0 |
| #define HOST_UNREACHABLE 2 |
| #define HOST_UP 0 |
| #define ICD_DUMB 1 |
| #define ICD_NONE 0 |
| #define ICD_SMART 2 |
| #define ICD_USER 3 |
| #define ILF_SMART 1 |
| #define ILF_USER 0 |
| #define INITIAL_STATES 1 |
| #define MAX_CMD_ARGS 4096 |
| #define MAX_PLUGIN_OUTPUT_LENGTH 8192 |
| #define NOTIFICATION_ACKNOWLEDGEMENT 1 |
| #define NOTIFICATION_CUSTOM 99 |
| #define NOTIFICATION_DOWNTIMECANCELLED 7 |
| #define NOTIFICATION_DOWNTIMEEND 6 |
| #define NOTIFICATION_DOWNTIMESTART 5 |
| #define NOTIFICATION_FLAPPINGDISABLED 4 |
| #define NOTIFICATION_FLAPPINGSTART 2 |
| #define NOTIFICATION_FLAPPINGSTOP 3 |
| #define NOTIFICATION_NORMAL 0 |
| #define PENDING_DOWNTIME 1 |
| #define PROPAGATE_TO_CHILD_HOSTS 2 |
| #define PROPAGATE_TO_PARENT_HOSTS 1 |
| #define SERVICE_CHECK 0 |
| #define SERVICE_EVENTHANDLER 1 |
| #define SERVICE_FLAPPING 1 |
| #define SERVICE_NOTIFICATION 1 |
| #define SERVICE_STATECHANGE 1 |
| #define STATE_CRITICAL 2 |
| #define STATE_OK 0 |
| #define STATE_UNKNOWN 3 |
| #define STATE_WARNING 1 |
| #define TOTAL_WORKER_THREADS 1 |
| typedef struct check_result_struct check_result |
| typedef struct check_stats_struct check_stats |
| typedef struct circular_buffer_struct circular_buffer |
| typedef struct dbuf_struct dbuf |
| typedef struct notify_list_struct notification |
| typedef struct passive_check_result_struct passive_check_result |
| typedef struct sched_info_struct sched_info |
| typedef struct timed_event_struct timed_event |
| void _get_next_valid_time_per_timeperiod | ( | time_t | , | |
| time_t * | , | |||
| time_t | , | |||
| timeperiod * | ||||
| ) |
| void acknowledge_host_problem | ( | host * | , | |
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| void acknowledge_service_problem | ( | service * | , | |
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| int add_check_result_to_list | ( | check_result * | ) |
| void add_event | ( | timed_event * | , | |
| timed_event ** | , | |||
| timed_event ** | ||||
| ) |
| int add_notification | ( | icinga_macros * | mac, | |
| contact * | ||||
| ) |
| void adjust_check_scheduling | ( | void | ) |
| int adjust_host_check_attempt_3x | ( | host * | , | |
| int | ||||
| ) |
| void adjust_timestamp_for_time_change | ( | time_t | , | |
| time_t | , | |||
| unsigned | long, | |||
| time_t * | ||||
| ) |
| time_t calculate_time_from_day_of_month | ( | int | , | |
| int | , | |||
| int | ||||
| ) |
| time_t calculate_time_from_weekday_of_month | ( | int | , | |
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| int check_for_external_commands | ( | void | ) |
| void check_for_host_flapping | ( | host * | , | |
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| void check_for_orphaned_hosts | ( | void | ) |
| void check_for_orphaned_services | ( | void | ) |
| void check_for_service_flapping | ( | service * | , | |
| int | , | |||
| int | ||||
| ) |
| int check_host_check_viability_3x | ( | host * | , | |
| int | , | |||
| int * | , | |||
| time_t * | ||||
| ) |
| int check_host_dependencies | ( | host * | , | |
| int | ||||
| ) |
| int check_host_notification_viability | ( | host * | , | |
| int | , | |||
| int | ||||
| ) |
| void check_host_result_freshness | ( | void | ) |
| void* check_result_worker_thread | ( | void * | ) |
| int check_service_check_viability | ( | service * | , | |
| int | , | |||
| int * | , | |||
| time_t * | ||||
| ) |
| int check_service_dependencies | ( | service * | , | |
| int | ||||
| ) |
| int check_service_notification_viability | ( | service * | , | |
| int | , | |||
| int | ||||
| ) |
| void check_service_result_freshness | ( | void | ) |
| int check_time_against_period | ( | time_t | , | |
| timeperiod * | ||||
| ) |
| void cleanup | ( | void | ) |
| void cleanup_check_result_worker_thread | ( | void * | ) |
| void cleanup_command_file_worker_thread | ( | void * | ) |
| void clear_host_flap | ( | host * | , | |
| double | , | |||
| double | , | |||
| double | ||||
| ) |
| void clear_service_flap | ( | service * | , | |
| double | , | |||
| double | , | |||
| double | ||||
| ) |
| int close_command_file | ( | void | ) |
| int cmd_acknowledge_problem | ( | int | , | |
| char * | ||||
| ) |
| int cmd_add_comment | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int cmd_change_object_char_var | ( | int | , | |
| char * | ||||
| ) |
| int cmd_change_object_custom_var | ( | int | , | |
| char * | ||||
| ) |
| int cmd_change_object_int_var | ( | int | , | |
| char * | ||||
| ) |
| int cmd_delay_notification | ( | int | , | |
| char * | ||||
| ) |
| int cmd_delete_all_comments | ( | int | , | |
| char * | ||||
| ) |
| int cmd_delete_comment | ( | int | , | |
| char * | ||||
| ) |
| int cmd_delete_downtime | ( | int | , | |
| char * | ||||
| ) |
| int cmd_process_external_commands_from_file | ( | int | , | |
| char * | ||||
| ) |
| int cmd_process_host_check_result | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int cmd_process_service_check_result | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int cmd_remove_acknowledgement | ( | int | , | |
| char * | ||||
| ) |
| int cmd_schedule_check | ( | int | , | |
| char * | ||||
| ) |
| int cmd_schedule_downtime | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int cmd_schedule_host_service_checks | ( | int | , | |
| char * | , | |||
| int | ||||
| ) |
| int cmd_schedule_service_check | ( | int | , | |
| char * | , | |||
| int | ||||
| ) |
| int cmd_signal_process | ( | int | , | |
| char * | ||||
| ) |
| void* command_file_worker_thread | ( | void * | ) |
| int compare_strings | ( | char * | , | |
| char * | ||||
| ) |
| void compensate_for_system_time_change | ( | unsigned | long, | |
| unsigned | long | |||
| ) |
| int contains_illegal_object_chars | ( | char * | ) |
| int create_notification_list_from_host | ( | icinga_macros * | mac, | |
| host * | , | |||
| int | , | |||
| int * | ||||
| ) |
| int create_notification_list_from_service | ( | icinga_macros * | mac, | |
| service * | , | |||
| int | , | |||
| int * | ||||
| ) |
| int daemon_init | ( | void | ) |
| int dbuf_free | ( | dbuf * | ) |
| int dbuf_init | ( | dbuf * | , | |
| int | ||||
| ) |
| int dbuf_strcat | ( | dbuf * | , | |
| char * | ||||
| ) |
| int deinit_embedded_perl | ( | void | ) |
| int delete_check_result_file | ( | char * | ) |
| int determine_host_reachability | ( | host * | ) |
| void disable_all_failure_prediction | ( | void | ) |
| void disable_all_notifications | ( | void | ) |
| void disable_and_propagate_notifications | ( | host * | , | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| void disable_contact_host_notifications | ( | contact * | ) |
| void disable_contact_service_notifications | ( | contact * | ) |
| void disable_flap_detection_routines | ( | void | ) |
| void disable_host_checks | ( | host * | ) |
| void disable_host_event_handler | ( | host * | ) |
| void disable_host_flap_detection | ( | host * | ) |
| void disable_host_freshness_checks | ( | void | ) |
| void disable_host_notifications | ( | host * | ) |
| void disable_passive_host_checks | ( | host * | ) |
| void disable_passive_service_checks | ( | service * | ) |
| void disable_performance_data | ( | void | ) |
| void disable_service_checks | ( | service * | ) |
| void disable_service_event_handler | ( | service * | ) |
| void disable_service_flap_detection | ( | service * | ) |
| void disable_service_freshness_checks | ( | void | ) |
| void disable_service_notifications | ( | service * | ) |
| void display_schedule | ( | void | ) |
| void display_scheduling_info | ( | void | ) |
| int drop_privileges | ( | char * | , | |
| char * | ||||
| ) |
| void enable_all_failure_prediction | ( | void | ) |
| void enable_all_notifications | ( | void | ) |
| void enable_and_propagate_notifications | ( | host * | , | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| void enable_contact_host_notifications | ( | contact * | ) |
| void enable_contact_service_notifications | ( | contact * | ) |
| void enable_flap_detection_routines | ( | void | ) |
| void enable_host_checks | ( | host * | ) |
| void enable_host_event_handler | ( | host * | ) |
| void enable_host_flap_detection | ( | host * | ) |
| void enable_host_freshness_checks | ( | void | ) |
| void enable_host_notifications | ( | host * | ) |
| void enable_passive_host_checks | ( | host * | ) |
| void enable_passive_service_checks | ( | service * | ) |
| void enable_performance_data | ( | void | ) |
| void enable_service_checks | ( | service * | ) |
| void enable_service_event_handler | ( | service * | ) |
| void enable_service_flap_detection | ( | service * | ) |
| void enable_service_freshness_checks | ( | void | ) |
| void enable_service_notifications | ( | service * | ) |
| char* escape_newlines | ( | char * | ) |
| int event_execution_loop | ( | void | ) |
| int execute_sync_host_check_3x | ( | host * | ) |
| void file_lock_sighandler | ( | int | ) |
| int file_uses_embedded_perl | ( | char * | ) |
| notification* find_notification | ( | contact * | ) |
| int free_check_result | ( | check_result * | ) |
| int free_check_result_list | ( | void | ) |
| void free_memory | ( | icinga_macros * | mac | ) |
| void free_notification_list | ( | void | ) |
| int generate_check_stats | ( | void | ) |
| void get_earliest_time | ( | time_t | , | |
| time_t * | , | |||
| time_t | , | |||
| timeperiod * | , | |||
| int | ||||
| ) |
| void get_min_invalid_time_per_timeperiod | ( | time_t | , | |
| time_t * | , | |||
| time_t | , | |||
| timeperiod * | ||||
| ) |
| time_t get_next_host_notification_time | ( | host * | , | |
| time_t | ||||
| ) |
| time_t get_next_log_rotation_time | ( | void | ) |
| time_t get_next_service_notification_time | ( | service * | , | |
| time_t | ||||
| ) |
| char* get_next_string_from_buf | ( | char * | buf, | |
| int * | start_index, | |||
| int | bufsize | |||
| ) |
| void get_next_valid_time | ( | time_t | , | |
| time_t * | , | |||
| timeperiod * | ||||
| ) |
| char* get_program_modification_date | ( | void | ) |
| char* get_program_version | ( | void | ) |
| int get_raw_command_line | ( | command * | , | |
| char * | , | |||
| char ** | , | |||
| int | ||||
| ) |
| int get_raw_command_line_r | ( | icinga_macros * | mac, | |
| command * | , | |||
| char * | , | |||
| char ** | , | |||
| int | ||||
| ) |
| int handle_async_host_check_result_3x | ( | host * | , | |
| check_result * | ||||
| ) |
| int handle_async_service_check_result | ( | service * | , | |
| check_result * | ||||
| ) |
| int handle_host_event | ( | host * | ) |
| void handle_host_flap_detection_disabled | ( | host * | ) |
| int handle_host_state | ( | host * | ) |
| int handle_service_event | ( | service * | ) |
| void handle_service_flap_detection_disabled | ( | service * | ) |
| int handle_timed_event | ( | timed_event * | ) |
| int has_shell_metachars | ( | const char * | ) |
| void host_check_sighandler | ( | int | ) |
| int host_notification | ( | host * | , | |
| int | , | |||
| char * | , | |||
| char * | , | |||
| int | ||||
| ) |
| int init_check_result | ( | check_result * | ) |
| int init_check_result_worker_thread | ( | void | ) |
| int init_check_stats | ( | void | ) |
| int init_command_file_worker_thread | ( | void | ) |
| int init_embedded_perl | ( | char ** | ) |
| void init_timing_loop | ( | void | ) |
| int is_daterange_single_day | ( | daterange * | ) |
| int is_host_result_fresh | ( | host * | , | |
| time_t | , | |||
| int | ||||
| ) |
| int is_service_result_fresh | ( | service * | , | |
| time_t | , | |||
| int | ||||
| ) |
| int is_valid_escalation_for_host_notification | ( | host * | , | |
| hostescalation * | , | |||
| int | ||||
| ) |
| int is_valid_escalation_for_service_notification | ( | service * | , | |
| serviceescalation * | , | |||
| int | ||||
| ) |
| int move_check_result_to_queue | ( | char * | ) |
| int my_fcopy | ( | char * | , | |
| char * | ||||
| ) |
| int my_fdcopy | ( | char * | , | |
| char * | , | |||
| int | ||||
| ) |
| int my_rename | ( | char * | , | |
| char * | ||||
| ) |
| int my_system | ( | char * | , | |
| int | , | |||
| int * | , | |||
| double * | , | |||
| char ** | , | |||
| int | ||||
| ) |
| int my_system_r | ( | icinga_macros * | mac, | |
| char * | , | |||
| int | , | |||
| int * | , | |||
| double * | , | |||
| char ** | , | |||
| int | ||||
| ) |
| void my_system_sighandler | ( | int | ) |
| int notify_contact_of_host | ( | icinga_macros * | mac, | |
| contact * | , | |||
| host * | , | |||
| int | , | |||
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | ||||
| ) |
| int notify_contact_of_service | ( | icinga_macros * | mac, | |
| contact * | , | |||
| service * | , | |||
| int | , | |||
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | ||||
| ) |
| int obsessive_compulsive_host_check_processor | ( | host * | ) |
| int obsessive_compulsive_service_check_processor | ( | service * | ) |
| int open_command_file | ( | void | ) |
| int parse_check_output | ( | char * | , | |
| char ** | , | |||
| char ** | , | |||
| char ** | , | |||
| int | , | |||
| int | ||||
| ) |
| int perform_on_demand_host_check | ( | host * | , | |
| int * | , | |||
| int | , | |||
| int | , | |||
| unsigned | long | |||
| ) |
| int perform_on_demand_host_check_3x | ( | host * | , | |
| int * | , | |||
| int | , | |||
| int | , | |||
| unsigned | long | |||
| ) |
| int perform_scheduled_host_check | ( | host * | , | |
| int | , | |||
| double | ||||
| ) |
| int pre_flight_check | ( | void | ) |
| int pre_flight_circular_check | ( | int * | , | |
| int * | ||||
| ) |
| int pre_flight_object_check | ( | int * | , | |
| int * | ||||
| ) |
| int process_check_result_file | ( | char * | ) |
| int process_check_result_queue | ( | char * | ) |
| int process_contact_command | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int process_contactgroup_command | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int process_external_command1 | ( | char * | ) |
| int process_external_command2 | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int process_external_commands_from_file | ( | char * | , | |
| int | ||||
| ) |
| int process_host_check_result_3x | ( | host * | , | |
| int | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| unsigned | long | |||
| ) |
| int process_host_command | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int process_hostgroup_command | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| void process_passive_checks | ( | void | ) |
| int process_passive_host_check | ( | time_t | , | |
| char * | , | |||
| int | , | |||
| char * | ||||
| ) |
| int process_passive_service_check | ( | time_t | , | |
| char * | , | |||
| char * | , | |||
| int | , | |||
| char * | ||||
| ) |
| int process_service_command | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int process_servicegroup_command | ( | int | , | |
| time_t | , | |||
| char * | ||||
| ) |
| int read_all_object_data | ( | char * | ) |
| check_result* read_check_result | ( | void | ) |
| int read_main_config_file | ( | char * | ) |
| int read_resource_file | ( | char * | ) |
| int reap_check_results | ( | void | ) |
| void remove_event | ( | timed_event * | , | |
| timed_event ** | , | |||
| timed_event ** | ||||
| ) |
| void remove_host_acknowledgement | ( | host * | ) |
| void remove_service_acknowledgement | ( | service * | ) |
| void reschedule_event | ( | timed_event * | , | |
| timed_event ** | , | |||
| timed_event ** | ||||
| ) |
| void reset_sighandler | ( | void | ) |
| int reset_variables | ( | void | ) |
| void resort_event_list | ( | timed_event ** | , | |
| timed_event ** | ||||
| ) |
| int run_async_host_check_3x | ( | host * | , | |
| int | , | |||
| double | , | |||
| int | , | |||
| int | , | |||
| int * | , | |||
| time_t * | ||||
| ) |
| int run_async_service_check | ( | service * | , | |
| int | , | |||
| double | , | |||
| int | , | |||
| int | , | |||
| int * | , | |||
| time_t * | ||||
| ) |
| int run_global_host_event_handler | ( | icinga_macros * | mac, | |
| host * | ||||
| ) |
| int run_global_service_event_handler | ( | icinga_macros * | mac, | |
| service * | ||||
| ) |
| int run_host_event_handler | ( | icinga_macros * | mac, | |
| host * | ||||
| ) |
| int run_scheduled_host_check_3x | ( | host * | , | |
| int | , | |||
| double | ||||
| ) |
| int run_scheduled_service_check | ( | service * | , | |
| int | , | |||
| double | ||||
| ) |
| int run_service_event_handler | ( | icinga_macros * | mac, | |
| service * | ||||
| ) |
| int run_sync_host_check_3x | ( | host * | , | |
| int * | , | |||
| int | , | |||
| int | , | |||
| unsigned | long | |||
| ) |
| void schedule_and_propagate_downtime | ( | host * | , | |
| time_t | , | |||
| char * | , | |||
| char * | , | |||
| time_t | , | |||
| time_t | , | |||
| int | , | |||
| unsigned | long, | |||
| unsigned | long | |||
| ) |
| void schedule_host_check | ( | host * | , | |
| time_t | , | |||
| int | ||||
| ) |
| int schedule_new_event | ( | int | , | |
| int | , | |||
| time_t | , | |||
| int | , | |||
| unsigned | long, | |||
| void * | , | |||
| int | , | |||
| void * | , | |||
| void * | , | |||
| int | ||||
| ) |
| void schedule_service_check | ( | service * | , | |
| time_t | , | |||
| int | ||||
| ) |
| void service_check_sighandler | ( | int | ) |
| int service_notification | ( | service * | , | |
| int | , | |||
| char * | , | |||
| char * | , | |||
| int | ||||
| ) |
| int set_environment_var | ( | char * | , | |
| char * | , | |||
| int | ||||
| ) |
| void set_host_flap | ( | host * | , | |
| double | , | |||
| double | , | |||
| double | , | |||
| int | ||||
| ) |
| void set_host_notification_number | ( | host * | , | |
| int | ||||
| ) |
| void set_service_flap | ( | service * | , | |
| double | , | |||
| double | , | |||
| double | , | |||
| int | ||||
| ) |
| void set_service_notification_number | ( | service * | , | |
| int | ||||
| ) |
| void setup_sighandler | ( | void | ) |
| int should_host_notification_be_escalated | ( | host * | ) |
| int should_service_notification_be_escalated | ( | service * | ) |
| int shutdown_check_result_worker_thread | ( | void | ) |
| int shutdown_command_file_worker_thread | ( | void | ) |
| void sighandler | ( | int | ) |
| void start_accepting_passive_host_checks | ( | void | ) |
| void start_accepting_passive_service_checks | ( | void | ) |
| void start_executing_host_checks | ( | void | ) |
| void start_executing_service_checks | ( | void | ) |
| void start_obsessing_over_host | ( | host * | ) |
| void start_obsessing_over_host_checks | ( | void | ) |
| void start_obsessing_over_service | ( | service * | ) |
| void start_obsessing_over_service_checks | ( | void | ) |
| void start_using_event_handlers | ( | void | ) |
| void stop_accepting_passive_host_checks | ( | void | ) |
| void stop_accepting_passive_service_checks | ( | void | ) |
| void stop_executing_host_checks | ( | void | ) |
| void stop_executing_service_checks | ( | void | ) |
| void stop_obsessing_over_host | ( | host * | ) |
| void stop_obsessing_over_host_checks | ( | void | ) |
| void stop_obsessing_over_service | ( | service * | ) |
| void stop_obsessing_over_service_checks | ( | void | ) |
| void stop_using_event_handlers | ( | void | ) |
| int submit_external_command | ( | char * | , | |
| int * | ||||
| ) |
| int submit_raw_external_command | ( | char * | , | |
| time_t * | , | |||
| int * | ||||
| ) |
| int update_check_stats | ( | int | , | |
| time_t | ||||
| ) |
1.4.7