Icinga-core 1.4.0
next gen monitoring
common/downtime.c File Reference
#include "../include/config.h"
#include "../include/common.h"
#include "../include/comments.h"
#include "../include/downtime.h"
#include "../include/objects.h"
#include "../include/statusdata.h"

Go to the source code of this file.

Functions

int add_host_downtime (char *host_name, time_t entry_time, char *author, char *comment_data, time_t start_time, time_t end_time, int fixed, unsigned long triggered_by, unsigned long duration, unsigned long downtime_id, int is_in_effect)
int add_service_downtime (char *host_name, char *svc_description, time_t entry_time, char *author, char *comment_data, time_t start_time, time_t end_time, int fixed, unsigned long triggered_by, unsigned long duration, unsigned long downtime_id, int is_in_effect)
int add_downtime (int downtime_type, char *host_name, char *svc_description, time_t entry_time, char *author, char *comment_data, time_t start_time, time_t end_time, int fixed, unsigned long triggered_by, unsigned long duration, unsigned long downtime_id, int is_in_effect)
int sort_downtime (void)
scheduled_downtimefind_downtime (int type, unsigned long downtime_id)
scheduled_downtimefind_host_downtime (unsigned long downtime_id)
scheduled_downtimefind_service_downtime (unsigned long downtime_id)
scheduled_downtimefind_downtime_by_similar_content (int type, char *host_name, char *service_description, char *author, char *comment_data, time_t start_time, time_t end_time, int fixed, unsigned long duration)
void free_downtime_data (void)

Variables

scheduled_downtimescheduled_downtime_list = NULL
int defer_downtime_sorting = 0
int dummy

Function Documentation

int add_downtime ( int  downtime_type,
char *  host_name,
char *  svc_description,
time_t  entry_time,
char *  author,
char *  comment_data,
time_t  start_time,
time_t  end_time,
int  fixed,
unsigned long  triggered_by,
unsigned long  duration,
unsigned long  downtime_id,
int  is_in_effect 
)

Definition at line 916 of file downtime.c.

int add_host_downtime ( char *  host_name,
time_t  entry_time,
char *  author,
char *  comment_data,
time_t  start_time,
time_t  end_time,
int  fixed,
unsigned long  triggered_by,
unsigned long  duration,
unsigned long  downtime_id,
int  is_in_effect 
)

Definition at line 896 of file downtime.c.

int add_service_downtime ( char *  host_name,
char *  svc_description,
time_t  entry_time,
char *  author,
char *  comment_data,
time_t  start_time,
time_t  end_time,
int  fixed,
unsigned long  triggered_by,
unsigned long  duration,
unsigned long  downtime_id,
int  is_in_effect 
)

Definition at line 906 of file downtime.c.

scheduled_downtime* find_downtime ( int  type,
unsigned long  downtime_id 
)

Definition at line 1056 of file downtime.c.

scheduled_downtime* find_downtime_by_similar_content ( int  type,
char *  host_name,
char *  service_description,
char *  author,
char *  comment_data,
time_t  start_time,
time_t  end_time,
int  fixed,
unsigned long  duration 
)

Definition at line 1085 of file downtime.c.

scheduled_downtime* find_host_downtime ( unsigned long  downtime_id)

Definition at line 1071 of file downtime.c.

scheduled_downtime* find_service_downtime ( unsigned long  downtime_id)

Definition at line 1078 of file downtime.c.

void free_downtime_data ( void  )

Definition at line 1122 of file downtime.c.

int sort_downtime ( void  )

Definition at line 1014 of file downtime.c.


Variable Documentation

Definition at line 50 of file downtime.c.

int dummy

Definition at line 57 of file downtime.c.

Definition at line 49 of file downtime.c.

 All Data Structures Files Functions Variables Typedefs Defines