base/notifications.c File Reference

#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/statusdata.h"
#include "../include/macros.h"
#include "../include/icinga.h"
#include "../include/broker.h"
#include "../include/neberrors.h"

Functions

int check_escalation_condition (escalation_condition *)
int service_notification (service *svc, int type, char *not_author, char *not_data, int options)
int check_service_notification_viability (service *svc, int type, int options)
int check_contact_service_notification_viability (contact *cntct, service *svc, int type, int options)
int notify_contact_of_service (icinga_macros *mac, contact *cntct, service *svc, int type, char *not_author, char *not_data, int options, int escalated)
int is_valid_escalation_for_service_notification (service *svc, serviceescalation *se, int options)
int should_service_notification_be_escalated (service *svc)
int create_notification_list_from_service (icinga_macros *mac, service *svc, int options, int *escalated)
int host_notification (host *hst, int type, char *not_author, char *not_data, int options)
int check_host_notification_viability (host *hst, int type, int options)
int check_contact_host_notification_viability (contact *cntct, host *hst, int type, int options)
int notify_contact_of_host (icinga_macros *mac, contact *cntct, host *hst, int type, char *not_author, char *not_data, int options, int escalated)
int is_valid_escalation_for_host_notification (host *hst, hostescalation *he, int options)
int should_host_notification_be_escalated (host *hst)
int create_notification_list_from_host (icinga_macros *mac, host *hst, int options, int *escalated)
time_t get_next_service_notification_time (service *svc, time_t offset)
time_t get_next_host_notification_time (host *hst, time_t offset)
notification * find_notification (contact *cntct)
int add_notification (icinga_macros *mac, contact *cntct)

Variables

notification * notification_list
contact * contact_list
serviceescalation * serviceescalation_list
hostescalation * hostescalation_list
time_t program_start
int interval_length
int log_notifications
int enable_notifications
int notification_timeout
unsigned long next_notification_id
char * generic_summary

Function Documentation

int add_notification ( icinga_macros *  mac,
contact *  cntct 
)

int check_contact_host_notification_viability ( contact *  cntct,
host *  hst,
int  type,
int  options 
)

int check_contact_service_notification_viability ( contact *  cntct,
service *  svc,
int  type,
int  options 
)

int check_escalation_condition ( escalation_condition *   ) 

int check_host_notification_viability ( host *  hst,
int  type,
int  options 
)

int check_service_notification_viability ( service *  svc,
int  type,
int  options 
)

int create_notification_list_from_host ( icinga_macros *  mac,
host *  hst,
int  options,
int *  escalated 
)

int create_notification_list_from_service ( icinga_macros *  mac,
service *  svc,
int  options,
int *  escalated 
)

notification* find_notification ( contact *  cntct  ) 

time_t get_next_host_notification_time ( host *  hst,
time_t  offset 
)

time_t get_next_service_notification_time ( service *  svc,
time_t  offset 
)

int host_notification ( host *  hst,
int  type,
char *  not_author,
char *  not_data,
int  options 
)

int is_valid_escalation_for_host_notification ( host *  hst,
hostescalation *  he,
int  options 
)

int is_valid_escalation_for_service_notification ( service *  svc,
serviceescalation *  se,
int  options 
)

int notify_contact_of_host ( icinga_macros *  mac,
contact *  cntct,
host *  hst,
int  type,
char *  not_author,
char *  not_data,
int  options,
int  escalated 
)

int notify_contact_of_service ( icinga_macros *  mac,
contact *  cntct,
service *  svc,
int  type,
char *  not_author,
char *  not_data,
int  options,
int  escalated 
)

int service_notification ( service *  svc,
int  type,
char *  not_author,
char *  not_data,
int  options 
)

int should_host_notification_be_escalated ( host *  hst  ) 

int should_service_notification_be_escalated ( service *  svc  ) 


Variable Documentation

contact* contact_list

int enable_notifications

char* generic_summary

hostescalation* hostescalation_list

int interval_length

int log_notifications

unsigned long next_notification_id

notification* notification_list

int notification_timeout

time_t program_start

serviceescalation* serviceescalation_list


Generated on Wed Mar 30 17:22:22 2011 for icinga-core by  doxygen 1.4.7