monit-general
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
setting timeout on check program
From
:
Zippy Zeppoli
Subject
:
setting timeout on check program
Date
:
Wed, 15 Aug 2012 15:33:43 -0700
Hi,
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]
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
setting timeout on check program
,
Zippy Zeppoli
<=
Re: setting timeout on check program
,
Tomas Nunez
,
2012/08/16
Prev by Date:
monit can't connect to host, I get a HTTP/1.1 500 Internal Server error
Next by Date:
Re: setting timeout on check program
Previous by thread:
monit can't connect to host, I get a HTTP/1.1 500 Internal Server error
Next by thread:
Re: setting timeout on check program
Index(es):
Date
Thread