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

LLD and 64kB size limit

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.5rc1, 2.1.0
    • 2.0.3
    • Agent (G)
    • OS: Debian GNU/Linux Squeeze, 64 bits
      Zabbix DB: PostgreSQL 8.4

      Greetings,

      I created a simple script for discovering DB objects, and it have been working just fine on several servers, recently I installed it on a server that has many DB objects: the discovered DB objects never showed up on Zabbix UI, and I saw nothing on the server's logs (nor agent's logs either), and on the UI I was getting "Value should be a JSON object", so, I tried to run zabbix_get :

      zabbix_get -s SERVER_IP -k postgresql.tables.discovery

      and I saw the output was truncated, so, I decided to see if it had a particular size:

      Code:

      zabbix_get -s SERVER_IP -k postgresql.tables.discovery|wc -c
      65536

      The total size is 82065 (from discovery script output)

      So, I was wondering: is there a limit on the JSON answer size?

      I found something similar, but for proxy, on bug ZBX-4780, but it says it was resolved.

      Thanks in advance!

      Ildefonso Camargo

            Unassigned Unassigned
            ildefonso Ildefonso Camargo
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: