I become this Notification, I am not able to identify why it’s critical, how to modify the state??
Service Notification
CRIT - Backup completed, it was running for 29 m from 2020-05-29 18:00:02 till 2020-05-29 18:29:28, Size: 3.19 GB, Next run: 2020-05-30 00:00:00(!!)
Service:
OMD master backup cronlocalbackup
Host:
xxx
State:
CRITICAL
The check plugin (~/share/check_mk/checks/mkbackup) says:
...
elif next_run is not None:
if next_run < time.time():
state = 2
else:
state = 0
yield state, "Next run: %s" % get_timestamp_human_readable(next_run)
So apparently next_runis in the past. At least the plugin thinks so. Weird. Have you fiddled around with your time settings?
Today its Thursday June 04, 2020, I got :
CRIT - Backup completed, it was running for 32 m from 2020-06-03 12:00:01 till 2020-06-03 12:32:13, Size: 3.2 GB, Next run: 2020-06-04 00:00:00(!!)
this should run next time on Wednesday because I set 7 backups one for every day! I configured it in wato