Werk #13507: Fix simulation mode in service discovery and connection tests

Komponente Setup
Titel Fix simulation mode in service discovery and connection tests
Datum 13.12.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0p18 2.1.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Werk #13505 fixed the simulation mode for already existing hosts with existing cache.

If a host has no cache, like new added hosts, the "Check_MK Discovery" service will now show an informational output "Got no data (Simulation mode enabled and no cachefile present)", like in previous 1.6 versions. Furthermore, no service discovery will be processed.

While executing connection tests in simulation mode, the "Agent" section will use the cache file, if present, or is showing the above mentioned message. The SNMP datasources will not be contacted any more if simulation mode is enabled.

Zur Liste aller Werks