|Subject:||Re: setting timeout on check program|
|Date:||Thu, 16 Aug 2012 13:09:32 +0200|
I was trying to interpret the documentation to change the default timeout for a "check program" check.
check program myscript with path "/etc/monit.scripts.d/myscript.sh"
if status != 0 then alert
I want this to only run every 5 minutes, but I'm wondering how this syntax would apply?
The syntax of the program status statement is:
- IF STATUS operator value [TIMEOUT <N> SECONDS] [[<X>] <Y> CYCLES] THEN action [ELSE IF SUCCEEDED [[<X>] <Y> CYCLES] THEN action]
|[Prev in Thread]||Current Thread||[Next in Thread]|