better network alarm thresholds; fixes #2529
Costa Tsaousis (ktsaou) committed
Jul 29, 2017 at 01:25 UTC
bee4eea552774e3e2703683a0dbf055774b9758b
1 file changed
+8
-8
conf.d/health.d/net.conf
+8
-8
@@ -12,7 +12,7 @@ families: *
12
lookup: sum -10m unaligned absolute of inbound
13
units: packets
14
every: 1m
15
- warn: $this > 0
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 > 0
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,11 +32,11 @@ 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 $this > 0) ? ($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.5
39
- crit: $this > 3
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
@@ -45,11 +45,11 @@ 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 $this > 0) ? ($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.5
52
- crit: $this > 3
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