summaryrefslogtreecommitdiffstats
path: root/health/health_log.c
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2021-10-06 20:55:31 +0300
committerGitHub <noreply@github.com>2021-10-06 20:55:31 +0300
commit12f16063f51e51a8e3c0e0ae727a634258b95219 (patch)
tree24a7eae9d61f6f5009a9d6d1e1b5d7e2870d64ca /health/health_log.c
parentaf93cc31eda9a2b7058c4b02d8f984331e5f544b (diff)
Enable additional functionality for the new cloud architecture (#11579)
Diffstat (limited to 'health/health_log.c')
-rw-r--r--health/health_log.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/health/health_log.c b/health/health_log.c
index e5d0e0fa96..d20085d9e9 100644
--- a/health/health_log.c
+++ b/health/health_log.c
@@ -162,10 +162,7 @@ inline void health_alarm_log_save(RRDHOST *host, ALARM_ENTRY *ae) {
#ifdef ENABLE_ACLK
if (netdata_cloud_setting) {
- if ((ae->new_status == RRDCALC_STATUS_WARNING || ae->new_status == RRDCALC_STATUS_CRITICAL) ||
- ((ae->old_status == RRDCALC_STATUS_WARNING || ae->old_status == RRDCALC_STATUS_CRITICAL))) {
- aclk_update_alarm(host, ae);
- }
+ sql_queue_alarm_to_aclk(host, ae);
}
#endif
}