I’m having problems trying to display the OIDs values through labels. I can see all the MIB’s OIDs using the SNMP Walk, yet when I edit the label in the Appearance options of the network map element, it hasn’t display anything. For example, the OID “3.6.1.4.1.41112.1.6.1.2.1.6.0” or “iso.org.dod.internet.private.enterprises.ubnt.ubntMIB.ubntUniFi.unifiApWireless.unifiVapTable.unifiVapEntry.unifiVapEssId” has the value “ctbell-pruebas”, but when I introduce the following lines in the label field, it doesn’t appear anything:
The added parameters 10,5 specify the cache and negative cache time for the oid call. Adding these will prevent excessive false-negative results. 10 seconds is the default cache time, but the default negative cache time is 300 seconds - meaning that if the function fails the Dude will keep reporting that failure for 300 seconds, even if successive function calls do not fail. Changing this to a shorter time like 5 seconds alleviates the issue.
Then on your label, simply put:
SSID: [ubiquiti_ssid()]
This has worked well in my experience, I hope it helps you too.
Edit: Also I noticed that in your SSID1 oid call you dropped a 1 from the start of the oid. It should be oid(“**1.**3.6.1.4.1.41112.1.6.1.2.1.6.0”), correct?