diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-04-20 14:32:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 14:32:59 +0300 |
commit | 6caab18c2e7c8b142b0fac3e0087cb3b67862410 (patch) | |
tree | 538898076d6206ef112e615a6607e84254a7fd54 /health/health_log.c | |
parent | fce09f9c899f10c5d39125c93b111b3fc4b7aaa6 (diff) |
Store alert log entries even if alert is repeating. (#12226)
* store alarm log entries even if it is repeating
* log times repeated for an alert
Diffstat (limited to 'health/health_log.c')
-rw-r--r-- | health/health_log.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/health/health_log.c b/health/health_log.c index 6d63966c78..4959aa179a 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -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; |