#include "../../../include/config.h"
#include "../include/common.h"
#include "../include/io.h"
#include "../include/utils.h"
#include "../include/protoapi.h"
#include "../include/idomod.h"
#include "../../../include/nebstructs.h"
#include "../../../include/nebmodules.h"
#include "../../../include/nebcallbacks.h"
#include "../../../include/broker.h"
#include "../../../include/common.h"
#include "../../../include/icinga.h"
#include "../../../include/downtime.h"
#include "../../../include/comments.h"
#include "../../../include/macros.h"
#define DEBUG_IDO 1 |
#define OBJECTCONFIG_ES_ITEMS 16 |
int idomod_broker_data | ( | int | event_type, | |
void * | data | |||
) |
int idomod_check_icinga_object_version | ( | void | ) |
int idomod_close_debug_log | ( | void | ) |
int idomod_close_sink | ( | void | ) |
int idomod_deinit | ( | void | ) |
int idomod_deregister_callbacks | ( | void | ) |
int idomod_goodbye_sink | ( | void | ) |
int idomod_hello_sink | ( | int | reconnect, | |
int | problem_disconnect | |||
) |
int idomod_init | ( | void | ) |
int idomod_load_unprocessed_data | ( | char * | f | ) |
int idomod_log_debug_info | ( | int | level, | |
int | verbosity, | |||
const char * | fmt, | |||
... | ||||
) |
int idomod_open_debug_log | ( | void | ) |
int idomod_open_sink | ( | void | ) |
int idomod_process_config_file | ( | char * | filename | ) |
int idomod_process_config_var | ( | char * | arg | ) |
int idomod_process_module_args | ( | char * | args | ) |
int idomod_register_callbacks | ( | void | ) |
int idomod_rotate_sink_file | ( | void * | args | ) |
int idomod_save_unprocessed_data | ( | char * | f | ) |
int idomod_sink_buffer_deinit | ( | idomod_sink_buffer * | sbuf | ) |
unsigned long idomod_sink_buffer_get_overflow | ( | idomod_sink_buffer * | sbuf | ) |
int idomod_sink_buffer_init | ( | idomod_sink_buffer * | sbuf, | |
unsigned long | maxitems | |||
) |
int idomod_sink_buffer_items | ( | idomod_sink_buffer * | sbuf | ) |
char* idomod_sink_buffer_peek | ( | idomod_sink_buffer * | sbuf | ) |
char* idomod_sink_buffer_pop | ( | idomod_sink_buffer * | sbuf | ) |
int idomod_sink_buffer_push | ( | idomod_sink_buffer * | sbuf, | |
char * | buf | |||
) |
int idomod_sink_buffer_set_overflow | ( | idomod_sink_buffer * | sbuf, | |
unsigned long | num | |||
) |
int idomod_write_config | ( | int | config_type | ) |
int idomod_write_config_files | ( | void | ) |
int idomod_write_main_config_file | ( | void | ) |
int idomod_write_object_config | ( | int | config_type | ) |
int idomod_write_resource_config_file | ( | char * | filename | ) |
int idomod_write_resource_config_files | ( | void | ) |
int idomod_write_runtime_variables | ( | void | ) |
int idomod_write_to_logs | ( | char * | buf, | |
int | flags | |||
) |
int idomod_write_to_sink | ( | char * | buf, | |
int | buffer_write, | |||
int | flush_buffer | |||
) |
int nebmodule_deinit | ( | int | flags, | |
int | reason | |||
) |
int nebmodule_init | ( | int | flags, | |
char * | args, | |||
void * | handle | |||
) |
char* config_file |
int errno |
int idomod_allow_sink_activity = IDO_TRUE |
char* idomod_buffer_file = NULL |
int idomod_config_output_options = IDOMOD_CONFIG_DUMP_ALL |
char* idomod_debug_file = NULL |
FILE* idomod_debug_file_fp = NULL |
int idomod_debug_level = IDOMOD_DEBUGL_NONE |
int idomod_debug_verbosity = IDOMOD_DEBUGV_BASIC |
char* idomod_instance_name = NULL |
unsigned long idomod_max_debug_file_size = 0L |
void* idomod_module_handle = NULL |
unsigned long idomod_process_options = IDOMOD_PROCESS_EVERYTHING |
unsigned long idomod_sink_buffer_slots = 5000 |
unsigned long idomod_sink_connect_attempt = 0L |
int idomod_sink_fd = -1 |
int idomod_sink_is_open = IDO_FALSE |
time_t idomod_sink_last_reconnect_attempt = 0L |
time_t idomod_sink_last_reconnect_warning = 0L |
char* idomod_sink_name = NULL |
int idomod_sink_previously_open = IDO_FALSE |
unsigned long idomod_sink_reconnect_interval = 15 |
unsigned long idomod_sink_reconnect_warning_interval = 900 |
char* idomod_sink_rotation_command = NULL |
unsigned long idomod_sink_rotation_interval = 3600 |
int idomod_sink_rotation_timeout = 60 |
int idomod_sink_tcp_port = IDO_DEFAULT_TCP_PORT |
int idomod_sink_type = IDO_SINK_UNIXSOCKET |
int use_ssl |