Hello, everybody!
I am new to zabbix, and I cannot understand why my LLD is not working.
Here are some details:
I have a discovery that returns this json:
as you can see, these are macro for container names.
Then, I set up some item prototypes:

The main item prototype looks like this:

but when I apply my discovery rule to a host, it throws exceptions:

So, as I understand, these errors mean that zabbix simply ignore my macro and does not replace {#NAME} with a value from json.
What am I doing wrong?
I am new to zabbix, and I cannot understand why my LLD is not working.
Here are some details:
I have a discovery that returns this json:
Code:
[
{
"{#NAME}": "zabbix_zabbix-web-nginx-pgsql_1"
},
{
"{#NAME}": "zabbix_zabbix-server_1"
},
{
"{#NAME}": "zabbix_postgres-server_1"
},
{
"{#NAME}": "zabbix_zabbix-agent_1"
}
]
Then, I set up some item prototypes:
The main item prototype looks like this:
but when I apply my discovery rule to a host, it throws exceptions:
So, as I understand, these errors mean that zabbix simply ignore my macro and does not replace {#NAME} with a value from json.
What am I doing wrong?