Good Morning everyone.
Goal: use an specific OID in a function according to Device.Type in dude functions.
Problem: I can pull the [device.type] correctly but when I check it in a if statement i get "Parse Failed". So I know my code is probably not correct.
My Code: if(device_property("Type")) = "Mimosa" ,oid("iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0")
This basically should be a function that checks if a device.type (My custom type I have setup in dude) is equal to set string value. If they match then return a OID value.
Any help PLEASE, I have lookded everywhere with no luck.