This article explains how to disable the email notifications triggered for a particular IP/subnet in Network Monitoring (opennms).
Unwanted email notifications received for unwanted devices/interfaces (sometimes for loopback interfaces).
To disable notifications coming from a particular range of IPs/devices, take the following steps:
Navigate to Network Management Platform > Network Monitoring > Admin > Configure Notifications > Event Notifications
Click ‘Edit’ on concerned event notification.
Select the event uei that will trigger this notification (wait on this page for a couple of minutes until the regex field populates automatically with the related uei), then click 'Next'.
Click ‘Build the rule that determines if a notification is sent for this event based on the interface and service information contained in the event'.
By default, you might see this:
IPADDR != '0.0.0.0'
IPADDR != '0.0.0.0' & !(IPADDR IPLIKE x.x.*.*)
Click ‘Validate rule’ at the bottom of the page, then click ‘Next’.
Click ‘Finish’ after verifying the notification format.