Notifications query

Hi, I can’t see a way around this requirement without creating separate notification rules per host.

The request is to notify on a number of network devices but only with specific interfaces on each of the devices.

The reason I cannot see how we can do this with service labels for example or one rule is if we choose ‘Interface 1’ from one of the hosts in the notification rule/service label then this will also notify on ‘Interface 1’ from another host that don’t want to alert on.

Anyone any other ideas here?

You should rename the service checks for the interfaces:

With that you have “speaking” service names and can more easily apply rules (e.g. to disable notifications).

1 Like

Another idea would be to use the ruleset “Service labels” to assign labels to specific services and then use the label in the notification rule as criteria.

1 Like

I can’t see how using service labels works either though. Take this example, I put my explicit hosts in and services, but a service called ‘Interface Port1’ that would then be used to notify on a host where I may not want Interface Port1 to notify on. Does that make sense?

Yes, except that the label should be some like notifications:disable or similar.

1 Like

I don’t understand what you mean?

If I assign the label to all my host specific interfaces, there could be an interface with the same name in a number of those hosts.

However I don’t necessarily want to notify on all ‘Interface port1’ for all the hosts associated with that service label.

I think I may have worked it out using service labels and services groups like this.

image