check if rabbitmq broker is running remote code example Example: check rabbitmq service status sudo service rabbitmq-server status