Werk #16885: Crash: liebert_maintenance: ValueError("Cannot render negative timespan") when time is overdue
Komponente | Checks & agents | ||||||
Titel | Crash: liebert_maintenance: ValueError("Cannot render negative timespan") when time is overdue | ||||||
Datum | 21.05.2024 | ||||||
Level | Kleine Änderung | ||||||
Klasse | Bugfix | ||||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||||
Checkmk versions & editions |
|
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.