I'm building out a SNMPv3 template for a Unifi Switch. I've done an SNMP walk and have highlighted OIDs for data such as uptime, model and device name. Where i'm a little confused is with created a discovery rule to add in the switch ports.
On the switch in question there are 26 ports and i can see the switch port names go from iso.3.6.1.2.1.31.1.1.1.18.1 to iso.3.6.1.2.1.31.1.1.1.18.26 (although there are some empty strings after which i will likely have to filter out)
For the Discovery rule i have
Key: net.if.discovery
OID: discovery[{#IFNAME},iso.3.6.1.2.1.31.1.1.1.18]
For an item prototype i have
Key: port.name
OID: iso.3.6.1.2.1.31.1.1.1.18.{#SNMPINDEX}
In my mind, the item should index through but when its running i get nothing.
Any tips would be appreciated.
On the switch in question there are 26 ports and i can see the switch port names go from iso.3.6.1.2.1.31.1.1.1.18.1 to iso.3.6.1.2.1.31.1.1.1.18.26 (although there are some empty strings after which i will likely have to filter out)
For the Discovery rule i have
Key: net.if.discovery
OID: discovery[{#IFNAME},iso.3.6.1.2.1.31.1.1.1.18]
For an item prototype i have
Key: port.name
OID: iso.3.6.1.2.1.31.1.1.1.18.{#SNMPINDEX}
In my mind, the item should index through but when its running i get nothing.
Any tips would be appreciated.
Comment