![]() |
Icinga-core 1.4.0
next gen monitoring
|
Go to the source code of this file.
Data Structures | |
| struct | comment_struct |
Defines | |
| #define | COMMENTSOURCE_INTERNAL 0 |
| #define | COMMENTSOURCE_EXTERNAL 1 |
| #define | HOST_COMMENT 1 |
| #define | SERVICE_COMMENT 2 |
| #define | ANY_COMMENT 3 |
| #define | USER_COMMENT 1 |
| #define | DOWNTIME_COMMENT 2 |
| #define | FLAPPING_COMMENT 3 |
| #define | ACKNOWLEDGEMENT_COMMENT 4 |
| #define | COMMENT_HASHSLOTS 1024 |
Typedefs | |
| typedef struct comment_struct | comment |
Functions | |
| comment * | find_comment (unsigned long, int) |
| comment * | find_service_comment (unsigned long) |
| comment * | find_host_comment (unsigned long) |
| comment * | find_comment_by_similar_content (int, char *, char *, char *, char *) |
| comment * | get_first_comment_by_host (char *) |
| comment * | get_next_comment_by_host (char *, comment *) |
| int | number_of_host_comments (char *) |
| int | number_of_service_comments (char *, char *) |
| int | add_comment (int, int, char *, char *, time_t, char *, char *, unsigned long, int, int, time_t, int) |
| int | sort_comments (void) |
| int | add_host_comment (int, char *, time_t, char *, char *, unsigned long, int, int, time_t, int) |
| int | add_service_comment (int, char *, char *, time_t, char *, char *, unsigned long, int, int, time_t, int) |
| int | add_comment_to_hashlist (comment *) |
| void | free_comment_data (void) |
Variables | |
| int | defer_comment_sorting |
| #define ACKNOWLEDGEMENT_COMMENT 4 |
Definition at line 58 of file comments.h.
| #define ANY_COMMENT 3 |
Definition at line 50 of file comments.h.
| #define COMMENT_HASHSLOTS 1024 |
Definition at line 63 of file comments.h.
| #define COMMENTSOURCE_EXTERNAL 1 |
Definition at line 42 of file comments.h.
| #define COMMENTSOURCE_INTERNAL 0 |
Definition at line 41 of file comments.h.
| #define DOWNTIME_COMMENT 2 |
Definition at line 56 of file comments.h.
| #define FLAPPING_COMMENT 3 |
Definition at line 57 of file comments.h.
| #define HOST_COMMENT 1 |
Definition at line 48 of file comments.h.
| #define SERVICE_COMMENT 2 |
Definition at line 49 of file comments.h.
| #define USER_COMMENT 1 |
Definition at line 55 of file comments.h.
| typedef struct comment_struct comment |
| int add_comment | ( | int | , |
| int | , | ||
| char * | , | ||
| char * | , | ||
| time_t | , | ||
| char * | , | ||
| char * | , | ||
| unsigned | long, | ||
| int | , | ||
| int | , | ||
| time_t | , | ||
| int | |||
| ) |
Definition at line 454 of file comments.c.
| int add_comment_to_hashlist | ( | comment * | ) |
Definition at line 386 of file comments.c.
| int add_host_comment | ( | int | , |
| char * | , | ||
| time_t | , | ||
| char * | , | ||
| char * | , | ||
| unsigned | long, | ||
| int | , | ||
| int | , | ||
| time_t | , | ||
| int | |||
| ) |
Definition at line 432 of file comments.c.
| int add_service_comment | ( | int | , |
| char * | , | ||
| char * | , | ||
| time_t | , | ||
| char * | , | ||
| char * | , | ||
| unsigned | long, | ||
| int | , | ||
| int | , | ||
| time_t | , | ||
| int | |||
| ) |
Definition at line 443 of file comments.c.
| comment* find_comment | ( | unsigned | long, |
| int | |||
| ) |
Definition at line 704 of file comments.c.
| comment* find_comment_by_similar_content | ( | int | , |
| char * | , | ||
| char * | , | ||
| char * | , | ||
| char * | |||
| ) |
Definition at line 718 of file comments.c.
| comment* find_host_comment | ( | unsigned | long | ) |
Definition at line 697 of file comments.c.
| comment* find_service_comment | ( | unsigned | long | ) |
Definition at line 690 of file comments.c.
| void free_comment_data | ( | void | ) |
Definition at line 590 of file comments.c.
| comment* get_first_comment_by_host | ( | char * | ) |
Definition at line 658 of file comments.c.
Definition at line 664 of file comments.c.
| int number_of_host_comments | ( | char * | ) |
Definition at line 620 of file comments.c.
| int number_of_service_comments | ( | char * | , |
| char * | |||
| ) |
Definition at line 637 of file comments.c.
| int sort_comments | ( | void | ) |
Definition at line 550 of file comments.c.
Definition at line 48 of file comments.c.