Integration Zabbix to opsgenie

Henrik Schuetze October 17, 2023

We have an working integration between Zabbix 6.4 and opsgenie in EU.

But, no hostname,host_addres,host_alias, or such fields is filled.

Its all in the Description but not i a form opsgenie can work with

The alerts i got from icinga2 have all the fields filed.

 

I want the hostname in the alert name

is: Problem: Interface ge-1/0/38(ge-1/0/38 - VLAN0000): Link down

wanted: [Zabbix]: Switch001 - Interface ge-1/0/38(ge-1/0/38 - VLAN0000): Link down

 

What can i do?

 

3 answers

1 accepted

0 votes
Answer accepted
Brennan Kiely
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 18, 2023

Hi Henrik,

In order to better assist you, can you create a support ticket at support.atlassian.com for this? It would be best to take a look at the data being received from Zabbix.

-Brennan

0 votes
CSPTech November 14, 2024

Hey team.

How you doing?

 

Someone have the documentation about how to integrate Zabbix 6.4 with opsgenie?

Robert
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2024

Hey @CSPTech ! 

 

Zabbix 6.4 will have two options for integrating with Opsgenie: 

  • Opsgenie webhook: This method is built and supported by Zabbix and is probably the most straightforward option if you don't need the alarm status to sync between the two systems. 
  • Zabbix Plugin: This method is built and supported by Atlassian and involves installing a plugin on the Zabbix server that sends alerts to Opsgenie. This also enables the use of Opsgenie Edge Connector to push Ack events from Opsgenie back to Zabbix. 

Which option is best for your team will depend on which of these features are most important to you. 

 

0 votes
Mikel Stous October 31, 2023

We are now using Zabbix and are connected via OpsGenie API

OpsGenie is used to triage alerts, then open a Jira ticket when the Alert is acknowledged.

I have custom template for each site that only contains Macros for the site.  We have an opsgenie.alert user that has the profile timezone set to UTC.   Since users have their own timezone set for emails, then on the email action, I have said  "(timezone set to your profile)",

Template Name:

Site - New York

Template Macros:

{$SITE.LOCATION}        NYC

{$SITE.NAME}               New York City

{$SITE.TIMEZONE}        EST (UTC-5) / EDT (UTC-4)

 

OpsGenie Media Action - Problem

Subject:

Alert - {EVENT.SEVERITY} - {$SITE.LOCATION} - {HOST.NAME} - {EVENT.NAME}


Message: (replace Zabbix Server IP with your own)

<b>Alert / {EVENT.SEVERITY}</b>

<b>Host:</b> {HOST.NAME} ({HOST.IP}) / {$SITE.NAME} ({$SITE.LOCATION})

<b>Tags:</b> {EVENT.TAGS}
<b>Problem started at:</b> {EVENT.DATE} {EVENT.TIME} (UTC)

<b>Issue:</b> {EVENT.NAME}
<b>Operational data:</b> {EVENT.OPDATA}

<b>Incident Wiki:</b> {$SITE.WIKI}
-----------------------------------------------------
<b>Problem ID:</b> {EVENT.ID}
<b>Problem URL:</b> https://<Zabbix Server IP>/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID}

Proxy: {PROXY.NAME}
Site: {$SITE.NAME} ({$SITE.LOCATION})    

Site Timezone: {$SITE.TIMEZONE}

Host: {HOST.NAME} ({HOST.IP})
Item: {ITEM.NAME}
Trigger: {TRIGGER.NAME}
Operational data: {EVENT.OPDATA}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events