Details
-
Problem report
-
Status: Confirmed
-
Major
-
Resolution: Unresolved
-
5.0.19
-
None
-
Team INT
Description
Steps to reproduce:
- Use in-box opsgenie integration from https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/opsgenie/media_opsgenie.xml?at=refs%2Fheads%2Frelease%2F5.0
- Make the config for opsgenie target
- Make a problem - we see, the problem is registrated by opsgenie
- Close the problem - problem status in opsgenie updates but he problem stays open
Result:
Problem status in opsgenie updates but he problem stays open
Expected:
Problem in opsgenie becomes closed
___
It is wokring as expected on 4.4
I've investigate the subj the problem seems to be in post data
For a opening api-method is correct for opsgenie
For a closing it has to be different: https://docs.opsgenie.com/docs/alert-api#close-alert
But it Javascript code it is the same for both methods, thats why webhook script prefer to update alert not close it even the event_value param is 0
Attachments
Issue Links
- part of
-
ZBXNEXT-6525 Allow OpsGenie WebHook mediatype to close alert on Event Recovery
-
- Open
-