Werk #6440: Backup: Deleting a backup job now deletes the state file

Component Setup
Title Backup: Deleting a backup job now deletes the state file
Date Aug 9, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When a backup job that has previously been executed is deleted, it left it's last state file in place. This resulted in Check_MK services monitoring this never changing state.

To remove state files of already deleted jobs, you can safely delete the file at /omd/sites/[SITE]/var/check_mk/backup/[JOB].state for site backup jobs and /var/lib/mkbackup/[JOB].state for appliance system backup jobs.

After deleting this file, you can execute a service discovery on your monitoring server to remove the vanished backup check.

To the list of all Werks