Hi,
i’m trying to modify the default device_performance() label to show a different label based on the device type, like this:
concatenate(
if(
string_size(cpu_mem_disk()) > 0,
concatenate(cpu_mem_disk(),"
"),
""
),
if(device_property("Type")="Ubiquiti",perf_ubiquiti(),""),
if(device_property("Type")="Engenius BG AP",perf_engenius_bg(),""),
if(device_property("Type")="Proxim AP",perf_proxim(),""),
oid("1.3.6.1.2.1.1.3.0"),"
",
device_property("Type")
)
However, when I apply this, the If statements are all true, so I am shown all three labels, like this:

Is this a bug or am I doing something wrong?