Hi,
In all default trigger examples the formulas for comparison involve an item and a fixed value (eg: Unix_t:vm.memory.size[free].last(0)<10000).
Can I use the mathematic formulas to directly compare two items to each other in order to build a trigger? There are case where the limit value to be compared to is also a dynamique value.
For example (just a useless one that comes to my mind):
A real use would be to retrieve two values from a JBoss application server (number of active DB connections and maximum number of supported DB connections), and compare them to check if the application server is overloaded.
Regards
In all default trigger examples the formulas for comparison involve an item and a fixed value (eg: Unix_t:vm.memory.size[free].last(0)<10000).
Can I use the mathematic formulas to directly compare two items to each other in order to build a trigger? There are case where the limit value to be compared to is also a dynamique value.
For example (just a useless one that comes to my mind):
Expression : net.if.in[eth0,bytes].last(0) > net.if.in[eth1,bytes].last(0)
A real use would be to retrieve two values from a JBoss application server (number of active DB connections and maximum number of supported DB connections), and compare them to check if the application server is overloaded.
Regards


Comment