Ad Widget

Collapse

Mail alarm setting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tcpdump
    Junior Member
    • Jun 2015
    • 8

    #1

    Mail alarm setting

    now i am using zabbix of version 2.5
    i have a problem:
    When there is a trigger alarm,This prompt appears when the message sends an alarm message(server logs file):“Support for SMTP authentication was not compiled in”,I confirmed that I had set right email address.
    The alarm message is not sent successfully, how to set up the right to send alert msg.
  • tcpdump
    Junior Member
    • Jun 2015
    • 8

    #2
    SMTP Authentication has not been added to the function of 2.5?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Please check Email media setting.
      And, what OS are using?
      If you use RHEL 6 or CentOS 6, you cannot use SMTP authentication because libcurl version too old.

      Comment

      • tcpdump
        Junior Member
        • Jun 2015
        • 8

        #4
        Originally posted by Atsushi
        Please check Email media setting.
        And, what OS are using?
        If you use RHEL 6 or CentOS 6, you cannot use SMTP authentication because libcurl version too old.
        OS: CENTOS6.5
        CURL:7.44.0
        Used these parameters when Compile the source code ,like --with-ssl --with-libcurl --with-libxml2 --enable-smtp
        I update to the zabbix 3.0 beta1, but the issue of Email Authentication is still,using SSL to send alarm met problem:
        Failed initialization 13377:20160120:082748.352
        Failed initialization 13377:20160120:082748.366

        Comment

        • phantomcavalera
          Junior Member
          • May 2016
          • 1

          #5
          Very Strange that problem

          I use zabbix 3.0.

          Linux:
          ----------------------------------------------------------------------------------------
          [root@zabbix ~]# cat /etc/centos-release
          CentOS release 6.8 (Final)
          ----------------------------------------------------------------------------------------

          Version curl:
          ----------------------------------------------------------------------------------------
          [root@zabbix ~]# curl -V
          curl 7.49.1 (x86_64-redhat-linux-gnu) libcurl/7.49.1 OpenSSL/1.0.1e zlib/1.2.3 c-ares/1.11.0 libidn/1.32 libssh2/1.7.0
          Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
          Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets Metalink
          ----------------------------------------------------------------------------------------

          Curl with SMTP is perfect work fine:
          ----------------------------------------------------------------------------------------
          [root@zabbix ~]# curl --url "smtp://serrariarocha.com.br:587" --mail-from "[email protected]" --mail-rcpt "[my_email]" --upload-file test --user "[email protected]:[my_pass]"
          % Total % Received % Xferd Average Speed Time Time Time Current
          Dload Upload Total Spent Left Speed
          0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
          ----------------------------------------------------------------------------------------

          But in Zabbix, notify:
          ----------------------------------------------------------------------------------------
          Support for SMTP authentication was not compiled in
          ----------------------------------------------------------------------------------------

          Does anyone have any solution?
          One week in this fight =/

          Comment

          • h.karimi
            Junior Member
            • Jul 2016
            • 10

            #6
            i have the same problem as you

            can anyone help us?

            Comment

            Working...