#include "../include/config.h"
#include "../include/common.h"
#include "../include/statusdata.h"
#include "../include/macros.h"
#include "../include/icinga.h"
#include "../include/broker.h"
Go to the source code of this file.
Functions |
| void | logit (int data_type, int display, const char *fmt,...) |
| int | write_to_all_logs (char *buffer, unsigned long data_type) |
| int | write_to_log (char *buffer, unsigned long data_type, time_t *timestamp) |
| int | write_to_syslog (char *buffer, unsigned long data_type) |
| int | log_service_event (service *svc) |
| int | log_host_event (host *hst) |
| int | log_host_states (int type, time_t *timestamp) |
| int | log_service_states (int type, time_t *timestamp) |
| int | rotate_log_file (time_t rotation_time) |
| int | write_log_file_info (time_t *timestamp) |
| int | open_debug_log (void) |
| int | close_debug_log (void) |
| int | log_debug_info (int level, int verbosity, const char *fmt,...) |
Variables |
| char * | log_file |
| char * | temp_file |
| char * | log_archive_path |
| host * | host_list |
| service * | service_list |
| int | use_daemon_log |
| int | use_syslog |
| int | use_syslog_local_facility |
| int | syslog_local_facility |
| int | log_service_retries |
| int | log_initial_states |
| int | log_current_states |
| int | log_long_plugin_output |
| unsigned long | logging_options |
| unsigned long | syslog_options |
| int | verify_config |
| int | test_scheduling |
| time_t | last_log_rotation |
| int | log_rotation_method |
| int | daemon_mode |
| char * | debug_file |
| int | debug_level |
| int | debug_verbosity |
| unsigned long | max_debug_file_size |
| FILE * | debug_file_fp = NULL |
| int | dummy |
Function Documentation
| int close_debug_log |
( |
void |
| ) |
|
| int log_debug_info |
( |
int |
level, |
|
|
int |
verbosity, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
| int log_host_event |
( |
host * |
hst | ) |
|
| int log_host_states |
( |
int |
type, |
|
|
time_t * |
timestamp |
|
) |
| |
| int log_service_event |
( |
service * |
svc | ) |
|
| int log_service_states |
( |
int |
type, |
|
|
time_t * |
timestamp |
|
) |
| |
| void logit |
( |
int |
data_type, |
|
|
int |
display, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
| int open_debug_log |
( |
void |
| ) |
|
| int rotate_log_file |
( |
time_t |
rotation_time | ) |
|
| int write_log_file_info |
( |
time_t * |
timestamp | ) |
|
| int write_to_all_logs |
( |
char * |
buffer, |
|
|
unsigned long |
data_type |
|
) |
| |
| int write_to_log |
( |
char * |
buffer, |
|
|
unsigned long |
data_type, |
|
|
time_t * |
timestamp |
|
) |
| |
| int write_to_syslog |
( |
char * |
buffer, |
|
|
unsigned long |
data_type |
|
) |
| |
Variable Documentation