Dear all =)
I am making a NodeJS script which should
* create a host
* add a trigger to the host
* add a web scenario to the host/trigger
So when reading the trigger spec, I would have expected to give the hostid when creating a trigger, so the API knows to which host the trigger should be added to. But I don't see anywhere I can specify a hostid.
https://www.zabbix.com/documentation...trigger/create
When I look at httptest.create it have a hostid as expected.
https://www.zabbix.com/documentation...ttptest/create
Can anyone explain how the trigger is added to a host over the API?
Hugs
Sandra =)
I am making a NodeJS script which should
* create a host
* add a trigger to the host
* add a web scenario to the host/trigger
So when reading the trigger spec, I would have expected to give the hostid when creating a trigger, so the API knows to which host the trigger should be added to. But I don't see anywhere I can specify a hostid.
https://www.zabbix.com/documentation...trigger/create
When I look at httptest.create it have a hostid as expected.
https://www.zabbix.com/documentation...ttptest/create
Can anyone explain how the trigger is added to a host over the API?
Hugs
Sandra =)