]> arthur.barton.de Git - netdata.git/commitdiff
add alarm configuration (file parsing time)
authorlgz <lgz@loled2>
Fri, 23 Dec 2016 13:32:56 +0000 (22:32 +0900)
committerlgz <lgz@loled2>
Fri, 23 Dec 2016 13:32:56 +0000 (22:32 +0900)
conf.d/health.d/isc_dhcpd.conf [new file with mode: 0644]

diff --git a/conf.d/health.d/isc_dhcpd.conf b/conf.d/health.d/isc_dhcpd.conf
new file mode 100644 (file)
index 0000000..4345619
--- /dev/null
@@ -0,0 +1,10 @@
+ alarm: isc_dhcpd_parse_time
+      on: isc_dhcpd.parse_time
+   units: ms
+   every: 60
+    calc: $ptime
+    warn: $this > 100
+    crit: $this > 250
+   delay: up 2m down 5m
+    info: Parsing too slow! It can slow down your server. Check dhcpd.leases file size.
+      to: sysadmin