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

Komponente Checks & agents
Titel mk_logwatch: Fixed state file name if REMOTE_HOST variable contains extended IPv4 address
Datum 27.05.2020
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.6.0p13 2.0.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

In the logwatch.cfg a cluster configuration may be of the form

CLUSTER cluster-name
 1.2.3.4
 5.6.7.8

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.

Zur Liste aller Werks