Fix
This commit is contained in:
parent
52d195be09
commit
5e2e5ba080
@ -112,7 +112,7 @@ class Main:
|
|||||||
self.executeAlarmCommand(s, error)
|
self.executeAlarmCommand(s, error)
|
||||||
elif status.getAlarmTriggeredTimestamp(section) is not None:
|
elif status.getAlarmTriggeredTimestamp(section) is not None:
|
||||||
logging.info('Alarm ceased for {}: OK!'.format(section))
|
logging.info('Alarm ceased for {}: OK!'.format(section))
|
||||||
if s.notify_alarm_end:
|
if s.notify_alarm_end and not dryRun and s.mailto:
|
||||||
self.sendAlmEndMail(s)
|
self.sendAlmEndMail(s)
|
||||||
status.unsetAlarm(section)
|
status.unsetAlarm(section)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user