Bug - LLD Discovery report error on Zabbix Server (Value should be a JSON object)
Database monitoring agent for zabbix
Brought to you by:
kiu345
The LLD item does not discovery if we add more than one column.
The following discovery return wrong json format.
(Oracle)
<discovery time="600" item="tablespace.discovery" names="TABLESPACE|DATABASE">SELECT 'tbs' tablespace_name, 'mydb' database_name from dual</discovery>
It shows:
{"data":[{"{#TABLESPACE}":"tbs"}{"{#DATABASE}":"mydb"}]}
The correct output is to be:
{"data":[{"{#TABLESPACE}":"tbs","{#DATABASE}":"mydb"}]}
Thank you