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

Go to the source code of this file.

Data Structures

struct  scheduled_downtime_struct

Typedefs

typedef struct
scheduled_downtime_struct 
scheduled_downtime

Functions

int add_host_downtime (char *, time_t, char *, char *, time_t, time_t, int, unsigned long, unsigned long, unsigned long, int)
int add_service_downtime (char *, char *, time_t, char *, char *, time_t, time_t, int, unsigned long, unsigned long, unsigned long, int)
int add_downtime (int, char *, char *, time_t, char *, char *, time_t, time_t, int, unsigned long, unsigned long, unsigned long, int)
int sort_downtime (void)
scheduled_downtimefind_downtime (int, unsigned long)
scheduled_downtimefind_host_downtime (unsigned long)
scheduled_downtimefind_service_downtime (unsigned long)
scheduled_downtimefind_downtime_by_similar_content (int, char *, char *, char *, char *, time_t, time_t, int, unsigned long)
void free_downtime_data (void)
int delete_downtime_by_hostname_service_description_start_time_comment (char *, char *, time_t, char *)

Variables

int defer_downtime_sorting

Typedef Documentation


Function Documentation

int add_downtime ( int  ,
char *  ,
char *  ,
time_t  ,
char *  ,
char *  ,
time_t  ,
time_t  ,
int  ,
unsigned  long,
unsigned  long,
unsigned  long,
int   
)

Definition at line 916 of file downtime.c.

int add_host_downtime ( char *  ,
time_t  ,
char *  ,
char *  ,
time_t  ,
time_t  ,
int  ,
unsigned  long,
unsigned  long,
unsigned  long,
int   
)

Definition at line 896 of file downtime.c.

int add_service_downtime ( char *  ,
char *  ,
time_t  ,
char *  ,
char *  ,
time_t  ,
time_t  ,
int  ,
unsigned  long,
unsigned  long,
unsigned  long,
int   
)

Definition at line 906 of file downtime.c.

int delete_downtime_by_hostname_service_description_start_time_comment ( char *  ,
char *  ,
time_t  ,
char *   
)
scheduled_downtime* find_downtime ( int  ,
unsigned  long 
)

Definition at line 1056 of file downtime.c.

scheduled_downtime* find_downtime_by_similar_content ( int  ,
char *  ,
char *  ,
char *  ,
char *  ,
time_t  ,
time_t  ,
int  ,
unsigned  long 
)

Definition at line 1085 of file downtime.c.

scheduled_downtime* find_host_downtime ( unsigned  long)

Definition at line 1071 of file downtime.c.

scheduled_downtime* find_service_downtime ( unsigned  long)

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.

 All Data Structures Files Functions Variables Typedefs Defines