Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 7c515953db02159a13c1db12e1f02eea6213b5af
https://github.com/tribe29/checkmk/commit/7c515953db02159a13c1db12e1f02eea6…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2019-10-18 (Fri, 18 Oct 2019)
Changed paths:
M checks/check_mk
Log Message:
-----------
CMK-3011: cmk-update-agent.exe: Show pending update in service
Only relevant for calls of cmk-update-agent.exe as a plugin:
A pending update (i.e. agent package is placed at installation)
folder and the agent updater awaits the update by Windows Agent)
is now mentioned in the AgentUpdate agent section and processed
by the check_mk_agent check.
Under normal circumstances, it will barely visible on the GUI
because the Windows Agent is very quick with the update and the
agent updater will be called immediately after the update.
But if the Windows Agent fails to update, this would be a clue.
Additionally, the last_check value is now set more reasonably:
It is now only updated if an actual check for an update took place.
(Not if just the pending update gets confirmed)
Finally, the agent updater now pushes its status to the server even
if it is only awaiting the Windows Agent Update, because this marks
the "last contact" at the agent updates status page.
Change-Id: I7f9b5f3d93495493d22276e57234e64914a94688
Commit: 26b76042f14adbc33e6958c8975e4815574cadfd
https://github.com/tribe29/checkmk/commit/26b76042f14adbc33e6958c8975e48155…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2019-10-18 (Fri, 18 Oct 2019)
Changed paths:
A .werks/7173
Log Message:
-----------
07173 FIX cmk-update-agent.exe: Fix stdout/stderr redirects
This Werk fixes the following bug:
cmk-update-agent.exe console output won't work on Windows if
stdout/stderr gets redirected to file.
Instead, a Traceback like this will be displayed for every output:
<pre>
Traceback (most recent call last):
File "logging\__init__.py", line 861, in emit
File "logging\__init__.py", line 734, in format
File "cmk_update_agent.py", line 1713, in format
TypeError: encode() argument 1 must be string, not None
Logged from file cmk_update_agent.py, line 1009
</pre>
The normal program flow is not affected by this bug, also normal
logging takes place as expected, as can be seen at log/cmk-update-agent.log
CMK-3017
Change-Id: If2ae65440677f39e0b232e0d650f6d6b5f884f39
Compare:
https://github.com/tribe29/checkmk/compare/fa3a075d9d0b...26b76042f14a