summaryrefslogtreecommitdiffstats
path: root/health/health.d/dnsmasq_dhcp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/dnsmasq_dhcp.conf')
-rw-r--r--health/health.d/dnsmasq_dhcp.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/health/health.d/dnsmasq_dhcp.conf b/health/health.d/dnsmasq_dhcp.conf
new file mode 100644
index 00000000..f6ef0194
--- /dev/null
+++ b/health/health.d/dnsmasq_dhcp.conf
@@ -0,0 +1,15 @@
+# dhcp-range utilization
+
+ template: dnsmasq_dhcp_dhcp_range_utilization
+ on: dnsmasq_dhcp.dhcp_range_utilization
+ class: Utilization
+ type: DHCP
+component: Dnsmasq
+ every: 10s
+ units: %
+ calc: $used
+ warn: $this > ( ($status >= $WARNING ) ? ( 80 ) : ( 90 ) )
+ delay: down 5m
+ summary: Dnsmasq DHCP range ${label:dhcp_range} utilization
+ info: DHCP range ${label:dhcp_range} utilization
+ to: sysadmin