Add healthcheck script for multipathd

This patch adds script for docker health check of multipathd service.
The script uses multipathd command to show number of monitored paths.

Change-Id: If9476b2dd485f8399d10289989ba74a2c1f58626
This commit is contained in:
Martin Mágr 2018-01-30 12:16:27 +01:00
parent 1550e16d6e
commit 8a0f1940da
1 changed files with 6 additions and 0 deletions

6
healthcheck/multipathd Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
multipathd show status
exit $?