Werk #5806: Periodic service discovery: Fixed scenario where process could get stuck

KomponenteChecks & Agents
TitelPeriodic service discovery: Fixed scenario where process could get stuck
Datum2018-05-08 11:16:32
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.6.0i1,1.5.0b7
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

The process discovery (cmk --discover-marked-hosts) triggered by the cronjob had no timeout handling implemented. The python process could get stuck if the connection to the remote host was never closed. This could consume lots of memory over time, since the discovery process is triggered every 5 minutes.