I'm using an item that receives a number as a parameter, sent by the monitored host to a trapper item. For example, item "foo[5]" may have a value of 17, item "foo[2]" may have a value of 31 and item "foo[8]" may have a value of 50, which is too high and should fire a trigger.
I want to make a trigger that uses that number, without having to create one for every possible parameter. For example, if foo[9] has a value of 50 and above, fire an average trigger with all related actions, taking the 9 from the item parameter, instead of having to create, say, 10 different triggers corresponding to foo[1] to foo[10].
Is this possible? if so, what's the syntax? if it isn't, do you know of a workaround?
I want to make a trigger that uses that number, without having to create one for every possible parameter. For example, if foo[9] has a value of 50 and above, fire an average trigger with all related actions, taking the 9 from the item parameter, instead of having to create, say, 10 different triggers corresponding to foo[1] to foo[10].
Is this possible? if so, what's the syntax? if it isn't, do you know of a workaround?
Comment