Community discussions

MikroTik App
 
mohsen1981
newbie
Topic Author
Posts: 43
Joined: Mon Jun 01, 2009 10:09 pm

put device wlan frequency in dude custom field

Tue Oct 25, 2016 11:20 am

Hello
Is there a way to automatically put device wlan frequency in one of custom fields? We have a great problem managing devices frequencies on the mast and must login to every device separately!!!
 
tberg
newbie
Posts: 41
Joined: Sun Sep 22, 2013 6:34 pm

Re: put device wlan frequency in dude custom field

Sat Oct 29, 2016 5:49 pm

There are a few good tutorials on this if you do a google search. But the process in general is:
1. Do a SNMP Walk of the access point to find the oid for the wlan channel/freq you are looking for.
2. Then create a function to use that oid. Here's an example for Ubiquiti Airmax channel and frequency:
if (string_size(oid("1.2.840.10036.4.5.1.1.5")), concatenate("Ch: ", oid ("1.2.840.10036.4.5.1.1.5"),", ", oid ("1.3.6.1.4.1.41112.1.4.1.1.4.1"), "MHz", "
"), "")
3. Put that function in the label field under Appearance for the device.

Who is online

Users browsing this forum: No registered users and 2 guests