Module: check_mk
Branch: master
Commit: cb28971fc4a5d0efd4507f0bdd5b96fcef98f7bd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cb28971fc4a5d0…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue May 8 11:21:17 2018 +0200
5806 FIX Periodic service discovery: Fixed scenario where process could get stuck
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.
Change-Id: I348a85821c316f1ed99b229190597f61ec8b9bc1
---
.werks/5806 | 14 ++++
cmk_base/discovery.py | 228 +++++++++++++++++++++++++++++---------------------
2 files changed, 148 insertions(+), 94 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=cb28971fc4…