#include "zbxcacheconfig.h"
#include "zbx_host_constants.h"
#include "zbx_trigger_constants.h"
#include "zbxinterface.h"
static void DCdump_config(void)
zabbix_log(LOG_LEVEL_TRACE, "In %s()", __func__);
zbx_dc_config_t *config = get_dc_config();
if (NULL == config->config)
zabbix_log(LOG_LEVEL_TRACE, "revision:" ZBX_FS_UI64, config->revision.config_table);
zabbix_log(LOG_LEVEL_TRACE, "discovery_groupid:" ZBX_FS_UI64, config->config->discovery_groupid);
zabbix_log(LOG_LEVEL_TRACE, "snmptrap_logging:%hhu", config->config->snmptrap_logging);
zabbix_log(LOG_LEVEL_TRACE, "default_inventory_mode:%d", config->config->default_inventory_mode);
zabbix_log(LOG_LEVEL_TRACE, "db:");
zabbix_log(LOG_LEVEL_TRACE, " extension: %s", config->config->db.extension);
zabbix_log(LOG_LEVEL_TRACE, " history_compression_status: %d",
config->config->db.history_compression_status);
zabbix_log(LOG_LEVEL_TRACE, " history_compress_older: %d", config->config->db.history_compress_older);
zabbix_log(LOG_LEVEL_TRACE, "autoreg_tls_accept:%hhu", config->config->autoreg_tls_accept);
zabbix_log(LOG_LEVEL_TRACE, "severity names:");
for (int i = 0; TRIGGER_SEVERITY_COUNT > i; i++)
zabbix_log(LOG_LEVEL_TRACE, " %s", config->config->severity_name[i]);
zabbix_log(LOG_LEVEL_TRACE, "housekeeping:");
zabbix_log(LOG_LEVEL_TRACE, " events, mode:%u period:[trigger:%d internal:%d autoreg:%d discovery:%d]",
config->config->hk.events_mode, config->config->hk.events_trigger,
config->config->hk.events_internal, config->config->hk.events_autoreg,
config->config->hk.events_discovery);
zabbix_log(LOG_LEVEL_TRACE, " audit, mode:%u period:%d", config->config->hk.audit_mode,
config->config->hk.audit);
zabbix_log(LOG_LEVEL_TRACE, " it services, mode:%u period:%d", config->config->hk.services_mode,
config->config->hk.services);
zabbix_log(LOG_LEVEL_TRACE, " user sessions, mode:%u period:%d", config->config->hk.sessions_mode,