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?
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?