tripleo-common/healthcheck/aodh-evaluator
Martin Mágr 91167665f5 Fix nova_vnc_proxy, ceilometer_agent_central and aodh_evaluator health check
None of these services connects to RabbitMQ, so we need to verify functionality
of those services different way.

Change-Id: Ic6b51ad6be0d230375bdfb13e04f82629336d070
Closes-Bug: #1724922
2017-10-23 11:32:13 +00:00

15 lines
326 B
Bash
Executable File

#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='aodh-evaluator'
args="${@:-6379}"
if healthcheck_port $process $args; then
exit 0
else
ports=${args// /,}
echo "There is no $process process with opened Redis ports ($ports) running in the container"
exit 1
fi