Allow variables or macros in ruleset options

16 votes

Users in Checkmk like to have a slim configuration, as this keeps the maintenance effort low.

One way to achieve is to use the conditions effectively. But often it is not sufficient to be able to reduce the amount of needed rules. Example:

A user wants to monitor several web servers (maybe hundreds of them). All are provided by a load balancer cluster. As these load balancers are located as hosts in Checkmk, the services to monitor the validity of the used certificates or the availability of the websites should be attached to these hosts (or the cluster).
Currently, it is needed to add a single rule for each virtual server, as the condition and even most options might be the same, but not the option for the "Virtual host". If a user were able to use a variable and connect this variable to a list of these virtual hosts, a single rule per Checkmk host would be sufficient.

Under consideration Setup Suggested by: Marcel Arentz Upvoted: 25 Sep, '23 Comments: 3

Comments: 3