Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: fa801053e4bfddc3f7576a3a1b7538a612a9d8b5
https://github.com/tribe29/checkmk/commit/fa801053e4bfddc3f7576a3a1b7538a61…
Author: Tom Baerwinkel <tom.baerwinkel(a)tribe29.com>
Date: 2021-04-07 (Wed, 07 Apr 2021)
Changed paths:
A .werks/11796
M agents/plugins/mk_logwatch.py
M agents/wnx/test_files/config_files/mk_logwatch.py
Log Message:
-----------
11796 FIX mk_logwatch: fix "cannotopen" message for a large number of files
When logwatch was configured to monitor a large number of files
messages like "[[[file_name:cannotopen]]]" may appear in the output
of the plugin for all files above a certain threshold. This error
was caused by a file handle leak and is fixed with this werk.
Change-Id: Ie739e06ce97da937eac416a66e8f2fc6971d34a4