Werk #15528: logwatch_ec: Invalid parameters issue during discovery and update config

Component Checks & agents
Title logwatch_ec: Invalid parameters issue during discovery and update config
Date Apr 5, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p26
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The WATO ruleset of the logwatch EC forwarding performed a too strict validation. This led to errors during update config and the service discovery, if corresponding services where discovered. Update config would report

Transform failed: host='myHost', plugin='logwatch_ec', ruleset='logwatch_ec', params={'expected_logfiles': [...']}, error=MKUserError(None, 'Found no matching alternative.')

while the parameters column of the disocvery page reports "Invalid check parameter".

With this werk those messages disappear - until then they can safely be ignored.

To the list of all Werks