From 4f71d818a55bdf78050e0b24504d3eea3bf947b6 Mon Sep 17 00:00:00 2001 From: siddharthist Date: Wed, 30 Mar 2016 10:00:44 -0700 Subject: [PATCH] Add disk usage check for /var/lib/docker Progress on #55 --- distributive/distributive-docker/distributive-docker.json | 7 ++++++- distributive/distributive-docker/spec.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/distributive/distributive-docker/distributive-docker.json b/distributive/distributive-docker/distributive-docker.json index cd95fcf..010d675 100644 --- a/distributive/distributive-docker/distributive-docker.json +++ b/distributive/distributive-docker/distributive-docker.json @@ -21,6 +21,11 @@ "Name": "docker systemd service enabled", "ID": "systemctlLoaded", "Parameters": ["docker.service"] - } + }, + { + "Name": "docker disk usage is below 90%", + "ID": "diskUsage", + "Parameters": ["/var/lib/docker", "90%"] + } ] } diff --git a/distributive/distributive-docker/spec.yml b/distributive/distributive-docker/spec.yml index 0838474..16d5f2b 100644 --- a/distributive/distributive-docker/spec.yml +++ b/distributive/distributive-docker/spec.yml @@ -1,6 +1,6 @@ name: distributive-docker -version: 0.2.4 +version: 0.2.5 iteration: 1 license: ASL 2.0 description: Distributive-docker is a configuration for distributed health checks.