We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10239: Fix agent host diagnose mostly affecting windows hosts

TitleFix agent host diagnose mostly affecting windows hosts
Date2019-09-27 08:15:17
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p3,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

The "Agent" box of the host diagnose page was not returning a result when contacting some hosts. This was mostly affecting windows hosts, but could also affect other hosts.

The problem was caused by non ASCII characters in the agent output, which made the processing fail.

We now first try to decode the agent output with UTF-8, in case this fail we fallback to the "fallback agent output encoding", which is latin-1. When this also fails we replace the non decodable characters with some place holder.