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

Komponente Checks und Agenten
Titel mk_logwatch: Fixed state file name if REMOTE_HOST variable contains extended IPv4 address
Datum 27.05.2020
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0i1 1.6.0p13
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 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.

Zur Liste aller Werks