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"

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to