HI guys,
just a quick one. We run a combination of UBNT/MIKROTIK devices on our network depending on the application.
in the dude ‘appearance’ options id like to be able to display the channel/frequency of each AP/station
the function i wrote works but only on the ‘client side’ for the life of me i cant figure out how to show the frequency on an AP.
[SMTP_channel]
if (string_size(oid(("iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlStatTable.mtxrWlStatEntry.mtxrWlStatFreq.7"), 60)),
concatenate(oid("iso.anonymous#62.anonymous#63.ieee802dot11.dot11phy.dot11PhyDSSSTable.dot11PhyDSSSEntry.dot11CurrentChannel.7"), " / ", oid(("iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlStatTable.mtxrWlStatEntry.mtxrWlStatFreq.7"), 60), " MHz", "
"), "" )
Result from AP side: NULL
Result from Client side: 159 / 5795 MHz
the below, will show the ‘channel’ of a UBNT AP, but not the frequency:
iso.anonymous#62.anonymous#63.ieee802dot11.dot11phy.dot11PhyDSSSTable.dot11PhyDSSSEntry.dot11CurrentChannel.7
Any advice?