Werk #11116: job: Failed jobs are not OK just because a new one is running
| Component | Checks & agents | ||
| Title | job: Failed jobs are not OK just because a new one is running | ||
| Date | Oct 9, 2020 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
The job plugin determines its state from the age of the last job and its exit code. Previously, a job was considered {OK} regardless of its exit code whenever a job was running at the time of checking. This way a long running job could appear to be {OK} most of the time, even if it was constantly failing.