Page 1 of 1

JIRA / Nagios Integration

Posted: Thu Sep 20, 2018 8:38 am
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

Re: JIRA / Nagios Integration

Posted: Thu Sep 20, 2018 4:32 pm
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?

Re: JIRA / Nagios Integration

Posted: Mon Oct 08, 2018 1:21 pm
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.

Re: JIRA / Nagios Integration

Posted: Tue Oct 09, 2018 6:52 am
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.