[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking service with timeout and for 3 cycles

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 (X11/20061222)


this syntax should work in monit-4.8.1 as well ... tested on this config:

check process ssh with pidfile /var/run/
  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

can you send the copy of your monit configuration in the attachment? (don't cut&paste)


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,

I'm running 4.8.1, so upgrading to 4.8.2, will my conf. simply works ?
Thanks !

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]