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 #7970: Fix possible AttributeError 'function' has no attribute 'get' exception during checking

ComponentCore & Setup
TitleFix possible AttributeError "function" has no attribute "get" exception during checking
Date2019-07-10 14:15:19
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.6.0b4,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

In the moment a check timeout occured while checking a host when using the Microcore an exception like this could occur in all previous 1.6 releases:

An exception occured while processing host "beta"
Traceback (most recent call last):
File "/omd/sites/beta/lib/python/cmk_base/cee/keepalive.py", line 331, in do_keepalive
exit_code = host_config.exit_code_spec.get("timeout", 2)
AttributeError: 'function' object has no attribute 'get'