Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20392

Opsgenie intergration is broken for problem closing

    XMLWordPrintable

Details

    • Team INT
    • Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022)
    • 1

    Description

      Steps to reproduce:

      1. 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
      2. Make the config for opsgenie target
      3. Make a problem - we see, the problem is registrated  by opsgenie
      4. 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

        1. opsgenie_3.png
          opsgenie_3.png
          35 kB
        2. opsgenie_2.png
          opsgenie_2.png
          33 kB
        3. opsgenie_1.png
          opsgenie_1.png
          71 kB
        4. image-2021-12-25-18-34-02-877.png
          image-2021-12-25-18-34-02-877.png
          14 kB

        Issue Links

          Activity

            People

              atocko Andrey Tocko
              virtualb0x Anastasiya
              Votes:
              10 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: