Yes, you can. In your example the oids are queried from possibly different
devices - in outer ‘oid’ function you specify ip to query from IP
(CustomField2), but inner oid is queried from current device. Is this what
you want?
Yes, they could be queried from different devices or they could be the same device. A more detailed example:
OID1 : 1.3.6.1.4.1.5454.1.20.2.4.1.1
This OID contains the channel number that an AP is currently using.
OID2: 1.3.6.1.4.1.5454.1.20.2.3.1.channel_number
This OID will display the frequency associate with the channel number (channel_number is the index into the frequency array).
What I want to do is concatenate the value returned by OID1 and append it to OID2 in place of channel_number
Thus, I made the following function:
(oid(concatenate(“1.3.6.1.4.1.5454.1.20.2.3.1.”,oid(“1.3.6.1.4.1.5454.1.20.2.4.1.1”))))
However, this doesn’t return any data so the concatenation isn’t working properly. Is this the correct syntax?
Syntax is ok, except if you want to put this in some label you should use
square brackets around (although if regular brackets are also present it will
not do any harm). Just tested here (with different oids though) and it works
fine.
What exactly does the channel number oid return? Is it string? Maybe try to
split it into smaller pieces an see if it works.