summaryrefslogtreecommitdiffstats
path: root/health/health_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'health/health_log.c')
-rw-r--r--health/health_log.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/health/health_log.c b/health/health_log.c
index b1f59a1a5..b62e0ace4 100644
--- a/health/health_log.c
+++ b/health/health_log.c
@@ -5,14 +5,7 @@
// ----------------------------------------------------------------------------
inline void health_alarm_log_save(RRDHOST *host, ALARM_ENTRY *ae) {
-
sql_health_alarm_log_save(host, ae);
-
-#ifdef ENABLE_ACLK
- if (netdata_cloud_setting) {
- sql_queue_alarm_to_aclk(host, ae, 0);
- }
-#endif
}
// ----------------------------------------------------------------------------
@@ -53,6 +46,8 @@ inline ALARM_ENTRY* health_create_alarm_entry(
uuid_copy(ae->config_hash_id, *((uuid_t *) config_hash_id));
+ uuid_generate_random(ae->transition_id);
+
ae->family = string_dup(family);
ae->classification = string_dup(class);
ae->component = string_dup(component);