[Top][All Lists]

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

Re: [monit] Fwd: want to continue checking

From: Martin Pala
Subject: Re: [monit] Fwd: want to continue checking
Date: Wed, 12 May 2010 00:14:30 +0200


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'?


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

reply via email to

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