tripleo-common/healthcheck
Derek Higgins 30f3c02fc7 Add health check command for ironic-pxe image
This image is shared by two containers so the healthcheck needs
to first check which container it is before building the URL to
check.

Change-Id: If5b77481330fa697f1bab16696acb70075052d4f
2017-09-04 10:39:20 +01:00
..
aodh-evaluator Set healthchecks executable. 2017-08-21 17:59:39 -04:00
aodh-listener Set healthchecks executable. 2017-08-21 17:59:39 -04:00
aodh-notifier Set healthchecks executable. 2017-08-21 17:59:39 -04:00
ceilometer-agent-central Set healthchecks executable. 2017-08-21 17:59:39 -04:00
ceilometer-agent-ipmi Set healthchecks executable. 2017-08-21 17:59:39 -04:00
ceilometer-agent-notification Set healthchecks executable. 2017-08-21 17:59:39 -04:00
cinder-backup Set healthchecks executable. 2017-08-21 17:59:39 -04:00
cinder-scheduler Set healthchecks executable. 2017-08-21 17:59:39 -04:00
cinder-volume Set healthchecks executable. 2017-08-21 17:59:39 -04:00
common.sh Merge "Make curl healthchecks work with internal TLS" 2017-09-01 11:21:00 +00:00
glance-api Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
heat-api Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
heat-api-cfn Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
heat-engine Set healthchecks executable. 2017-08-21 17:59:39 -04:00
ironic-api Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
ironic-conductor Set healthchecks executable. 2017-08-21 17:59:39 -04:00
ironic-pxe Add health check command for ironic-pxe image 2017-09-04 10:39:20 +01:00
keystone-admin Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
keystone-public Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
manila-scheduler Set healthchecks executable. 2017-08-21 17:59:39 -04:00
mariadb healthchecks: service checks for rabbit, swift-*, mysql 2017-07-28 02:42:50 +00:00
mistral-engine Set healthchecks executable. 2017-08-21 17:59:39 -04:00
mistral-executor Set healthchecks executable. 2017-08-21 17:59:39 -04:00
neutron-dhcp Set healthchecks executable. 2017-08-21 17:59:39 -04:00
neutron-l3 Set healthchecks executable. 2017-08-21 17:59:39 -04:00
neutron-metadata Set healthchecks executable. 2017-08-21 17:59:39 -04:00
neutron-ovs-agent Set healthchecks executable. 2017-08-21 17:59:39 -04:00
nova-api Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
nova-compute Set healthchecks executable. 2017-08-21 17:59:39 -04:00
nova-conductor Set healthchecks executable. 2017-08-21 17:59:39 -04:00
nova-consoleauth Set healthchecks executable. 2017-08-21 17:59:39 -04:00
nova-ironic Set healthchecks executable. 2017-08-21 17:59:39 -04:00
nova-scheduler Set healthchecks executable. 2017-08-21 17:59:39 -04:00
nova-vnc-proxy Set healthchecks executable. 2017-08-21 17:59:39 -04:00
octavia-health-manager Set healthchecks executable. 2017-08-21 17:59:39 -04:00
octavia-housekeeping Set healthchecks executable. 2017-08-21 17:59:39 -04:00
octavia-worker Set healthchecks executable. 2017-08-21 17:59:39 -04:00
rabbitmq healthchecks: service checks for rabbit, swift-*, mysql 2017-07-28 02:42:50 +00:00
README.md Add health check for services connected to RabbitMQ 2017-07-25 14:10:21 +02:00
sahara-engine Set healthchecks executable. 2017-08-21 17:59:39 -04:00
sensu-client Set healthchecks executable. 2017-08-21 17:59:39 -04:00
swift-account-server Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
swift-container-server Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
swift-object-server Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00
swift-proxy Make curl healthchecks work with internal TLS 2017-08-30 13:19:25 +02:00

Health check commands

The scripts in this directory are meant to implement the container-healthcheck blueprint. They are written to be compatible with the Docker HEALTHCHECK api.

The scripts expect to source /usr/share/tripleo-common/healthcheck/common.sh. If you want to run scripts without installing to that file, you can set the HEALTHCHECKS_DIR environment variable, e.g:

$ export HEALTHCHECKS_DIR=$PWD
$ ./heat-api
{"versions": [{"status": "CURRENT", "id": "v1.0", "links": [{"href": "http://192.168.24.1:8004/v1/", "rel": "self"}]}]}
300 192.168.24.1:8004 0.002 seconds