Werk #14956: mk_logwatch: Make regular expression for logfiles configurable in agent bakery
| Component | Agent bakery | ||
| Title | mk_logwatch: Make regular expression for logfiles configurable in agent bakery | ||
| Date | Oct 25, 2022 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
When configuring the mk_logwatch agent plugin, it's possible to specify the file matching patterns more precisely by defining a regular expression pattern within the applying options. You can choose among the keywords regex or iregex for a case sensitive or insensitive matching, respectively.
While this option already exists for a long time, it can now be specified via agent bakery by configuring the "Text logfiles" agent rulespec.