How to SNMP just a few interfaces out of hundreds?

Given a device with 162 interfaces but only 5 of them are usable. How do I restrict
[[inputs.snmp.table]]

to only request those interface. “LAN1” “LAN2” “TUNNEL[1]” “TUNNEL[2]” “VLAN2”

I don’t really want to get all 162 every time, it’s a lot of unnecessary traffic to a remote site.
That and a different model has close to 300 interfaces!

Ideally I’d like to do this with the names, because I don’t know the numbers on remote devices, but they could be found… assuming they stay the same.


It would reduce 80kb into about 3kb, which is a worthwhile reduction in traffic…

Hi,

I think you got your answer over in the repo issue, but I wanted to confirm if there was anything outstanding?

Thanks!