monit-general
[Top][All Lists]
Advanced

[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/pppd.pid"
start program = "/opt/unb/bin/pppd.sh start"
stop  program = "/opt/unb/bin/pppd.sh 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/monit.sh restart pppd'"
depends on pppd




reply via email to

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