Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 5a196aed3fae271d81c6229a716fbca47c5544b8
https://github.com/Checkmk/checkmk/commit/5a196aed3fae271d81c6229a716fbca47…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
A .werks/15315
M cmk/base/plugins/agent_based/uptime.py
M tests/unit/cmk/base/plugins/agent_based/test_uptime_check.py
Log Message:
-----------
15315 FIX solaris: uptime: AssertionError
Shortly after rebooting, solaris uptime command returned a timestamp
that could not be parsed by the checkmk agent.
SUP-16709
Change-Id: Ic065351b1b957d31e252a690b7fec0ddb66896a4
Commit: 5d56e9ac32d33113cae9f27eb0691b9e4217f70a
https://github.com/Checkmk/checkmk/commit/5d56e9ac32d33113cae9f27eb0691b9e4…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
M cmk/base/plugins/agent_based/uptime.py
Log Message:
-----------
remove unnecessary uptime_struct dict
* fix spelling
* fix formatting of docstring
* simplify string concatenation
Change-Id: I6a3cd09885467eee7622f297106caa2faef6bef3
Commit: 475d096595a04a466d505ed8d05eecc6f5a5d431
https://github.com/Checkmk/checkmk/commit/475d096595a04a466d505ed8d05eecc6f…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
A .werks/15316
M cmk/base/plugins/agent_based/uptime.py
M tests/unit/cmk/base/plugins/agent_based/test_uptime_check.py
Log Message:
-----------
15316 FIX solaris: uptime: Cannot render negative timespan
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."
SUP-16803
Change-Id: I7db17a3330da781467544839e7c4b6c1b0bbc86a
Compare:
https://github.com/Checkmk/checkmk/compare/7d5131a89eeb...475d096595a0