How can we filter out interface from monitoring like need to be monitored only trunk port interfaces not access point

i am stuck while configuring interfaces in monitoring

  1. How can add interfaces in monitoring on the basis of interface ports or interface name selection criteria.
  2. if suppose device interfaces are being monitor and now interfaces (added new interfaces ) are getting changed at device end , how can opennms discover new interfaces and delete old interfaces automatically.

Hello and welcome, I think having a look at the SNMP Interface policy might be a good starting point. Here is an example of how it is used to control the port status monitoring: How to monitor Layer-2 interface status using SNMP. You can use a similar policy to “DO_NOT_PERSIST” or “DISABLE_COLLECTION” using regular expressions.

Hope this helps

Thank you so much.

The screenshot is close. You may need to include a ~ in the value to indicate you are using a regular express, otherwise it will be treated as a substring match.

1 Like

Thanks @mmahacek I missed it in the hurry :slight_smile: