integrating nagios with jira
Posted: Thu Jan 30, 2020 11:55 am
Hello ,
im working to intergrate nagios with jira ( nagios to open ticket in jira), i have found already a related topic but i could not add a comment cause its closed,
at this stage im just trying to get information from rest api in jira , the problem is i get error with internal error 500 in my nagios box, after some tries with postman i figured out that i need to deactivate ssl verification and and configure global proxy settings in postman,
is there any method to modify the script to get the same configuration,
script that im using :
#!/bin/perl
#
use strict;
use warnings;
use JIRA::REST;
use Data::Dumper;
use LWP::UserAgent;
use IO::Socket::SSL;
use Getopt::Std;
use Getopt::Long qw(:config no_ignore_case bundling);
my $jira = JIRA::REST->new({
url => 'https://x.x.x.x/',
username => "**********",
password => "************"
});
my $baseurl = $jira->GET('/rest/api/latest/issue/INDUS-25408');
print Dumper($baseurl);
im working to intergrate nagios with jira ( nagios to open ticket in jira), i have found already a related topic but i could not add a comment cause its closed,
at this stage im just trying to get information from rest api in jira , the problem is i get error with internal error 500 in my nagios box, after some tries with postman i figured out that i need to deactivate ssl verification and and configure global proxy settings in postman,
is there any method to modify the script to get the same configuration,
script that im using :
#!/bin/perl
#
use strict;
use warnings;
use JIRA::REST;
use Data::Dumper;
use LWP::UserAgent;
use IO::Socket::SSL;
use Getopt::Std;
use Getopt::Long qw(:config no_ignore_case bundling);
my $jira = JIRA::REST->new({
url => 'https://x.x.x.x/',
username => "**********",
password => "************"
});
my $baseurl = $jira->GET('/rest/api/latest/issue/INDUS-25408');
print Dumper($baseurl);