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

Can not increase the Socket response size limit

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.37
    • 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?

            zabbix.dev Zabbix Development Team
            dcastaneda_xcl David Castañeda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: