nagios: give digest emails even more processing time before alerting.

(imported from commit 057511c22af39d147e4c4c499fee5a3fb7392786)
This commit is contained in:
Jessica McKellar
2014-02-18 11:24:58 -05:00
parent 0244b50f0b
commit f0c20d8acb

View File

@@ -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 < 15:
now_struct.tm_hour == 16 and now_struct.tm_min < 25:
status = 0
print("%s|%s|%s|processing digests, not alerting on elevated mail queues" % (
now, status, states[status]))