Watchdog and actions when Web Server (Apache) goes down

vkleinhenz

New Pleskian
Due to heavy traffic to my server, I would like Watchdog to submit the following commands when it encounters that "The Web Server (Apache) service on host XXXX is down".

The commands which usually "re-activate" the server are:

/sbin/service mysql restart
rcapache2 reload

How do I configure Watchdog that it executes these commands if it encounters troubles with Apache?
 
Back
Top