Zabbix Media Type Parameters not replaced correctly

280 views Asked by At

I'm trying to call an API with Zabbix when there is a security warning

settings

But when I receive the warning, some elements are not replaced.

However, the HOSTID parameters seems to exist in the Zabbix documentation

Here is the object I receive

received object

1

There are 1 answers

0
Simone Zabberoni On BEST ANSWER

{HOST.HOSTID} is a non-existent macro, there isn't a direct mapping from the api fields and the macros.

You should use {HOST.ID}

You can find the complete macro by location list here