Add healthcheck script for Collectd

This patch adds script for docker health check of collectd service.
The script uses collectd control tool to list collected values.

Change-Id: I3efc1996d67d270a6fc453a8cfcaf6f6eeae6218
This commit is contained in:
Martin Mágr 2018-01-26 16:33:44 +01:00
parent 1550e16d6e
commit b6091a0265
1 changed files with 4 additions and 0 deletions

4
healthcheck/collectd Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
collectdctl -s /var/run/collectd-socket listval
exit $?