@cryptotaxi247 / netdata-1 / commits / bbc7f00a1

network alarm thresholds show real value at badge and filter at conditional expressions; fixes #2529

Costa Tsaousis (ktsaou) committed Jul 29, 2017 at 01:33 UTC bbc7f00a11acf0260859c7a3917f81710003c9cc
1 file changed +4 -4
conf.d/health.d/net.conf
+4 -4
@@ -12,7 +12,7 @@ families: *
12 lookup: sum -10m unaligned absolute of inbound
13 units: packets
14 every: 1m
15 - warn: $this > 5
15 + warn: $this >= 5
16 delay: down 1h multiplier 1.5 max 2h
17 info: interface inbound dropped packets in the last 10 minutes
18 to: sysadmin
@@ -23,7 +23,7 @@ families: *
23 lookup: sum -10m unaligned absolute of outbound
24 units: packets
25 every: 1m
26 - warn: $this > 5
26 + warn: $this >= 5
27 delay: down 1h multiplier 1.5 max 2h
28 info: interface outbound dropped packets in the last 10 minutes
29 to: sysadmin
@@ -32,7 +32,7 @@ template: inbound_packets_dropped_ratio
32 on: net.packets
33 families: *
34 lookup: sum -10m unaligned absolute of received
35 - calc: (($inbound_packets_dropped != nan AND $inbound_packets_dropped > 5 AND $this > 50) ? ($inbound_packets_dropped * 100 / $this) : (0))
35 + calc: (($inbound_packets_dropped != nan AND $inbound_packets_dropped >= 5 AND $this >= 50) ? ($inbound_packets_dropped * 100 / $this) : (0))
36 units: %
37 every: 1m
38 warn: $this > 0.1
@@ -45,7 +45,7 @@ template: outbound_packets_dropped_ratio
45 on: net.packets
46 families: *
47 lookup: sum -10m unaligned absolute of sent
48 - calc: (($outbound_packets_dropped != nan AND $outbound_packets_dropped > 5 AND $this > 50) ? ($outbound_packets_dropped * 100 / $this) : (0))
48 + calc: (($outbound_packets_dropped != nan AND $outbound_packets_dropped >= 5 AND $this >= 50) ? ($outbound_packets_dropped * 100 / $this) : (0))
49 units: %
50 every: 1m
51 warn: $this > 0.1