JIRA / Nagios Integration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Richard.Moore
Posts: 10
Joined: Thu Oct 27, 2016 1:49 pm

JIRA / Nagios Integration

Post by Richard.Moore »

Hello Forum, so the problem is two-fold. One is that tickets don’t seem to create correctly and I’m not sure why. Second is the integration screen asks for a valid connection despite one existing (see attached):


When I try and configure a server I receive an error message (see attached):


I’ve traced that problem to a the Jira.inc.php file that exists within the plugin classes folder. This connection code doesn’t seem to work:
function query_jira($data = '') {
$query_ui = "https://" . $this->query_uri;
$output = @file_get_contents($query_ui, false, $this->context);

return $output;
}

If I set the code to the code in the older plugin it then allows me to add and validate the JIRA server but the integration screen still shows the above. The code change goes from above to:
function query_jira($data='')
{
$output = @file_get_contents($this->query_uri, false, $this->context);
return $output;
}

I’m not sure at this point how to work with the module and fully integrate it to our Nagios version and Jira version 7. Any help or insight would be GREATLY appreciated
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JIRA / Nagios Integration

Post by scottwilkerson »

Is this something you had working in the past?

It is possible that Jira changed their API version or something, this components hasn't been modified in quite some time.

As for Ticket creation, what is the issue you are seeing when trying to create a ticket?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Richard.Moore
Posts: 10
Joined: Thu Oct 27, 2016 1:49 pm

Re: JIRA / Nagios Integration

Post by Richard.Moore »

I do believe the JIRA objects changed in the latest release but we’ve been using Service Desk until now and this is a new requirement for us. We’ve not seen this working previously and this is our first attempt to try the module. The tickets aren’t creating as they should apart from a random item which is constantly creating therefore there is integration of sorts, it’s just not reliable or something we can work with.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JIRA / Nagios Integration

Post by scottwilkerson »

We have looked over this old addon and as you noticed isn't working properly.

We have added it to our todo list to get a working version of a Jira component in the near future.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked