]> arthur.barton.de Git - netdata.git/commitdiff
softnet budget alarm is now a silent alarm
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Thu, 22 Sep 2016 11:23:14 +0000 (14:23 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Thu, 22 Sep 2016 11:23:14 +0000 (14:23 +0300)
conf.d/health.d/softnet.conf
plugins.d/alarm-notify.sh

index 719880bff8134d21f3884a19007a11dd72c81036..50dfbeb38d1eab418f06d80e350a320e5d6cebe8 100644 (file)
@@ -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
index f1b8bba7d1c0aeda468a250dba75548799178a4e..4d02c87e49cd050a9b036c3f9da3a8b24983e6ca 100755 (executable)
@@ -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}"