To monitor OpenLiteSpeed with monit on Ubuntu Server, create file
Add following content
Reload monit with
Now monit will monitor OpenLiteSpeed, restart if required. You can check status with
If you want to monitor if web server is responding to request, you can use