I’m trying to implement logic where I’m sending notifications based on hosts and services labels.
For some reason I’m unable to achieve that.
Let’s say that I have host1 which is marked by notifications-channel:alarm label and notifications are using proper notification rule with condition to match hosts by the specified label, but when I’m marking service of the host1 with the different label, let’s say notifications-channel:notify notifications still going to the notification which belongs to the hosts level (notifications-channel:alarm). Is that expected behavior, or there is a bug?
Also I noticed that description when I edited Notification rule:
It says hosts for both (hosts and services), but logically for service labels it should display “services” test (and work for services)?