diff --git a/src/system-health/health_checker/sysmonitor.py b/src/system-health/health_checker/sysmonitor.py index 7a42768c3f9a..10af5d4a7d26 100755 --- a/src/system-health/health_checker/sysmonitor.py +++ b/src/system-health/health_checker/sysmonitor.py @@ -73,7 +73,7 @@ def __init__(self,myQ): self.task_queue = myQ def on_job_removed(self, id, job, unit, result): - if result == "done": + if result == "done" or result == "failed": timestamp = "{}".format(datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S")) msg = {"unit": unit, "evt_src":"sysbus", "time":timestamp} self.task_notify(msg)