Hi all! After upgrading zabbix from 1.8.15 to 2.4.2 i can`t send email. See log below
Postfix does not receive any connection from zabbix.
Does anyone know what does it means?
Code:
7311:20141216:181133.618 query [txnlev:0] [select a.alertid,a.mediatypeid,a.sendto,a.subject,a.message,a.status,mt.mediatypeid,mt.type,mt.description,mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_path,mt.gsm_modem,mt.username,mt.passwd,a.retries from alerts a,media_type mt where a.mediatypeid=mt.mediatypeid and a.status=0 and a.alerttype=0 order by a.alertid] 7311:20141216:181133.618 In execute_action(): alertid [63] mediatype [0] 7311:20141216:181133.618 In send_email() smtp_server:'localhost' 7311:20141216:181133.618 [B]cannot connect to SMTP server "localhost": bind() failed: [22] Invalid argument[/B] 7311:20141216:181133.618 End of send_email():FAIL 7311:20141216:181133.618 End of execute_action():FAIL 7311:20141216:181133.618 error sending alert ID [63] 7311:20141216:181133.618 query without transaction detected 7311:20141216:181133.618 query [txnlev:0] [update alerts set retries=1,error='cannot connect to SMTP server "localhost": bind() failed: [22] Invalid argument' where alertid=63] 7311:20141216:181133.619 alerter [sent alerts: 0 success, 1 fail in 0.001222 sec, idle 30 sec]
Does anyone know what does it means?
Comment