• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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