Hi Guys,
I'm stuck trying to remove/disable hosts after a trigger event.
Host is created : call zabbix 'host.create' api to add the host and assign it to a template A with additional macros etc...
I have control of the create part.
I have an external check item : calling an api
and I have a trigger with a condition on the value returned from the api
== all of this works fine.
I would like to remove the host from zabbix ( or disable ) when a trigger condition is met.
I only see actions such as send message and so.
- i have tried to change my trigger into a discovery rule ( since I see the possibility to add/remove host ) but this is not very clear to me what a discovery rule is.
Please let me know how to achive this
Thank you
I'm stuck trying to remove/disable hosts after a trigger event.
Host is created : call zabbix 'host.create' api to add the host and assign it to a template A with additional macros etc...
I have control of the create part.
I have an external check item : calling an api
and I have a trigger with a condition on the value returned from the api
== all of this works fine.
I would like to remove the host from zabbix ( or disable ) when a trigger condition is met.
I only see actions such as send message and so.
- i have tried to change my trigger into a discovery rule ( since I see the possibility to add/remove host ) but this is not very clear to me what a discovery rule is.
Please let me know how to achive this
Thank you
Comment