|
From: | Zippy Zeppoli |
Subject: | Re: setting timeout on check program [SOLVED] |
Date: | Thu, 16 Aug 2012 09:24:56 -0700 |
I think you are looking for thischeck program your_program with path "/your_path/your_script.sh" every 2 cyclesif status != 0 then alertWhere "2 cycles" should be the number that fits you.2012/8/16 Zippy Zeppoli <address@hidden>
--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:
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
--
www.groupalia.com
Tomàs Núñez IT-Sysprod Tel. + 34 93 159 31 00 Fax. + 34 93 396 18 52 Llull, 95-97, 2º planta, 08005 Barcelona Skype: tomas.nunez.groupalia address@hidden Twitter Facebook Linkedin
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |