I'm new to Linux and I setup Ubuntu 12.04 on Digital Ocean.
I installed Monit and got it to monitor MySQL successfully with email alert.
I want to monitor Apache2 as well but cannot find any httpd.pid
file needed to put in monitrc file.
I can start Apache2 with: /etc/init.d/apache2 start
I can stop Apache2 with: /etc/init.d/apache2 stop
I can restart Spache2 with: /etc/init.d/apache2 restart
What other way is there to monitor Apache2 in Monit without a httpd.pid file?