I am using Zabbix 3.0.3.
I currently have 4 Zabbix instances with identical configuration, and an application that calls each instance to get any triggers that are in a PROBLEM state.
If the majority of my Zabbix instances are reporting a problem trigger for the same host, then my application will update a web page, showing that there is an issue with the affected host.
Sometimes, I need to quickly stop a trigger from firing and updating, and set its state back to OK.
Currently I am using the API to disable the trigger, but if the trigger was firing at the time it was disabled, the trigger.get method will return the trigger with value=1, as if it were still firing.
I understand trigger.value is a read only field according to the documentation so I can't update this via the API.
Is trigger.delete my only option?
I currently have 4 Zabbix instances with identical configuration, and an application that calls each instance to get any triggers that are in a PROBLEM state.
If the majority of my Zabbix instances are reporting a problem trigger for the same host, then my application will update a web page, showing that there is an issue with the affected host.
Sometimes, I need to quickly stop a trigger from firing and updating, and set its state back to OK.
Currently I am using the API to disable the trigger, but if the trigger was firing at the time it was disabled, the trigger.get method will return the trigger with value=1, as if it were still firing.
I understand trigger.value is a read only field according to the documentation so I can't update this via the API.
Is trigger.delete my only option?