• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Watchdog email notifications

Pagemakers

Silver Pleskian
When my server reboots I get about 12 email notifications from Watchdog that services are being started.

I don’t get the same thing from my other Plesk servers upon reboot. How can I stop it?
 
I get this on the Parallels AWS EC2 AMI offering, but not on the one from CloudLinux.

At least I know it is working on the Parallels version. Not sure it if it is on the CloudLinux one or not, not yet anyway.
 
We have 2 plesk 12 servers. 1 sends the emails on restart and one doesn't. I had Parallels look at this and here is their fix.

> The difference of 2 Plesk 12 servers is in '/etc/init/psa-monit.conf' and '/etc/init/psa-wdcollect.conf' configuration files.
>
> > 1-server.com (this server sends notifications):
> ----------------
> [root@1server ~]# cat /etc/init/psa-monit.conf
> # psa-monit
> description "Plesk Watchdog Monitor service"
> author "Parallels <[email protected]>"
> start on starting rc RUNLEVEL=[2345]
> stop on shutdown
> exec /usr/local/psa/libexec/modules/watchdog/init/monit /usr/local/psa/etc/modules/watchdog/monitrc
> respawn
>
> [root@1server ~]# cat /etc/init/psa-wdcollect.conf
> # psa-wdcollect
> description "Plesk Watchdog Collector service"
> author "Parallels <[email protected]>"
> start on starting rc RUNLEVEL=[2345]
> stop on shutdown
> exec /usr/local/psa/libexec/modules/watchdog/init/wdcollect /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php
> respawn
> ----------------
>
> > server2.com (this server does not send notifications)
> ----------------
> [root@server2 ~]# cat /etc/init/psa-monit.conf
> # psa-monit
> description "Plesk Watchdog Monitor service"
> author "Parallels <[email protected]>"
> #start on starting rc RUNLEVEL=[2345]
> start on runlevel [2345]
> stop on shutdown
> #exec /usr/local/psa/libexec/modules/watchdog/init/monit /usr/local/psa/etc/modules/watchdog/monitrc
> #respawn
> console output
> script
> /bin/sleep 60
> echo "Starting psa-monit."
> exec /usr/local/psa/libexec/modules/watchdog/init/monit /usr/local/psa/etc/modules/watchdog/monitrc
> end script
>
> [root@server2 ~]# cat /etc/init/psa-wdcollect.conf
> # psa-wdcollect
> description "Plesk Watchdog Collector service"
> author "Parallels <[email protected]>"
> #start on starting rc RUNLEVEL=[2345]
> start on runlevel [2345]
> stop on shutdown
> #exec /usr/local/psa/libexec/modules/watchdog/init/wdcollect /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php
> #respawn
> console output
> script
> /bin/sleep 60
> echo "Starting psa-wdcollect."
> exec /usr/local/psa/libexec/modules/watchdog/init/wdcollect /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php
> end script
> #respawn
> -----------------
>
> Configuration files on the 2nd server contain '/bin/sleep 60' which prevents watchdog loading before services it should monitor. That is why notifications were not sent.
 
Back
Top