• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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 <info@parallels.com>"
> 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 <info@parallels.com>"
> 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 <info@parallels.com>"
> #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 <info@parallels.com>"
> #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