Community discussions

MikroTik App
 
Edvin
just joined
Topic Author
Posts: 2
Joined: Sun Oct 02, 2016 1:02 pm

Device name in Function code

Sun Oct 09, 2016 1:05 am

Is it possible to use device name as search string in the function code?
For example I putted "AP1" as device name and I want to find the position of this device name in the array of oid's.

Command: array_find(oid_column("1.3.6.1.4.1.9.9.513.1.1.1.1.5"), "AP1") ...it works fine
Command: array_find(oid_column("1.3.6.1.4.1.9.9.513.1.1.1.1.5"), Device.Name()) ... doesn't work

Thanks and best regards