|Subject:||Re: [monit] noob question|
|Date:||Wed, 28 Apr 2010 22:49:05 +0700|
|User-agent:||Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:18.104.22.168pre) Gecko/20100422 Shredder/3.0.5pre|
Thank you Eric, so if I put together what you suggest together with
what Philippe presented then I get the following|
check process pppd with pidfile /var/run/ppp0.pid
start program = "/usr/bin/pon dsl-provider"
stop program = "/usr/bin/poff dsl-provider"
if failed host www.google.com port 80 protocol http and request "/" for 2 cycles
then exec "/usr/bin/killall pppd"
Is that right or would this just kill a stalled program? What I am asking is would it then start again? (sorry to be so basic but I am on a learning curve here)
On 04/28/2010 10:38 PM, Eric Pailleau wrote:
if failed icmp type echo count 5 with timeout 30 seconds
|[Prev in Thread]||Current Thread||[Next in Thread]|