summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/isc_dhcpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/health.d/isc_dhcpd.conf')
-rw-r--r--conf.d/health.d/isc_dhcpd.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/conf.d/health.d/isc_dhcpd.conf b/conf.d/health.d/isc_dhcpd.conf
index 4345619aa..8054656ff 100644
--- a/conf.d/health.d/isc_dhcpd.conf
+++ b/conf.d/health.d/isc_dhcpd.conf
@@ -1,10 +1,10 @@
- alarm: isc_dhcpd_parse_time
- on: isc_dhcpd.parse_time
- units: ms
+ template: isc_dhcpd_leases_size
+ on: isc_dhcpd.leases_total
+ units: KB
every: 60
- calc: $ptime
- warn: $this > 100
- crit: $this > 250
+ calc: $leases_size
+ warn: $this > 3072
+ crit: $this > 6144
delay: up 2m down 5m
- info: Parsing too slow! It can slow down your server. Check dhcpd.leases file size.
+ info: dhcpd.leases file too big! Module can slow down your server.
to: sysadmin