I have seen some tutorials on HowtoForge about the installation of these two systems and I saw that ISPConfig has native support for them. But the question is. Both systems run via Apache. If I use Nginx, can not I install them and configure them to monitor my VPS in ISPConfig?
Steps to install Monit Code: $ sudo apt-get install monit Configure Monit by Code: $ sudo vi /etc/monit/monitrc Polling frequency (This is the interval (in seconds) at which Monit runs its tests.) Code: set daemon 120 Edit (Uncomment following) Code: set httpd port 2812 and use address localhost # only accept connection from localhost allow localhost # allow localhost to connect to the server allow admin:monit # require user 'admin' with password 'monit' allow @monit # allow users group 'monit' to connect (rw) allow @users readonly # allow users group 'users' to connect (r) Add monitoring service for Nginx Code: check process nginx with pidfile /var/run/nginx.pid start program = "/etc/init.d/nginx start" stop program = "/etc/init.d/nginx stop" Check for syntax errors Code: $ sudo monit -t When there are no errors and shows message like “Control file syntax OK“ then Restart Monit Code: $ sudo /etc/init.d/monit restart Verify Monit running by checking the logs Code: $ sudo tail -f /var/log/monit.log