Polling per switchport mode

Hello colleagues, I am trying to find a way to optimize performance by choosing to poll only trunk ports. Is there any way to filter or limit polling to ports which are in “switch port mode trunk” ? Per port polling perhaps but how could I configure it globally to all switches? Not one by one manually. There is a mib and oid for port modes in most of vendors switches like Cisco or HPE.

You can enable per port polling globally: Performance - LibreNMS Docs

Then try playing around with ignoring ports you don’t want and configuring ports you do want.

Thank you, i’ve read the documentations but everything relies on “descriptions” which are ifDescr from the mibs. Is it possible to use per port polling but instead of ifDescr use another oid such as HPE’s "
arubaWiredPortVlanMemberMode" mib, this has an direct oid of “trunk” or “access”. Or any other way to filter out ports based on snmp trunk/access information instead of ifDescr or port description?