tripleo-common/healthcheck/ceilometer-agent-compute
Martin Mágr e85b982507 Activate another set of healthchecks
In previous patches link to appropriate scripts were not added.
This patch adds links related to following already merged patches:
 - I757d53189f5819bb3a0e7bebe277353f3460738d
 - I4a193d7ce1c455da2865498470ed3b98160df112
 - Ie8eaab9919bde61793a3310328ee9f117c4e58da
 - Ief543580e6b717bb9dba62b19ffe12aff5395ff9

This patch also adds exec permission to some of the healthchecks
added in above patches.

Change-Id: Id5dc7d169301e45cb0abab7cecae67457db9fd96
2018-04-09 10:42:15 +00:00

15 lines
338 B
Bash
Executable File

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