summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/isc_dhcpd.conf
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
commitd4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c (patch)
treefaac99f51f182bb8c0a03e95e393d421ac9ddf42 /conf.d/health.d/isc_dhcpd.conf
parentNew upstream version 1.9.0+dfsg (diff)
downloadnetdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.tar.xz
netdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.zip
New upstream version 1.10.0+dfsgupstream/1.10.0+dfsg
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 4345619a..8054656f 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