Ad Widget

Collapse

Value should be a JSON object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Harroguk
    Junior Member
    • Aug 2014
    • 1

    #1

    Value should be a JSON object

    I am trying to use LLD using Zabbix 2.0.3 Server installed on Linux

    I am using a powershell script to generate the JSON below...
    Code:
    {"data":[
    {"{#SERVERSERVICE}":"MSSQLSERVER","{#AGENTSERVICE}":"SQLSERVERAGENT","{#PERFCOUNTER}":"SQLSERVER"}
    ]}
    This is picked up using the userparameter...
    Code:
    UserParameter=discovery.instances,powershell C:\PROGRA~1\ZABBIX~1\\Get-MSSQL-Instancenames.ps1
    However in Zabbix the Discovery rule is displaying as Value should be a JSON object

    I have checked the JSON with http://jsonlint.com/ and it appears to be good.

    Can anyone point me to where I may be going wrong?

    Thanks

    Harroguk
Working...