check network vpn_cl_openvpn interface vpn_cl_openvpn start program = "/usr/local/sbin/pluginctl -s openvpn start 3" stop program = "/usr/local/sbin/pluginctl -s openvpn stop 3" if check network vpn_cl_vpn interface ovpnc3 then alert
/usr/local/etc/monitrc:33: syntax error 'check network'
check network vpn_cl_openvpn interface vpn_cl_openvpn start program = "/usr/local/sbin/pluginctl -s openvpn start 1" stop program = "/usr/local/sbin/pluginctl -s openvpn stop 1" if link down then restart
2022-06-12T20:28:31 Informational monit 'vpn_cl_openvpn' start: '/usr/local/sbin/pluginctl -s openvpn start 1' 2022-06-12T20:28:31 Informational monit 'vpn_cl_openvpn' stop: '/usr/local/sbin/pluginctl -s openvpn stop 1' 2022-06-12T20:28:31 Informational monit 'vpn_cl_openvpn' trying to restart 2022-06-12T20:28:30 Error monit 'vpn_cl_openvpn' link data collection failed -- Cannot udate network statistics -- interface vpn_cl_openvpn not found