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 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
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.