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.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/health/health.d/dockerd.conf b/health/health.d/dockerd.conf
new file mode 100644
index 0000000..220ddd6
--- /dev/null
+++ b/health/health.d/dockerd.conf
@@ -0,0 +1,11 @@
+ template: docker_unhealthy_containers
+ on: docker.unhealthy_containers
+ class: Errors
+ type: Containers
+component: Docker
+ units: unhealthy containers
+ every: 10s
+ lookup: average -10s
+ crit: $this > 0
+ info: average number of unhealthy docker containers over the last 10 seconds
+ to: sysadmin