Hello,
I know this seems a silly question, but i am not able quite get right how to set last two or more values to get result in trigger.
Requirement: last two values to be zero.
tried : min(#2)=0 , max(#2)=0 - didnt work - trigger fires when last value goes to zero.
tried : sum(#2)=0 , didnt work out either
tried : last(#1)=0 and last(#2)=0 - this resulted in getting all the host that trigger, i had to disable to bring back hosts from PROBLEM to OK. Basically false triggers.
Can someone help me in understanding how these things work? I would like to check last two values, if they are zero then raise PROBLEM. If next value is non zero, then raise OK.
Thanks
I know this seems a silly question, but i am not able quite get right how to set last two or more values to get result in trigger.
Requirement: last two values to be zero.
tried : min(#2)=0 , max(#2)=0 - didnt work - trigger fires when last value goes to zero.
tried : sum(#2)=0 , didnt work out either
tried : last(#1)=0 and last(#2)=0 - this resulted in getting all the host that trigger, i had to disable to bring back hosts from PROBLEM to OK. Basically false triggers.
Can someone help me in understanding how these things work? I would like to check last two values, if they are zero then raise PROBLEM. If next value is non zero, then raise OK.
Thanks



Comment