36df37be31
Currently we don't set timeout and the default is infinity. Change-Id: Id1a87995a36e202fc0aaf82daf022ec10d78e37d
11 lines
344 B
Bash
11 lines
344 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rabbitmq-diagnostics -t 5 -q ping || exit 1
|
|
rabbitmq-diagnostics -t 5 -q status || exit 1
|
|
rabbitmq-diagnostics -t 5 -q check_running || exit 1
|
|
rabbitmq-diagnostics -t 5 -q check_local_alarms || exit 1
|
|
rabbitmq-diagnostics -t 5 -q check_port_connectivity || exit 1
|
|
rabbitmq-diagnostics -t 5 -q check_virtual_hosts || exit 1
|