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

Component Checks & agents
Title solaris: uptime: Cannot render negative timespan
Date Dec 19, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p18 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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."

To the list of all Werks