monit-general
[Top][All Lists]
Advanced

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

Re: [monit] noob question


From: Philippe Muller
Subject: Re: [monit] noob question
Date: Wed, 28 Apr 2010 17:29:44 +0200

You can add something like :
if failed host www.google.com port 80 protocol http and request "/" for 2 cycles then restart

Philippe Muller


On Wed, Apr 28, 2010 at 5:17 PM, peter <address@hidden> wrote:
There is a lot of very good documentation for Monit but it is a bit over my head.

What I want to do is to use Monit to open the pppoe connection on my server.  When the connection fails (as happens during bad weather) then to kill the process and start it off again.  The following is what I can work out but I am quite lost in knowing what to put in next.  Can anyone help out please?


check process pppd with pidfile /var/run/ppp0.pid
start program = "/usr/bin/pon dsl-provider"
stop  program = "/usr/bin/poff dsl-provider"


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

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