Werk #19826: mk_logwatch: Accept subnets for cluster node IPs in bakery rule
| Component | Agent bakery | ||||||
| Title | mk_logwatch: Accept subnets for cluster node IPs in bakery rule | ||||||
| Date | Jun 11, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
The agent plug-in mk_logwatch supports mapping remote IPs to cluster names not only via single IP addresses, but also via subnets in CIDR notation (see werk #7032).
However, when configuring this mapping in the bakery rule Text logfiles (Windows, Linux, Solaris, AIX) under Specify mappings of remote IPs to cluster names, entering a subnet was rejected with the error:
Invalid host address. You need to specify the address either as IPv4 address, IPv6 address.
Cluster node entries now accept both single IPv4/IPv6 addresses and subnets in CIDR notation (e.g. 192.168.1.0/24), matching what a manually maintained logwatch.cfg already allowed.