summaryrefslogtreecommitdiffstats
path: root/health/health.d/docker.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/docker.conf')
-rw-r--r--health/health.d/docker.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/health/health.d/docker.conf b/health/health.d/docker.conf
new file mode 100644
index 00000000..f1702847
--- /dev/null
+++ b/health/health.d/docker.conf
@@ -0,0 +1,11 @@
+ template: docker_container_unhealthy
+ on: docker.container_health_status
+ class: Errors
+ type: Containers
+component: Docker
+ units: status
+ every: 10s
+ lookup: average -10s of unhealthy
+ crit: $this > 0
+ info: ${label:container_name} docker container health status is unhealthy
+ to: sysadmin