I have the following in my monit configuration, which works fine
except that once the ping has failed and restarted pppd, the entry
goes to unmonitored but I need it to try again and continue doing so.
currently monit-4.10.1 on fedora 8
check host cs_host with address 10.4.13.254
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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general