Commit ee6c23fb authored by MaksimSmile13's avatar MaksimSmile13 Committed by Andrey Vertiprahov
Browse files

Fix Close Alarm Time

parent 2cc8e648
......@@ -69,6 +69,7 @@ class AlarmsCheck(DiscoveryCheck):
for close_event in close_objects_events:
event = system_events[close_event]
raw_vars = event.raw_vars
raw_vars["alarm_time"] ='%Y-%m-%dT%H:%M:%S')
raw_vars["status"] = "Close"
self.raise_event(self.logger,,, raw_vars)
event.mark_as_archived("Close event")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment