It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Integrate with Nagios Edited

steven lo Aug 03, 2018

Dear Sir,

I need jira to create ticket when some of the service are fail on nagios, so i'm using the add-ons(nagios jira integration) tools to do that part and i'm follow the document to set both site(nagios and jira) but i can't see any new ticket when the service fail on nagios(nagios are using event handler to execute the script and i can see the log on nagios and jira, and that script are provide by this add-ons), please let me know where is the detail log(api call) on jira because i didn't see any fail on jira? thanks.

Nagios Log:

-------------------------------------------

[1533280196] SERVICE ALERT: webserver;Total Processes;OK;HARD;1;PROCS OK: 73 processes
[1533280196] SERVICE EVENT HANDLER: webserver;Total Processes;OK;HARD;1;integrate-jira

 

nagios script

------------------------------------------

curl --data "host=%host%&hostaddress=%hostadress%&hostoutput=%hostoutput%&hoststate=%hoststate%&hoststatetype=%hoststatetype%&responseurl=%responseurl%&key=aHR0cDovL2ppcmEtZGF0YS1sb2FkYmFsYS0xdzlqc3NuMTVzazh3LTgxMzAxMzgxMy5hcC1ub3J0aGVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbQ==&jiraurl=http://jira-data-loadbala-1w9jssn15sk8w-813013813.ap-northeast-1.elb.amazonaws.com" http://jira-data-loadbala-1w9jssn15sk8w-813013813.ap-northeast-1.elb.amazonaws.com/plugins/servlet/nagevent

 

jira log

-----------------------------------------

10.0.134.20 447x4375x1 - [03/Aug/2018:07:27:51 +0000] "POST /plugins/servlet/nagevent HTTP/1.1" 200 5 3 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"

 

Best Wishes,

Steven Lo

 

0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

785 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you