Problem using simple OID

I took my first shot at using an OID in a node appearance today, and I can’t figure out why it isn’t working. I’ve tried this on several devices (running 6.22).

I wanted to display the number of wireless devices registered to an AP. The string I added to the appearance is:

Guests: [oid("iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlApTable.mtxrWlApEntry.mtxrWlApClientCount")]

I can snmpwalk the device and see that the number in that OID is correct, but when I try to use it in the appearance, nothing comes out. I just get:

Guests:

What am I doing wrong?

For this reason I use function call in appearance:

[wireless_clients()]

And the function looks like:

array_size(oid_column(“iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength”))

And it works good for me.

Works like a dream. Thank you so much!

You’re welcome. There is also karma buttons by which you can express your thanks…