Add alarms for FreeBSD interface errors (#8340)
Based on net.drops alarms.
Lasse Bang Mikkelsen committed
Jul 26, 2020 at 18:29 UTC
f661cf8210704dd1aebc698ff54906b487dae1ce
1 file changed
+28
-1
health/health.d/net.conf
+28
-1
@@ -110,6 +110,34 @@ families: *
110
info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes
111
to: sysadmin
112
113
+# -----------------------------------------------------------------------------
114
+# interface errors
115
+
116
+template: interface_inbound_errors
117
+ on: net.errors
118
+ os: freebsd
119
+ hosts: *
120
+families: *
121
+ lookup: sum -10m unaligned absolute of inbound
122
+ units: errors
123
+ every: 1m
124
+ warn: $this >= 5
125
+ delay: down 1h multiplier 1.5 max 2h
126
+ info: interface inbound errors in the last 10 minutes
127
+ to: sysadmin
128
+
129
+template: interface_outbound_errors
130
+ on: net.errors
131
+ os: freebsd
132
+ hosts: *
133
+families: *
134
+ lookup: sum -10m unaligned absolute of outbound
135
+ units: errors
136
+ every: 1m
137
+ warn: $this >= 5
138
+ delay: down 1h multiplier 1.5 max 2h
139
+ info: interface outbound errors in the last 10 minutes
140
+ to: sysadmin
141
142
# -----------------------------------------------------------------------------
143
# FIFO errors
@@ -132,7 +160,6 @@ families: *
160
info: interface fifo errors in the last 10 minutes
161
to: sysadmin
162
135
-
163
# -----------------------------------------------------------------------------
164
# check for packet storms
165