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