I can not find how in Zabbix 3, through the API, add the created trigger (trigger) to the data item (item). A network node, a data element, a trigger is created, but I don’t understand how to bind it to a data element. Maybe someone came across? I do in PHP.

    1 answer 1

    You cannot create a trigger without binding to a data item. When you write expression conditions in it, the trigger is automatically attached to the total specified in the condition. If you specify several items, you are bound to one of them.