I'm trying to add a delay in a process check to a template quering linux servers if they are running the apache process (httpd).
I've started from :
{Template_ExternalLinux
roc.mem[httpd].count(50,4)}>1
* Edit*
I need to have a timer window within lets say 50 second period where every 10 seconds theres a process check on the machine. As long as one of the checks performed every 10 seconds (within the 50 second window) is successful the expression won't trigger any action.
For example.
1(fail).....10(fail)......20(pass).....30(fail)... .40(fail).....50(fail)... <--- would mean a pass since one was successfull...
Only when all attempts fail within the 50 second window do I want my alert to trigger.
kThx.
I've started from :
{Template_ExternalLinux
roc.mem[httpd].count(50,4)}>1* Edit*
I need to have a timer window within lets say 50 second period where every 10 seconds theres a process check on the machine. As long as one of the checks performed every 10 seconds (within the 50 second window) is successful the expression won't trigger any action.
For example.
1(fail).....10(fail)......20(pass).....30(fail)... .40(fail).....50(fail)... <--- would mean a pass since one was successfull...
Only when all attempts fail within the 50 second window do I want my alert to trigger.
kThx.

Comment