tripleo-common/healthcheck/ceilometer-agent-compute
Martin Magr 0e64162d02 Fix ceilometer_agent_compute health check
The agent communicates via Redis (not RabbitMQ), so it should look
for that port instead

Change-Id: I780ec27c206c508cf68d0ce16ef269b5d1b92581
2019-11-04 12:18:26 +01:00

15 lines
338 B
Bash
Executable File

#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='ceilometer-polling'
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