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:
zabbix_get -s SERVER_IP -k postgresql.tables.discovery|wc -c
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!