• 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!
  • 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.

Health Monitor is not sending alert emails

Namesonic

New Pleskian
Hi all, I'm running on CentOS 6.x using Plesk 10.4.4 with the latest MTU update.

I'm not receiving any email from the Health Monitoring system during an alert. The new thresholds take effect when I upload them, but no matter what I specify in the email alert settings, I am not receiving any alerts.

In the /usr/local/psa/admin/logs/health-alarm.log I am seeing this error:

INFO (6): Server health parameter "Memory > Swap usage" changed its status from "green" to "yellow".
ERR (3): No entry is registered for key 'config'

In my XML config I have added these lines:

<Misc alarmsInterval="1" notificationSubject="Server Warning">
<notificationEmail address="support@namesonic.com" name="Server Sysadmin" />
</Misc>

Is that correct? I can't find any obvious errors why the "No entry is registered" is coming up.

Does anyone have any ideas? Thanks.
 
I'm pretty sure that is the correct health monitor syntax for specifying alerts from all of the other examples that I can find here on the forum.

Is that error, "ERR (3): No entry is registered for key 'config'" the reason for why no emails are being sent?

I receive the /opt/drweb/update.pl emails every 1/2 hour so I know the system email address is configured properly.
 
Try attached fix.
 

Attachments

  • Daemon.zip
    8.2 KB · Views: 10
No. You should replace file /usr/local/psa/admin/plib/Health/Alarm/Daemon.php with file from attached archive. Do not forget create backup of original file just in case.
 
I'm getting repeated alarm RED to GREEN messages at 1 minute intervals (same as XML configured interval). The panel shows all green:

==> /usr/local/psa/admin/logs/health-alarm.log <==
2012-11-29T20:48:33-08:00 INFO (6): Server health parameter "CPU > Total usage" changed its status from "red" to "green".
2012-11-29T20:48:33-08:00 ERR (3): No entry is registered for key 'config'

==> /usr/local/psa/admin/logs/health-alarm.log <==
2012-11-29T20:49:33-08:00 INFO (6): Server health parameter "CPU > Total usage" changed its status from "red" to "green".
2012-11-29T20:49:33-08:00 ERR (3): No entry is registered for key 'config'


EDIT: I'll report back when I get an alarm condition.

Thanks for the assistance Igor
 
Last edited:
Back
Top