Snmp Polling Status shows Polled even though it's actually not

Description

I have a SNMP Interface policy set to enable polling for all SNMP interfaces. Also, for snmp interface poller configuration, I set the criteria to poll snmpiftype = 6 (Ethernet) only. The results show that even for loopback interfaces, Snmp Polling Status is Polled and The Snmp Poll is always empty because it doesn't match the interface criteria. The same results applies to when a package filter in snmp interface poller doesn't match an IP address.

It would be clearer to users if Snmp Polling Status shows something like Not Polled instead.

Note that the corresponding snmppoll flag from postgresql is the same 'P' for both loopback and ethernet type. However, based on the interface criteria, it should not be P for interface lo.

 

It seems that snmppoll flag only has two values. Either P or N. When it's P, the status is Polled. When it's N, the status is Not Monitored which is governed by provisiond policy. So, what should the the value of the flag in this case?

 

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Alex May November 3, 2022 at 1:16 PM

PR: https://github.com/OpenNMS/opennms/pull/5432

 

This adds a new flag 'I' / 'Not Polled' for these interfaces.

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created August 15, 2022 at 6:53 PM
Updated November 9, 2022 at 5:58 PM
Resolved November 9, 2022 at 5:58 PM