Regarding jenkins and pagerduty integration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Regarding jenkins and pagerduty integration

NETTI SRINIVASA RAO
I need to get alert from pagerduty when Jenkins job fail I have set up everything including with proxy pls help me the following are the logs 

when i have checked using curl command 

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

curl -X http://security-proxy.emea.svc.corpintra.net:3128 -v events.pagerduty.com

* Rebuilt URL to: events.pagerduty.com/

*   Trying 53.18.255.131...

* TCP_NODELAY set

* Connected to security-proxy.emea.svc.corpintra.net (53.18.255.131) port 3128 (#0)

> http://security-proxy.emea.svc.corpintra.net:3128 http://events.pagerduty.com/ HTTP/1.1

> Host: events.pagerduty.com

> User-Agent: curl/7.60.0 

> Accept: */*

> Proxy-Connection: Keep-Alive

< HTTP/1.1 400 Bad Request

< Server: nginx

< Date: Mon, 05 Oct 2020 04:23:23 GMT

< Content-Type: text/html

< Content-Length: 166

< X-Cache: MISS from pr-svc-em2-022

the below are the jenkins console logs

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

Triggering pagerDuty with serviceKey 9271a0906f784c37b4a210315df29f0a incidentKey description Jenkins job 'pager-duty-alert1' details http://localhost:8080/jenkins/job/pager-duty-alert1/37/ ERROR: Tried to trigger PD with serviceKey = [9271a0906f784c37b4a210315df29f0a] com.github.dikhan.exceptions.NotifyEventException: com.mashape.unirest.http.exceptions.UnirestException: org.apache.http.conn.ConnectTimeoutException: Connect to events.pagerduty.com:443 [events.pagerduty.com/35.167.69.145, events.pagerduty.com/44.231.93.240, events.pagerduty.com/44.233.86.211] failed: connect timed out at com.github.dikhan.HttpApiServiceImpl.notifyEvent(HttpApiServiceImpl.java:52) at com.github.dikhan.PagerDutyEventsClient.trigger(PagerDutyEventsClient.java:78) at org.jenkinsci.plugins.pagerduty.util.PagerDutyUtils.triggerPagerDuty(PagerDutyUtils.java:112)  

 

 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0a1174ba-ce17-4166-88a0-e2920b595512n%40googlegroups.com.