{% if rabbitmq_status == 200 %}
{% if default_queue.messages_ready == 0 %}
Running, no tasks waiting to be processed
{% elif default_queue.messages_ready > 0 %}
{% if default_queue.messages_ready == 1 %}
Running, no tasks waiting to be processed
{% else %}
Running, {{ default_queue.messages_ready }} tasks waiting in queue
{% endif %}
Purge queue
{% endif %}
{% else %}
|
Not running! Has the RabbitMQ management interface been enabled? (See
the docs
)
{% endif %}
|
{% if celery_queue %}
Running
{% else %}
|
{% if rabbitmq_status == 200 %}
Not running! No tasks will be processed! (See
the docs
)
{% else %}
Celery status not available if RabbitMQ is not running!
{% endif %}
{% endif %}
|
{% if flower_status == 200 %}
Running
{% elif flower_status == 401 %}
|
Connection error - unauthorised!
{% elif flower_status == 500 %}
|
Not running! Has it been started? (See
the docs
)
{% else %}
|
Flower status unknown!
{% endif %}
|