From: Costa Tsaousis (ktsaou) Date: Thu, 22 Sep 2016 11:23:14 +0000 (+0300) Subject: softnet budget alarm is now a silent alarm X-Git-Tag: v1.4.0~36^2~3 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64d9d09ab4ce6faabb754450b458d72a3539bc8d;p=netdata.git softnet budget alarm is now a silent alarm --- diff --git a/conf.d/health.d/softnet.conf b/conf.d/health.d/softnet.conf index 719880bf..50dfbeb3 100644 --- a/conf.d/health.d/softnet.conf +++ b/conf.d/health.d/softnet.conf @@ -18,4 +18,4 @@ warn: $this > ( ($status >= $WARNING) ? (0) : (5) ) delay: down 30m multiplier 1.5 max 1h info: number of times ksoftirq ran out of sysctl net.core.netdev_budget or time slice, with work remaining (this can be a cause for dropped packets) - to: sysadmin + to: silent diff --git a/plugins.d/alarm-notify.sh b/plugins.d/alarm-notify.sh index f1b8bba7..4d02c87e 100755 --- a/plugins.d/alarm-notify.sh +++ b/plugins.d/alarm-notify.sh @@ -159,6 +159,9 @@ declare -A arr_email=() # so, here we find the unique ones for x in ${recipient//,/ } do + # the recipient 'silent' means, don't send a notification for this event + [ "${x}" = "silent" ] & continue + # email a="${role_recipients_email[${recipient}]}" [ -z "${a}" ] && a="${DEFAULT_RECIPIENT_EMAIL}"