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

Zabbix Proxy via stunnel fails to detect connection errors with the Zabbix Server

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Critical Critical
    • None
    • 1.8.5
    • Proxy (P)
    • None
    • CentOS, stunnel

      When Zabbix Proxy sends data back to the Zabbix Server via stunnel, if the stunnel connection fails to the server, Zabbix Proxy still thinks that the data has been sent. As such, data is lost during connectivity issues between the stunnel client and the stunnel server.

      The ids in the ids table on the Proxy also keeps incrementing even if stunnel is reporting "connection reset by peer", with 0 bytes sent. It can be seen in the stunnel logs that Zabbix keeps sending data through stunnel, in line with the items Interval.

      Without stunnel, it seems Proxy detects a connectivity issue, and waits a while before trying again - it doesn't just keep trying to send individual items back. Once the connection is back up, it logs "Connection restored.". You don't get that when going over stunnel.

      This could be due to that the Proxy is always able to connect to the TCP port stunnel is forwarding - it's running on the same box. The problem is, if the stunnel part fails, Proxy doesn't detect that the Zabbix server didn't get the data, and carries on as if it has.

            Unassigned Unassigned
            dazman dazman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: