Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: deeb5ba7fd95bea94825c80bcc0e098aff03d4c9
https://github.com/tribe29/checkmk/commit/deeb5ba7fd95bea94825c80bcc0e098af…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-11 (Thu, 11 Jul 2019)
Changed paths:
A .werks/7970
Log Message:
-----------
7970 FIX Fix possible AttributeError "function" has no attribute
"get" exception during checking
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:
C+:
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'
C-:
Change-Id: I4e63f7bce130d19a7a379cfe4545a782b390d66c