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:
I can stop Apache2 with:
I can restart Spache2 with:
What other way is there to monitor Apache2 in Monit without a httpd.pid file?