summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-07-29 02:27:32 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-07-29 02:27:32 +0300
commitf70daa4eaef6077255f8f281c7bfdb2c02269c3a (patch)
treef2f9e7a2c96d068c3e68b080ac20a8544a78a532 /conf.d/health.d
parenta295caadca21dfebb009f62784b536e4b9c317ba (diff)
fixed wrong commit: network alarm thresholds show real value at badge and filter at conditional expressions; fixes #2529
Diffstat (limited to 'conf.d/health.d')
-rw-r--r--conf.d/health.d/net.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.d/health.d/net.conf b/conf.d/health.d/net.conf
index 09e41cb69b..846ca9113d 100644
--- a/conf.d/health.d/net.conf
+++ b/conf.d/health.d/net.conf
@@ -35,8 +35,8 @@ families: *
calc: (($inbound_packets_dropped != nan AND $this > 0) ? ($inbound_packets_dropped * 100 / $this) : (0))
units: %
every: 1m
- warn: (($inbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 0.1) : (0))
- crit: (($inbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 2.0) : (0))
+ warn: $this >= 0.1
+ crit: $this >= 2
delay: down 1h multiplier 1.5 max 2h
info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last 10 minutes
to: sysadmin
@@ -48,8 +48,8 @@ families: *
calc: (($outbound_packets_dropped != nan AND $this > 0) ? ($outbound_packets_dropped * 100 / $this) : (0))
units: %
every: 1m
- warn: (($outbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 0.1) : (0))
- crit: (($outbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 2.0) : (0))
+ warn: $this >= 0.1
+ crit: $this >= 2
delay: down 1h multiplier 1.5 max 2h
info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes
to: sysadmin