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...
This is picked up using the userparameter...
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
I am using a powershell script to generate the JSON below...
Code:
{"data":[
{"{#SERVERSERVICE}":"MSSQLSERVER","{#AGENTSERVICE}":"SQLSERVERAGENT","{#PERFCOUNTER}":"SQLSERVER"}
]}
Code:
UserParameter=discovery.instances,powershell C:\PROGRA~1\ZABBIX~1\\Get-MSSQL-Instancenames.ps1
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