Hi
I am trying to do a trigger for example that says "If ping packet loss is above 10% for every check in the last 5m".
If I use .avg then it's the avg over the last 5 mins (it could go up and down between 0% and 50% for example and trigger it). I want it to be constantly above 10% readings for the last 5 mins.
If I use .min then it only has to be one of the occurrences in the last 5 mins that is above 10%?
I've done this but it means it is unable to show the trigger line on the graphs:
.count(5m,10,"gt")}>=5
Is there a better way of doing this? I feel like I'm missing the 'easy way' of what surely is a typical thing?
Edit: now I'm thinking I've misunderstood min and .min(5m)>10 would do it. Trying it out
Thanks
I am trying to do a trigger for example that says "If ping packet loss is above 10% for every check in the last 5m".
If I use .avg then it's the avg over the last 5 mins (it could go up and down between 0% and 50% for example and trigger it). I want it to be constantly above 10% readings for the last 5 mins.
If I use .min then it only has to be one of the occurrences in the last 5 mins that is above 10%?
I've done this but it means it is unable to show the trigger line on the graphs:
.count(5m,10,"gt")}>=5
Is there a better way of doing this? I feel like I'm missing the 'easy way' of what surely is a typical thing?
Edit: now I'm thinking I've misunderstood min and .min(5m)>10 would do it. Trying it out

Thanks
Comment