diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-09 04:52:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-09 04:52:39 +0000 |
commit | 89f3604407aff8f4cb2ed958252c61e23c767e24 (patch) | |
tree | 7fbf408102cab051557d38193524d8c6e991d070 /health/health_log.c | |
parent | Adding upstream version 1.34.1. (diff) | |
download | netdata-89f3604407aff8f4cb2ed958252c61e23c767e24.tar.xz netdata-89f3604407aff8f4cb2ed958252c61e23c767e24.zip |
Adding upstream version 1.35.0.upstream/1.35.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health_log.c')
-rw-r--r-- | health/health_log.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/health/health_log.c b/health/health_log.c index 6d63966c7..54f6dc9fc 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -162,7 +162,7 @@ inline void health_alarm_log_save(RRDHOST *host, ALARM_ENTRY *ae) { #ifdef ENABLE_ACLK if (netdata_cloud_setting) { - sql_queue_alarm_to_aclk(host, ae); + sql_queue_alarm_to_aclk(host, ae, 0); } #endif } @@ -560,10 +560,6 @@ inline void health_alarm_log( ) { debug(D_HEALTH, "Health adding alarm log entry with id: %u", ae->unique_id); - if(unlikely(alarm_entry_isrepeating(host, ae))) { - error("Repeating alarms cannot be added to host's alarm log entries. It seems somewhere in the logic, API is being misused. Alarm id: %u", ae->alarm_id); - return; - } // link it netdata_rwlock_wrlock(&host->health_log.alarm_log_rwlock); ae->next = host->health_log.alarms; |