Ad Widget

Collapse

Zabbix with OpsGenie via oec-plugin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabbrad
    Junior Member
    • Sep 2023
    • 8

    #1

    Zabbix with OpsGenie via oec-plugin

    We've recently(ish) migrated over to Zabbix and things have worked pretty well. We're now trying to get integration working between our Zabbix instance and OpsGenie so we can manage the issues (view, resolve, close, etc) directly from OpsGenie. We're using the oec send2zabbix plugin as we want/need the two-way functionality (from what I understand, the webhook doesn't support this).

    I've got the send2opsgenie trigger working and can see alerts as expected, however, I'm trying to follow some of the documentation here: https://support.atlassian.com/opsgen...zabbix-plugin/ and it looks pretty out of date (the menu items referred to in the documentation don't exist and neither do some of the features such as "remote command".

    For clarity, what we're trying to do is..
    1. Zabbix detects an event and based on some criteria/conditions (such as tag or severity, etc) it triggers the alert to go in to OpsGenie.
    2. An Engineer would see the issue/alert in OpsGenie and could close/ack it from the OpsGenie UI (either mobile app or browser) which then updates Zabbix.
    Any help would be very much appreciated!

    Edit: it would have helped if I mentioned what version we're on... we're on v6.4.4
    Last edited by Zabbrad; 30-04-2024, 07:53.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    OpsGenie should update their docs... That is a very old version mentioned there. But then again, remote commands do exist, but in a bit different place maybe..
    More up to date way is the webhook.. https://www.zabbix.com/integrations/opsgenie#opsgenie

    For updating Zabbix from opsgenie, you probably need somekind of thing on that side that knows how to send updates to Zabbix (evemt.acknowledge API method). Which may not be available, if your zabbix sits behind all kinds of FW-s etc... 2-way communication is not easy...

    Comment

    • Zabbrad
      Junior Member
      • Sep 2023
      • 8

      #3
      Thanks Cyber, yes my understanding is that the webhook is not compatible with the bi-directional administration/management we're wanting and the only available method for this is the oec send2opsgenie plugin. We ultimately just want to use Zabbix for the monitoring and OpsGenie for everything else. I'd ideally like to avoid having to manage incidents in both Zabbix and OpsGenie.

      Comment

      • Zabbrad
        Junior Member
        • Sep 2023
        • 8

        #4
        Is this two-way integration no longer available in Zabbix?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          As much as I have looked on this, I think it might be possible to make it work... there is even a actionExecutorForZabbix6.py script in there... Unfortunately I don't have any means to test this.
          I think it requires adding something under Administration -> Scripts and then all your events get a link into their context menu, so you can press it and an action on server will be triggered, which acknowledges particular event... Or does something else.
          I am pretty sure it is possible to make this work also with webhook, but that might needs someone, who knows exactly what s/he is doing...

          Comment

          Working...