[Top][All Lists]

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

Re: [monit] Fwd: want to continue checking

From: Nick Upson
Subject: Re: [monit] Fwd: want to continue checking
Date: Wed, 12 May 2010 10:34:41 +0100

sorry I don't understand, you say "replace the exec action with
restart" but the exec action already includes the restart of pppd
(which is also run from the same monit config file). It seems that
once the check host has failed once it becomes unmonitored but I need
it to be checked every period unless pppd is down (when there is no

On 11 May 2010 23:14, Martin Pala <address@hidden> wrote:
> Hi,
> i think you can replace the exec action with restart and t should work -
> even though the cs_host has no start/stop program, the restart action will
> be propagated to pppd via dependency. If it won't help, please can you
> provide output of 'monit -vI'?
> Regards,
> Martin
> On May 7, 2010, at 10:40 AM, Nick Upson wrote:
> I have the following in my monit configuration, which works fine
> except that once the ping has failed and restarted pppd, the entry
> goes to unmonitored but I need it to try again and continue doing so.
> currently monit-4.10.1 on fedora 8
>    check host cs_host with address
>    every 5 cycles
>    if failed icmp type echo count 10 with timeout 10 seconds
>    then exec "/bin/bash -c '/opt/unb/bin/ restart pppd'"
>    depends on pppd
> --
> To unsubscribe:

reply via email to

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