Werk #10990: mk_logwatch: Fixed state file name if REMOTE_HOST variable contains extended IPv4 address

Component Checks & Agents
Title mk_logwatch: Fixed state file name if REMOTE_HOST variable contains extended IPv4 address
Date May 27, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0i1 1.6.0p13
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In the logwatch.cfg a cluster configuration may be of the form C:+ CLUSTER cluster-name 1.2.3.4 5.6.7.8 C:-

The REMOTE_HOST variable may begin with "::ffff:HERE.COMES.IPv4.ADDRESS".

In order to make this setup work correctly the mk_logwatch state file must be named as "/PATH/TO/logwatch.state.cluster-name".

This has been fixed.

To the list of all Werks