Werk #15316: solaris: uptime: Cannot render negative timespan

Komponente Checks & agents
Titel solaris: uptime: Cannot render negative timespan
Datum 19.12.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Solaris server may keep a bad time when moved to different hardware. This is corrected some minutes after booting via NTP server.

If the checkmk client is used before the time has been corrected, it was possible that a negative time span was reported for the time since the last start. This caused a crash in the check.

The new behaviour is, that the check will report an UNKNOWN status alongside the message: "Your Solaris system reported to be booted in the future."

Zur Liste aller Werks