• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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