From a86dc0edae09961047817edba443496f6967a3a1 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Tue, 28 Jan 2014 17:20:42 -0500 Subject: [PATCH] nagios: give digest emails more processing time before alerting. (imported from commit ed4c005bc8d0ab2d7ad3ec9e05e3f3110c9fd024) --- bots/check-rabbitmq-queue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/check-rabbitmq-queue b/bots/check-rabbitmq-queue index b959856..b912c1d 100755 --- a/bots/check-rabbitmq-queue +++ b/bots/check-rabbitmq-queue @@ -50,7 +50,7 @@ now_struct = time.gmtime(now) # While we are sending digest emails, at 11am each weekday, the mail queues can # get backed up; don't alert on those. if not set(warn_queues) - set(("missedmessage_emails", "digest_emails")) and \ - now_struct.tm_hour == 16 and now_struct.tm_min < 5: + now_struct.tm_hour == 16 and now_struct.tm_min < 15: status = 0 print("%s|%s|%s|processing digests, not alerting on elevated mail queues" % ( now, status, states[status]))