Hello.
I have a situation with a low level discovery that gives error "Value should be a JSON object." while the output is verified correct JSON with http://jsonlint.com/
Running Zabbix 3.0.2. The agent is 3.0.5. Both under RHEL 7.
Here is the JSON:
I have other discoveries that work just fine whit the same output, with values changed.
I also have created a text item with file file's content. And what zabbix picks up is still jsonlint.com verified...
Can anyone point me into a solution?
Thank you very much.
Marc.
I have a situation with a low level discovery that gives error "Value should be a JSON object." while the output is verified correct JSON with http://jsonlint.com/
Running Zabbix 3.0.2. The agent is 3.0.5. Both under RHEL 7.
Here is the JSON:
Code:
{
"data":[
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170207.002"},
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170206.002"},
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170208.001"},
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170207.001"},
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170209.001"},
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170209.002"},
{"{#LOGFILENAME}":"/logs/HSDEVCENTRAL/20170208.002"},
{"{#LOGFILENAME}":"/altlogs/HSDEVCENTRAL/20150819.001"}
]
}
I also have created a text item with file file's content. And what zabbix picks up is still jsonlint.com verified...
Can anyone point me into a solution?
Thank you very much.
Marc.
Comment