Monit による OpenVPN サービス監視

Nid: 793
check process openvpn with pidfile /var/run/openvpn/server.pid
    start program = "/usr/sbin/service openvpn start"
    stop  program = "/usr/sbin/service openvpn stop"
check host example.com with address 8.8.8.8
if failed
        icmp type echo count 6 with timeout 30 seconds
then restart