• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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="[email protected]" 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