Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Integration Zabbix to opsgenie

Henrik Schuetze
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 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?

 

2 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.
Oct 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

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