CMK version: Checkmk Raw Edition 2.3.0
**OS version: Ubuntu 22.04 (Dockerized environment) **
Error message:
Recently I noticed that active checks do not seem to trigger my notification rules correctly.
My setup looks like this:
-specific hosts get the host label: “notify:sms”
-all services of which the host has the host label “notify:sms” inherit the service label “notify:sms”
The “notify:sms” label triggers my notification rules: “SMS Notifications Hosts” or “SMS Notifications Services” depending on it being a host or service.
This works very well for all passive checks which are discovered by SNMP or other checks like “NetApp via Ontap REST API”
However, I noticed this setup doesn’t seem to work with active checks such as HTTP Checks even though the checks seem to have inherited the labels and contact group correctly. Furthermore, the CheckMK-Checks (such as Check_MK and Check_MK Discovery" seem to ignore the rule as well.
Here’s an example:
-I tested the HTTP Check named “HTTPS Confluence”. The service does have the label “notify:sms”.
-The only rule matching according to the “test notifications” is “Mail for ALL Hosts and Services” though. (This rule is supposed to catch all hosts and services and send out Mails - so this is correct behavior):
Hoewever, “SMS Notifications Services” does not match, even though the service itself does have the service label “notify:sms”
As mentioned before, passive checks do not have this problem and the rule does match:
Did anyone else encounter this problem? Is this a bug?
Does anyone have a solution on how to automate notifications consistently without using the labels, if this is indeed a bug?
At the moment I just create new notification rules for all active checks I created. But it is rather tiresome and prone to mistakes to manually edit all notification rules for all active services.




