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

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
Community showcase
Posted in Jira

Calling all Jira Cloud users! Give us feedback on our exploration of a new navigation.

Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...

1,017 views 16 12
Join discussion

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