Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8585

Problem with email notifications on ipv6-enabled host

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: Server (S)
    • Environment:
      Debian Linux 7.6
      Linux test-srv211 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

      Description

      I have zabbix server installation on ipv6-enabled host. Email notifications are configured to send email to localhost. But mailserver (exim4) is configured only on ipv4 addresses. Zabbix complains that it cannot send email to localhost:
      > 30283:20140806:112635.337 In execute_action(): alertid [9] mediatype [0]
      > 30283:20140806:112635.337 In send_email() smtp_server:'localhost'
      > 30283:20140806:112635.337 cannot connect to SMTP server [localhost]: cannot connect to [[localhost]:25]: [111] Connection refused
      > 30283:20140806:112635.337 End of send_email():FAIL
      > 30283:20140806:112635.337 End of execute_action():FAIL
      > 30283:20140806:112635.337 error sending alert ID [9]
      At the same time telnet works without problem:
      > telnet localhost 25
      > Trying ::1...
      > Trying 127.0.0.1...
      > Connected to localhost.
      > Escape character is '^]'.
      > 220 test-srv211 ESMTP Exim 4.80 Wed, 06 Aug 2014 11:33:41 +0600
      > quit
      > 221 test-srv211 closing connection
      > Connection closed by foreign host.
      Looks like telnet falls back to ipv4 address when ipv6 address is not enabled, while Zabbix server does not.
      Some

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              merlyel Denis Volkov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: