diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-06-05 18:16:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 18:16:28 +0300 |
commit | 81174475a315fdf5a0b6d23bd5edbae82d028cb1 (patch) | |
tree | babac50e663952097bb8db5aacf544ce744984cf /health | |
parent | cfc91853eb8ed17572076e9ebc26a40d40391402 (diff) |
Generate, store and transmit a unique alert event_hash_id (#15111)
* generate and store an event_hash_id
* transmit to cloud
* transmit to the cloud
Diffstat (limited to 'health')
-rw-r--r-- | health/health_log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/health/health_log.c b/health/health_log.c index a359b92e32..b62e0ace41 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -46,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); |