fixed wrong commit: network alarm thresholds show real value at badge and filter at conditional expressions; fixes #2529
Costa Tsaousis (ktsaou) committed
Jul 29, 2017 at 02:27 UTC
f70daa4eaef6077255f8f281c7bfdb2c02269c3a
1 file changed
+4
-4
conf.d/health.d/net.conf
+4
-4
@@ -35,8 +35,8 @@ families: *
35
calc: (($inbound_packets_dropped != nan AND $this > 0) ? ($inbound_packets_dropped * 100 / $this) : (0))
36
units: %
37
every: 1m
38
- warn: (($inbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 0.1) : (0))
39
- crit: (($inbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 2.0) : (0))
38
+ warn: $this >= 0.1
39
+ crit: $this >= 2
40
delay: down 1h multiplier 1.5 max 2h
41
info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last 10 minutes
42
to: sysadmin
@@ -48,8 +48,8 @@ families: *
48
calc: (($outbound_packets_dropped != nan AND $this > 0) ? ($outbound_packets_dropped * 100 / $this) : (0))
49
units: %
50
every: 1m
51
- warn: (($outbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 0.1) : (0))
52
- crit: (($outbound_packets_dropped >= 5 AND $this >= 50) ? ($this > 2.0) : (0))
51
+ warn: $this >= 0.1
52
+ crit: $this >= 2
53
delay: down 1h multiplier 1.5 max 2h
54
info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes
55
to: sysadmin