Icinga-core 1.4.0
next gen monitoring
base/flapping.c File Reference
#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"

Go to the source code of this file.

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
hosthost_list
serviceservice_list
unsigned long modified_host_process_attributes
unsigned long modified_service_process_attributes
int dummy

Function Documentation

void check_for_host_flapping ( host hst,
int  update,
int  actual_check,
int  allow_flapstart_notification 
)

Definition at line 184 of file flapping.c.

void check_for_service_flapping ( service svc,
int  update,
int  allow_flapstart_notification 
)

Definition at line 59 of file flapping.c.

void clear_host_flap ( host hst,
double  percent_change,
double  high_threshold,
double  low_threshold 
)

Definition at line 447 of file flapping.c.

void clear_service_flap ( service svc,
double  percent_change,
double  high_threshold,
double  low_threshold 
)

Definition at line 366 of file flapping.c.

void disable_flap_detection_routines ( void  )

Definition at line 530 of file flapping.c.

void disable_host_flap_detection ( host hst)

Definition at line 605 of file flapping.c.

void disable_service_flap_detection ( service svc)

Definition at line 719 of file flapping.c.

void enable_flap_detection_routines ( void  )

Definition at line 492 of file flapping.c.

void enable_host_flap_detection ( host hst)

Definition at line 568 of file flapping.c.

void enable_service_flap_detection ( service svc)

Definition at line 682 of file flapping.c.

void handle_host_flap_detection_disabled ( host hst)

Definition at line 638 of file flapping.c.

void handle_service_flap_detection_disabled ( service svc)

Definition at line 752 of file flapping.c.

void set_host_flap ( host hst,
double  percent_change,
double  high_threshold,
double  low_threshold,
int  allow_flapstart_notification 
)

Definition at line 406 of file flapping.c.

void set_service_flap ( service svc,
double  percent_change,
double  high_threshold,
double  low_threshold,
int  allow_flapstart_notification 
)

Definition at line 325 of file flapping.c.


Variable Documentation

int dummy

Definition at line 51 of file flapping.c.

Definition at line 224 of file icinga.c.

Definition at line 229 of file icinga.c.

Definition at line 227 of file icinga.c.

Definition at line 52 of file objects.c.

Definition at line 118 of file icinga.c.

Definition at line 228 of file icinga.c.

Definition at line 226 of file icinga.c.

Definition at line 159 of file icinga.c.

Definition at line 160 of file icinga.c.

Definition at line 53 of file objects.c.

 All Data Structures Files Functions Variables Typedefs Defines