aaa981c9eb
Rabbitmq healthcheck when used against newer rabbitmq versions (seen at least with 3.8.16) is using old interface "rabbitmqctl node_health_check" which is deprecated and logs the following: 2021-06-08 18:25:55.014 [warning] <0.5504.0> rabbitmqctl node_health_check and its HTTP API counterpart are DEPRECATED. See https://www.rabbitmq.com/monitoring.html#health-checks for replacement options. Let's switch to "rabbitmq-diagnostics check_running" which should be a sufficiently solid check without being too complex/heavy on rabbit itself. Change-Id: Ibaad817f52930380e659180fd8c52dca131cd4f8 Closes-Bug: #1931298
4 lines
58 B
Bash
Executable File
4 lines
58 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rabbitmq-diagnostics check_running || exit 1
|