Learn more about the latest product updates at the Checkmk Conference #12 – live from June 16-17! Watch here

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
3.0.0b1
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p7
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p33
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

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.

To the list of all Werks