Hi guys,
I need create custom LLD, but i have some mistakes.
In my /etc/zabbix/zabbix_agentd.d/check_mz.conf I have:
UserParameter=discovery.mz1,/opt/mz.sh
Output from /opt/mz.sh is json:
{
"data":[
{ "{#Name}" : "car", "{#Value}":"345"}]
}
In Discovery rule I have key: discovery.mz1
In Item Prototypes I have key: mz1[{#Name}]
But this is not ok, because i got: Unsupported item key.
What I doing wrong?
Thank you.
I need create custom LLD, but i have some mistakes.
In my /etc/zabbix/zabbix_agentd.d/check_mz.conf I have:
UserParameter=discovery.mz1,/opt/mz.sh
Output from /opt/mz.sh is json:
{
"data":[
{ "{#Name}" : "car", "{#Value}":"345"}]
}
In Discovery rule I have key: discovery.mz1
In Item Prototypes I have key: mz1[{#Name}]
But this is not ok, because i got: Unsupported item key.
What I doing wrong?
Thank you.
Comment