summaryrefslogtreecommitdiffstats
path: root/health/health.d/dnsmasq_dhcp.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--health/health.d/dnsmasq_dhcp.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/health/health.d/dnsmasq_dhcp.conf b/health/health.d/dnsmasq_dhcp.conf
new file mode 100644
index 0000000..ecf3b84
--- /dev/null
+++ b/health/health.d/dnsmasq_dhcp.conf
@@ -0,0 +1,12 @@
+# dhcp-range utilization
+
+template: dnsmasq_dhcp_dhcp_range_utilization
+ on: dnsmasq_dhcp.dhcp_range_utilization
+ every: 10s
+ units: %
+ calc: $used
+ warn: $this > ( ($status >= $WARNING ) ? ( 80 ) : ( 90 ) )
+ crit: $this > ( ($status >= $CRITICAL) ? ( 90 ) : ( 95 ) )
+ delay: down 5m
+ info: dhcp-range utilization above threshold!
+ to: sysadmin