Hi all,
I've been trying to define trigger expression which would trigger only when two consecutive (snmp polled)values are below threshold. My current solution is like: last(/device1/item1[{#INDEX},2])<last(/device1/threshold1[{#INDEX}]) and last(/device1/item1[{#INDEX},2],#2)<last(/device1/threshold1[{#INDEX}])
I've tried min() with time value larger than two polls but its not helping since it just takes lowest value and trigger fires...
Values are like(most recent first): 10, 15, 20, 10, 15, 18 and so on, threshold is set to (read from device) 15 and if two consecutive values are below threshold, trigger should fire.
Is my current solution only way solve this?
I've been trying to define trigger expression which would trigger only when two consecutive (snmp polled)values are below threshold. My current solution is like: last(/device1/item1[{#INDEX},2])<last(/device1/threshold1[{#INDEX}]) and last(/device1/item1[{#INDEX},2],#2)<last(/device1/threshold1[{#INDEX}])
I've tried min() with time value larger than two polls but its not helping since it just takes lowest value and trigger fires...
Values are like(most recent first): 10, 15, 20, 10, 15, 18 and so on, threshold is set to (read from device) 15 and if two consecutive values are below threshold, trigger should fire.
Is my current solution only way solve this?
Comment