Ad Widget

Collapse

Value should be a JSON object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rluisr
    Junior Member
    • May 2017
    • 1

    #1

    Value should be a JSON object

    I tried to use LLD with my original script.
    But zabbix say error Value should be a JSON object.

    Execute my script on bash.
    Code:
    root@proxmox:/etc/zabbix# php zfspool_discover.php
    
    {
    	"data":[
    	{
    		"{#ZPOOLNAME}":"anypool"
    	},
    	{
    		"{#ZPOOLNAME}":"prdpool"
    	},
    	{
    		"{#ZPOOLNAME}":"rpool"
    	}
    	]
    }
    I made LLD script in the past. (https://github.com/rluisr/Zabbix-LXC)
    But it doesn't work this time.

    Zabbix server and agent is wrong version but other LLD script is work.

    How I solve this problem?

    Zabbix server
    3.2.3

    Zabbix agent
    3.0.7
Working...