Article ID: 124162, created on Jan 8, 2015, last review on Apr 17, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Having configured the event handling notifications as per the guide, the notifications of diskspace overusage are not being delivered.

The following error in /var/log/poa.debug.log:

Jan  7 02:03:00 username : INF [task:14246:1521 1:2437:b15ffb70 pleskintegration]: [task:14246 PleskIntegration::Implementation::ServiceController::actionSendEmailNotification] exit_code #1
...
Jan  7 02:03:00 username : INF [task:14246:1521 1:2437:b15ffb70 pleskintegration]: [task:14246 PleskIntegration::Implementation::ServiceController::actionSendEmailNotification] STDERR: IOError: [Errno 2] No such file or directory: '/usr/local/ppa/etc/email_templates/subscription_diskspace_limit_reached.msg'
Jan  7 02:03:00 username : INF [task:14246:1521 1:2437:b15ffb70 pleskintegration]: [task:14246 PleskIntegration::Implementation::ServiceController::actionSendEmailNotification] STDERR:
Jan  7 02:03:00 username : DBG [task:14246:1521 1:2437:b15ffb70 pleskintegration]: [task:14246 PleskIntegration::Implementation::ServiceController::actionSendEmailNotification] <=== EXIT [1.363275]

Cause

Path to mail templates are incorrect in /usr/local/ppa/bin/email_notifier.

Resolution

  1. Create a backup of /usr/local/ppa/bin/email_notifier.

  2. Open the file /usr/local/ppa/bin/email_notifier with text editor and change variable _defTmplDir definition and change it accordingly:

    _defTmplDir = '/usr/local/ppa/etc/email_templates'
    

Search Words

event handling

event handler

events not send email

notification

actionSendEmailNotification

events notification not working

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF