Configuring Monitoring Preferences and Enabling Monitoring
To configure preferences of system monitoring and start monitoring:
- Click Modules > Watchdog. A list of Plesk services will be displayed.
- Click the Preferences icon in the Tools group. A page will open where you can specify the following server-wide monitoring and alerting preferences:
- Monitor all services started from the control panel option. Leave this option selected if you wish the module to monitor all running Plesk control panel services. If you install a new system service later on, the module will automatically start looking after it. Switch it off, if you are going to shut down some of the control panel services and you do not want the module to bring them up automatically or bother you with any alert messages.
- Polling interval. Specify the interval between polls in seconds.
- Automatically refresh the service information screen on each poll. Leave this option selected, if you wish to have the information presented on the screen automatically updated on each poll.
- Alert delivery servers (SMTP). Specify local and/or remote SMTP servers that should be used for sending alert messages. You can specify several host names or IP addresses separated by commas.
- Connection timeout. When the module fails to connect to a mail server within the specified period, it attempts to connect to a next server from the list.
- Default recipient's e-mail. Specify the e-mail address where you wish the alerts delivered. By default, the Plesk administrator's e-mail address is used.
- Alert message templates. You may wish to specify a recipient's address, sender's address, message subject, and alert message text for each of the following service events: service failure, service start/stop failure, and release of service from monitoring due to its permanent failure.
- Once done configuring, click OK to submit the settings.
- To start monitoring, click the Enable icon in the Tools group.
Now the services will be monitored in accordance with the settings you specified. By default the following actions are taken:
- All services are automatically restarted in case of failure
- All services failing 5 times out of 5 polls are released from monitoring
- Alert messages are sent to Plesk administrator's e-mail address on any event