tripleo-common/healthcheck/octavia-health-manager
Martin Mágr dc342858a7 Add and fix healthcheck scripts for Octavia services
- adds script for docker health check of octavia-api service
 - fix the check method for octavia-health-manager service
 - fix the check method for octavia-housekeeping service

Change-Id: Ie8eaab9919bde61793a3310328ee9f117c4e58da
2018-03-21 16:34:59 +01:00

15 lines
305 B
Bash
Executable File

#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='octavia-health-manager'
args="${@:-5555}"
if healthcheck_listen $process $args; then
exit 0
else
ports=${args// /,}
echo "There is no $process process listening on ports $ports."
exit 1
fi