Hello,
First of all, there are many questions like this on the forum, and I have already checked the documentation. However, I still seem to be making a mistake.
I have an item that is 0 most of the time, but there are times when it gradually increases. I want the trigger to activate ONLY if the value remains below 10 for 10 minutes. So, I created this expression:
last(/AVS-Nodes/cpu_average[test_metrics,{#INSTANCEID},cpuUsageAverage]) > 0 and min(/AVS-Nodes/cpu_average[test_metrics,{#INSTANCEID},cpuUsageAverage], 10m) < 10
The problem is that the trigger is firing at the same time when the item's value is higher than 0 but less than 10, and not 10 minutes later below 10.
What's the issue? I'm asking because I've tried it multiple times in different ways, but the problem persists
Note: The item is executed every 5 minutes (scheduling interval: m/5).
First of all, there are many questions like this on the forum, and I have already checked the documentation. However, I still seem to be making a mistake.
I have an item that is 0 most of the time, but there are times when it gradually increases. I want the trigger to activate ONLY if the value remains below 10 for 10 minutes. So, I created this expression:
last(/AVS-Nodes/cpu_average[test_metrics,{#INSTANCEID},cpuUsageAverage]) > 0 and min(/AVS-Nodes/cpu_average[test_metrics,{#INSTANCEID},cpuUsageAverage], 10m) < 10
The problem is that the trigger is firing at the same time when the item's value is higher than 0 but less than 10, and not 10 minutes later below 10.
What's the issue? I'm asking because I've tried it multiple times in different ways, but the problem persists
Note: The item is executed every 5 minutes (scheduling interval: m/5).
Comment