#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/comments.h"
#include "../include/statusdata.h"
#include "../include/icinga.h"
#include "../include/broker.h"
Functions | |
void | check_for_service_flapping (service *svc, int update, int allow_flapstart_notification) |
void | check_for_host_flapping (host *hst, int update, int actual_check, int allow_flapstart_notification) |
void | set_service_flap (service *svc, double percent_change, double high_threshold, double low_threshold, int allow_flapstart_notification) |
void | clear_service_flap (service *svc, double percent_change, double high_threshold, double low_threshold) |
void | set_host_flap (host *hst, double percent_change, double high_threshold, double low_threshold, int allow_flapstart_notification) |
void | clear_host_flap (host *hst, double percent_change, double high_threshold, double low_threshold) |
void | enable_flap_detection_routines (void) |
void | disable_flap_detection_routines (void) |
void | enable_host_flap_detection (host *hst) |
void | disable_host_flap_detection (host *hst) |
void | handle_host_flap_detection_disabled (host *hst) |
void | enable_service_flap_detection (service *svc) |
void | disable_service_flap_detection (service *svc) |
void | handle_service_flap_detection_disabled (service *svc) |
Variables | |
int | interval_length |
int | enable_flap_detection |
double | low_service_flap_threshold |
double | high_service_flap_threshold |
double | low_host_flap_threshold |
double | high_host_flap_threshold |
host * | host_list |
service * | service_list |
unsigned long | modified_host_process_attributes |
unsigned long | modified_service_process_attributes |
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 | |||
) |
void clear_host_flap | ( | host * | hst, | |
double | percent_change, | |||
double | high_threshold, | |||
double | low_threshold | |||
) |
void clear_service_flap | ( | service * | svc, | |
double | percent_change, | |||
double | high_threshold, | |||
double | low_threshold | |||
) |
void disable_flap_detection_routines | ( | void | ) |
void disable_host_flap_detection | ( | host * | hst | ) |
void disable_service_flap_detection | ( | service * | svc | ) |
void enable_flap_detection_routines | ( | void | ) |
void enable_host_flap_detection | ( | host * | hst | ) |
void enable_service_flap_detection | ( | service * | svc | ) |
void handle_host_flap_detection_disabled | ( | host * | hst | ) |
void handle_service_flap_detection_disabled | ( | service * | svc | ) |
void set_host_flap | ( | host * | hst, | |
double | percent_change, | |||
double | high_threshold, | |||
double | low_threshold, | |||
int | allow_flapstart_notification | |||
) |
void set_service_flap | ( | service * | svc, | |
double | percent_change, | |||
double | high_threshold, | |||
double | low_threshold, | |||
int | allow_flapstart_notification | |||
) |
double high_host_flap_threshold |
double high_service_flap_threshold |
int interval_length |
double low_host_flap_threshold |
double low_service_flap_threshold |
unsigned long modified_host_process_attributes |
unsigned long modified_service_process_attributes |