Acknowledging on Zabbix not working for OEC

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      While trying to acknowledge alerts on Zabbix when an alert is acknowledged on Opsgenie, users get error.

      Steps to Reproduce

      https://github.com/opsgenie/oec-scripts/issues/9 

      Expected Results

      Zabbix alerts should be acknowledged when an alert is acknowledged on Opsgenie.

      Actual Results

      The below exception is thrown:

      Jan 02 16:31:01 zabbix.arezzo.diennea.lan OpsgenieEdgeConnector[92388]: File "/home/opsgenie/oec/zabbixActionExecutorForZabbix4.py", line 110, in main
      Jan 02 16:31:01 zabbix.arezzo.diennea.lan OpsgenieEdgeConnector[92388]: "eventids": queue_message["alert"]["details"]["eventId"],
      Jan 02 16:31:01 zabbix.arezzo.diennea.lan OpsgenieEdgeConnector[92388]: KeyError: 'details' 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Ahmet Halaç (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: