diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-02-11 17:53:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 17:53:41 +0000 |
commit | 11aa4acfa9f11e0346430e48b2721b76bf614141 (patch) | |
tree | df3d97f5da530f376bf23ddd3f19c07a04db044e /health | |
parent | a89cebaa4cd0c7c8449fe13fb89d9ff7cbd649a2 (diff) |
fix_exclusive_notification: (#7769)
This commit removes the returns that were creating the bug
Diffstat (limited to 'health')
-rwxr-xr-x | health/notifications/alarm-notify.sh.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in index 0f43508349..8f0e14a27d 100755 --- a/health/notifications/alarm-notify.sh.in +++ b/health/notifications/alarm-notify.sh.in @@ -435,7 +435,6 @@ filter_recipient_by_criticality() { if [ -f "${NETDATA_CACHE_DIR}/alarm-notify/${method}/${r}/${alarm_id}" ]; then # we do not remove the file, so that he will get future notifications of this alarm debug "SEVERITY FILTERING for ${x} VIA ${method}: ALLOW: recipient has been notified for this alarm in the past (will still receive next status change)" - return 0 fi ;; @@ -444,7 +443,6 @@ filter_recipient_by_criticality() { # remove the file, so that he will only receive notifications for CRITICAL states for this alarm rm "${NETDATA_CACHE_DIR}/alarm-notify/${method}/${r}/${alarm_id}" debug "SEVERITY FILTERING for ${x} VIA ${method}: ALLOW: recipient has been notified for this alarm (will only receive CRITICAL notifications from now on)" - return 0 fi ;; esac |