dnsmasq_dhcp: dhcp-range utilization alarm (#6319)
Ilya Mashchenko committed
Jun 24, 2019 at 11:15 UTC
25dfb0580a2c88c1e24608df332812d2fe2ecb24
2 files changed
+13
health/Makefile.am
+1
@@ -35,6 +35,7 @@ dist_healthconfig_DATA = \
35
health.d/cpu.conf \
36
health.d/couchdb.conf \
37
health.d/disks.conf \
38
+ health.d/dnsmasq_dhcp.conf \
39
health.d/dockerd.conf \
40
health.d/elasticsearch.conf \
41
health.d/entropy.conf \
health/health.d/dnsmasq_dhcp.conf
new
+12
@@ -0,0 +1,12 @@
1
+ # dhcp-range utilization
2
+
3
+ template: dnsmasq_dhcp_dhcp_range_utilization
4
+ on: dnsmasq_dhcp.dhcp_range_utilization
5
+ every: 10s
6
+ units: %
7
+ calc: $used
8
+ warn: $this > ( ($status >= $WARNING ) ? ( 80 ) : ( 90 ) )
9
+ crit: $this > ( ($status >= $CRITICAL) ? ( 90 ) : ( 95 ) )
10
+ delay: down 5m
11
+ info: dhcp-range utilization above threshold!
12
+ to: sysadmin