[Top][All Lists]

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

[monit] is this the best/only way?

From: Nick Upson
Subject: [monit] is this the best/only way?
Date: Wed, 7 Apr 2010 12:32:57 +0100

## check pppd is running
check process pppd with pidfile "/var/run/"
start program = "/opt/unb/bin/ start"
stop  program = "/opt/unb/bin/ stop"

## check cs can be reached
check host cs_host with address 10.x.y.z
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]