Can not increase the Socket response size limit

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.37
    • Component/s: Frontend (F)
    • None

      When retrieving metrics from a Prometheus endpoint. for instance, from a GitLab metrics endpoint,t we get the following error 

      Size of the response received from Zabbix server "my-zabbix-server.lan" exceeds the allowed size of 16777216 bytes. This value can be increased in the ZBX_SOCKET_BYTES_LIMIT constant in include/defines.inc.php.

      Steps to reproduce:

      1. Monitor a gitlab server and add the GitLab by HTTP
      1. Open the item 'GitLab: Get instance metrics'
      2. Click on 'Test'
      3. click on 'Get Value and test'

      Result:

      I've tried to find a way to reduce the metrics answer without any luck

      Would it be possible to add the socket response size as a parameter in the Zabbix config and not have it as constant?

            Assignee:
            Zabbix Development Team
            Reporter:
            David Castañeda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: