From 2f213f7c8e1b4c638d0433360ec97442d5b3de72 Mon Sep 17 00:00:00 2001 From: Tom Daff Date: Thu, 26 Mar 2020 00:19:16 +0000 Subject: [PATCH] monitoring: Fix check-rabbitmq-consumers. Missing commas in the definition of all the queues to check meant that it would be looking for queues with concatenated names, rather than the correct ones. Added the commas. --- scripts/nagios/check-rabbitmq-consumers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/nagios/check-rabbitmq-consumers b/scripts/nagios/check-rabbitmq-consumers index 8450b68be2..8a3d27e7e6 100755 --- a/scripts/nagios/check-rabbitmq-consumers +++ b/scripts/nagios/check-rabbitmq-consumers @@ -47,7 +47,7 @@ consumers = defaultdict(int) # type: Dict[str, int] sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))) queues = { - 'deferred_work' + 'deferred_work', 'digest_emails', 'email_mirror', 'embed_links', @@ -60,7 +60,7 @@ queues = { 'outgoing_webhooks', 'signups', 'slow_queries', - 'user_activity' + 'user_activity', 'user_activity_interval', 'user_presence', # These queues may not be present if settings.TORNADO_PROCESSES > 1