Integrating Zabbix 2.0 and JIRA 5.1.3

We currently use Zabbix for our server monitoring, and when there is a problem it sends an email into our Zabbix Mailbox, which is monitored by JIRA, and issues are raised from there.

The problem with this is that when a Zabbix alert is resolved, we have to manually close the JIRA issue, and if a Zabbix alert resolves and alerts again before we can close the JIRA Issue then it will raise a duplicate JIRA Issue.

My questions are;

1) Is there a way we can get JIRA to close the JIRA issue when the Zabbix alert has cleared?

2) Is there a way we can get JIRA to realise if a Zabbix alert already has an open JIRA Issue and doesn't raise the duplicate?

Thanks

1 answer

1 accepted

This widget could not be displayed.

Hi,

Im using zabbix for server monitoring too, and I think it's a great idea this integration!!

I suppose you're using JEMH plugin or similar to create tickets from incoming mails, isn't it? If so, I recommend you to explore the plugin options to

  • If there is no similar ticket (same summary), create a new one.
  • If there is a similar ticket, but is closed, reopen.
  • If there is open, do nothing.

But you have to define a way to determine if two emails from zabbix / tickets in jira are about the same issue or not.

Another way to explore is to configure zabbix to execute scripts if an alert is triggered. The script could be a tiny java program that creates the ticket. Inside this program you can check if there is a similar issue and reopen it if is closed .. etc.

In the other side, you should tell jira to check if alert XXX that caused to issue to be created is still active or not. IMO this is job for a Jira Service plugin. This can be a a java program that checks (by web or database) if alerts of the issues that are still open and close them if not.

Either way, there is a bit of script and java programming work :)

HTH

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

50 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you