Skip to content

Commit 7ab6be8

Browse files
sg893052mssonicbld
authored andcommitted
Handle service start-limit-hit failure event case in sysmonitor (sonic-net#16174)
1 parent 1909f01 commit 7ab6be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/system-health/health_checker/sysmonitor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self,myQ):
7373
self.task_queue = myQ
7474

7575
def on_job_removed(self, id, job, unit, result):
76-
if result == "done":
76+
if result == "done" or result == "failed":
7777
timestamp = "{}".format(datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S"))
7878
msg = {"unit": unit, "evt_src":"sysbus", "time":timestamp}
7979
self.task_notify(msg)

0 commit comments

Comments
 (0)