summaryrefslogtreecommitdiffstats
path: root/health/health.d/dockerd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/dockerd.conf')
-rw-r--r--health/health.d/dockerd.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/health/health.d/dockerd.conf b/health/health.d/dockerd.conf
new file mode 100644
index 0000000..729906c
--- /dev/null
+++ b/health/health.d/dockerd.conf
@@ -0,0 +1,8 @@
+template: docker_unhealthy_containers
+ on: docker.unhealthy_containers
+ units: unhealthy containers
+ every: 10s
+ lookup: average -10s
+ crit: $this > 0
+ info: number of unhealthy containers
+ to: sysadmin