Hi,
I need some help with two triggers.
We have a trigger that checks if the raid is returning an "Optl" as text, but every now and then we could get a blank response, or something else and by the 2nd check its back to "Optl."
My issue is that this rule fires immediate and, I only want the trigger to fire if the last two checks didn't match "Optl"
For example, we could get Optl - Optl - Optl - Not - Optl - Optl
For this it shouldn't trigger (but currently does the moment "Not" or blank is in the response).
Here is my current rule
What I want is for it to only trigger if it doesn't get Optl for more than two checks in a row.
Another similar one, we have a check to make sure that there is more than zero (0) processes running.
But the moment the application restarts, it notifies us immediately, where I would also like it to only trigger if it gets a value of 0 twice in a row.
Here is its rule:
I would really appreciate some assistance with this.
thanks,
Dave
I need some help with two triggers.
We have a trigger that checks if the raid is returning an "Optl" as text, but every now and then we could get a blank response, or something else and by the 2nd check its back to "Optl."
My issue is that this rule fires immediate and, I only want the trigger to fire if the last two checks didn't match "Optl"
For example, we could get Optl - Optl - Optl - Not - Optl - Optl
For this it shouldn't trigger (but currently does the moment "Not" or blank is in the response).
Here is my current rule
Code:
find(/AOC VG0 Raid 8 Drives/raid[vg0],,"like","Optl")=0
Another similar one, we have a check to make sure that there is more than zero (0) processes running.
But the moment the application restarts, it notifies us immediately, where I would also like it to only trigger if it gets a value of 0 twice in a row.
Here is its rule:
Code:
max(/Hosting - 1U AMD/proc.num[lsphp],90s)=0
thanks,
Dave
Comment