I tried to use LLD with my original script.
But zabbix say error Value should be a JSON object.
Execute my script on bash.
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
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"
}
]
}
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