#include "config.h"
#include "common.h"
#include "downtime.h"
#include "comments.h"
#include "statusdata.h"
#include "icinga.h"
#include "broker.h"
#include "sretention.h"
#include "tap.h"
#define NSCORE 1 |
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_orphaned_hosts | ( | void | ) |
void check_for_orphaned_services | ( | void | ) |
void check_host_result_freshness | ( | void | ) |
void check_service_result_freshness | ( | void | ) |
int check_time_against_period | ( | time_t | time_t1, | |
timeperiod * | timeperiod | |||
) |
time_t get_next_host_notification_time | ( | host * | temp_host, | |
time_t | time_t1 | |||
) |
time_t get_next_log_rotation_time | ( | void | ) |
time_t get_next_service_notification_time | ( | service * | temp_service, | |
time_t | time_t1 | |||
) |
void get_next_valid_time | ( | time_t | time_t1, | |
time_t * | time_t2, | |||
timeperiod * | temp_timeperiod | |||
) |
void get_time_breakdown | ( | unsigned long | long1, | |
int * | int1, | |||
int * | int2, | |||
int * | int3, | |||
int * | int4 | |||
) |
int handle_scheduled_downtime_by_id | ( | unsigned long | long1 | ) |
int log_debug_info | ( | int | level, | |
int | verbosity, | |||
const char * | fmt, | |||
... | ||||
) |
void logit | ( | int | int1, | |
int | int2, | |||
const char * | fmt, | |||
... | ||||
) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
int perform_scheduled_host_check | ( | host * | temp_host, | |
int | int1, | |||
double | double1 | |||
) |
int reap_check_results | ( | void | ) |
int rotate_log_file | ( | time_t | time_t1 | ) |
int run_scheduled_service_check | ( | service * | service1, | |
int | int1, | |||
double | double1 | |||
) |
int save_state_information | ( | int | int1 | ) |
void setup_events | ( | time_t | time | ) |
void setup_events_with_host | ( | time_t | time | ) |
int update_all_status_data | ( | void | ) |
int update_host_status | ( | host * | hst, | |
int | aggregated_dump | |||
) |
int update_program_status | ( | int | aggregated_dump | ) |
int update_service_status | ( | service * | svc, | |
int | aggregated_dump | |||
) |
int c = 0 |
char* config_file = "etc/icinga.cfg" |
time_t event_start |
int execute_service_checks = 1 |
int interval_length = 60 |
time_t last_command_check |
time_t program_start |
int sigrestart = FALSE |
int sigshutdown = FALSE |
double sleep_time |
int test_scheduling |