Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 21ec1247b182e72b2448636fd9d6362f0eb4dc60
https://github.com/tribe29/checkmk/commit/21ec1247b182e72b2448636fd9d6362f0…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2019-06-26 (Wed, 26 Jun 2019)
Changed paths:
A .werks/7489
M agents/plugins/mk_logwatch
M tests/unit/agents/plugins/test_mk_logwatch.py
Log Message:
-----------
7489 mk_logwatch: optimize regex search
For regular expressions in a logwatch section leading or trailing '.*' portions
can be
a performance desaster. With long log lines, it can virtually render your system
paralyzed.
If you are not using any rewrite patterns though, you can omit leading and trailing
'.*'
expressions without changing the set of matched lines.
mk_logwatch now detects those cases, and will optimize the patterns accordingly.
Change-Id: I6056422f81b4d11630c2cdc2e4536bf74d759dd1
Commit: 3bc67758341396cf1879cb72100ed10f0a02f7e3
https://github.com/tribe29/checkmk/commit/3bc67758341396cf1879cb72100ed10f0…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2019-06-26 (Wed, 26 Jun 2019)
Changed paths:
A .werks/7490
M agents/plugins/mk_logwatch
M tests/unit/agents/plugins/test_mk_logwatch.py
Log Message:
-----------
7490 FIX mk_logwatch: enforce utf-8 encoding of config files
Previously it was merely assumed that the config files are utf-8 encoded.
To properly address issues with matching of non-ASCII characters we now
require that the config files are utf-8 encoded.
Configuration files that cannot be decoded will be skipped, and the corresponding
service will go to {{UNKNOWN}}, displaying an appropriate message.
Change-Id: I05579503159ff06013f1134327572597111c4400
Compare:
https://github.com/tribe29/checkmk/compare/76df03765d46...3bc677583413