Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 7e5dbc165794ff6265111c55c9086e9410452fd3
https://github.com/Checkmk/checkmk/commit/7e5dbc165794ff6265111c55c9086e941…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
A .werks/16885.md
M cmk/plugins/liebert/agent_based/liebert_maintenance.py
M tests/unit/cmk/plugins/liebert/agent_based/test_liebert_maintenance.py
Log Message:
-----------
16885 FIX Crash: liebert_maintenance: ValueError("Cannot render negative
timespan") when time is overdue
`liebert_maintenance` check would crash with `ValueError("Cannot render negative
timespan")` if the
value for "Next maintenance" is in the past.
This change now renders positive and negative values differently (also only printing days)
adding
`'overdue'` if date for next maintenance is located in the past.
Change-Id: I0d461c89c94c3dff9503e9e9cc0ae5e1ff5dedc6
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications