diff options
Diffstat (limited to 'database/sqlite/sqlite_health.h')
-rw-r--r-- | database/sqlite/sqlite_health.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/database/sqlite/sqlite_health.h b/database/sqlite/sqlite_health.h index 3aebb94b7..e21912368 100644 --- a/database/sqlite/sqlite_health.h +++ b/database/sqlite/sqlite_health.h @@ -7,12 +7,9 @@ struct sql_alert_transition_data; struct sql_alert_config_data; -extern sqlite3 *db_meta; void sql_health_alarm_log_load(RRDHOST *host); -void sql_health_alarm_log_update(RRDHOST *host, ALARM_ENTRY *ae); -void sql_health_alarm_log_insert(RRDHOST *host, ALARM_ENTRY *ae); void sql_health_alarm_log_save(RRDHOST *host, ALARM_ENTRY *ae); -void sql_health_alarm_log_cleanup(RRDHOST *host); +void sql_health_alarm_log_cleanup(RRDHOST *host, bool claimed); int alert_hash_and_store_config(uuid_t hash_id, struct alert_config *cfg, int store_hash); void sql_aclk_alert_clean_dead_entries(RRDHOST *host); int sql_health_get_last_executed_event(RRDHOST *host, ALARM_ENTRY *ae, RRDCALC_STATUS *last_executed_status); @@ -38,6 +35,4 @@ int sql_get_alert_configuration( bool debug __maybe_unused); bool sql_find_alert_transition(const char *transition, void (*cb)(const char *machine_guid, const char *context, time_t alert_id, void *data), void *data); -bool is_chart_name_populated(uuid_t *host_uuid); -void chart_name_populate(uuid_t *host_uuid); #endif //NETDATA_SQLITE_HEALTH_H |