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
- is duplicated by
-
ZBX-5497 SNMP LLD fails if the {#SNMPINDEX} value is longer than 100 chars
- Closed