I need a way to specify an integer value for x in the OID below. Right now, there isn’t away to define variables and I can’t figure out a way to using one of the custom fields as they are strings. Can there be an enhancement to allow the use of variables within an OID? I’d like to be able to pass the value to a function and the use its value within the OID. I would like to also be able to use the device.FirstAddress field in place of “10.0.0.7” below also. I tried using the device_property function but couldn’t figure out how to make it work.
Thanks Uldis. I got the following to work. Placing Device in front of the device property field does not work. This will get me by for now but is eating up two of my custom fields. Maybe there could be an option for more fields I really hope we can have a string compare function as well as the ability to define variables soon.