|
From: | Martin Pala |
Subject: | Re: Checking service with timeout and for 3 cycles |
Date: | Tue, 06 Feb 2007 17:31:09 +0100 |
User-agent: | Thunderbird 1.5.0.9 (X11/20061222) |
Hi, this syntax should work in monit-4.8.1 as well ... tested on this config: --8<-- check process ssh with pidfile /var/run/sshd.pid start program = "/etc/init.d/sshd start" stop program = "/etc/init.d/sshd stop"if failed port 22 with timeout 120 seconds for 3 times within 5 cycles then restart
alert address@hidden --8<--can you send the copy of your monit configuration in the attachment? (don't cut&paste)
Thanks, Martin J. Félix Ontañón wrote:
El Mon, 5 Feb 2007 11:10:25 -0500 Marshal Newrock <address@hidden> escribió:What version of monit are you running? When I set up monit recently, I wrote my configuration file according to the documentation, but still got a syntax error. Upgrading from 4.8.1 to 4.8.2 fixed that, though.I'm running 4.8.1, so upgrading to 4.8.2, will my conf. simply works ?Thanks ! -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |