Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: 37906f3959a8e1aed0e8132e6f39ac613e7c47aa
https://github.com/tribe29/checkmk/commit/37906f3959a8e1aed0e8132e6f39ac613…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2020-07-01 (Wed, 01 Jul 2020)
Changed paths:
A .werks/11229
M cmk_base/discovery.py
Log Message:
-----------
11229 FIX Check_MK discovery: Was not always able to discover new snmp checks (Updates werk 10534)
This werk really fixes the intension of werk #10534:
The {{Check_MK discovery}} check was unable to discover entirely new
check_types. Its discovery phase always relies on cached data, if available.
Since the SNMP datasource only fetches the data it actually needs, there is no
guarantee that all services will be discovered.
So the {{Check_MK discovery}} service failed to discover any interfaces, if the
snmp host did not have any interfaces beforehand.
Through WATO however, the discovery was successfull, since this mechanism may
bypass the snmp caching entirely.
Change-Id: I2a95117ec23eaa1d241accae0d4a57e5f56372e9