monit-general
[Top][All Lists]
Advanced

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

[monit] noob question


From: peter
Subject: [monit] noob question
Date: Wed, 28 Apr 2010 22:17:05 +0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10pre) Gecko/20100422 Shredder/3.0.5pre

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"


reply via email to

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