×
Back to Opsview FAQ
Solution: purge_queue
Downtime Manager - Message Queue Rate - METRIC CRITICAL - Messages not being consumed
Symptoms Copied
-
METRIC CRITICAL - Messages not being consumed, Publish Rate is 0.00mps,
Deliver Rate is 0.00mps, Message Count is 1msgs
Cause: downtime apply issue due to duplicate entry for key Copied
Known issue OP-54797
Follow the below steps in the terminal to get around this issue, stop the downtime manager module, purge the downtime-queue queue, and then start it up,
/opt/opsview/watchdog/bin/opsview-monit stop opsview-downtimemanager
/opt/opsview/messagequeue/sbin/rabbitmqctl list_queues
/opt/opsview/messagequeue/sbin/rabbitmqctl purge_queue downtime-queue
Purging queue 'downtime-queue' in vhost '/' ...
/opt/opsview/watchdog/bin/opsview-monit start opsview-downtimemanager
/opt/opsview/watchdog/bin/opsview-monit summary -B | grep -i downtime
Solution: purge_queue opsview-downtimemanager
Copied
You may want to then check if the queue has been purged and there should be 0 number of messages in the downtime-queue
/opt/opsview/messagequeue/sbin/rabbitmqctl list_queues | grep downtime
downtime-queue 0
["Geneos"]
["FAQ"]