• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk Health Monitor: how to change notification destination email?

Alban Staehli

Regular Pleskian
Hi,

I was wondering how to change the notification destination email for alerts sent by Plesk Health Monitor?
I tried to modify the XML configuration file with this at the beginning:

<Misc alarmsInterval="5">
<notificationEmail address="[email protected]"/>
</Misc>

But it doesn't work.
Thx for your help.
 
Hi Igor,

My modifications are stored here:
/usr/local/psa/var/custom-health-config.xml
I used the Plesk 11 web interface of Health Monitor to upload my xml file.

It seems these 3 lines of XML are not being taken into account.
I added them just before the first line "<Hdd>":
<Misc alarmsInterval="5">
<notificationEmail address="[email protected]"/>
</Misc>
<Hdd>
....
It replaces the original line: <Misc alarmsInterval="5"/>

Is the XML I used is correct? I tried following the comments in the file.

Thx for your help.
 
Yes,

<Misc alarmsInterval="5">
<notificationEmail address="[email protected]"/>
</Misc>
<Hdd>

is correct. But note that alarm notification will be sent to address [email protected] only when alarm level is reached for defined services. If all services are shown with Green status 'OK' on the Heath Monitoring page, notifications not be sent by design.
 
Try to run

# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
# /etc/init.d/psa-health-monitor-notificationd restart
 
I executed both commands this morning... I received again later on notification emails on the other address, not the one defined in the XML file.
 
I executed both commands this morning... I received again later on notification emails on the other address, not the one defined in the XML file.
Try to find something useful in Plesk maillog. You can find there why this email address is used for HM notifications or why specified is not used.
 
Alright, I finally found a solution by reading this post: http://talk.plesk.com/threads/setting-health-monitoring-options-from-shell.110342/

I had to edit the /usr/local/psa/var/custom-health-config.xml manually through the command line, as the changes made via the Plesk Interface when I uploaded the config file were not taken into account.
And then I restarted the service: /etc/init.d/psa-health-monitor-notificationd restart
 
I just had the same problem, a full five years later on from the original post.

Is there a bug with the Plesk GUI not updating the XML file?!?
 
Back
Top