Quantcast
Channel: THWACK: Document List - Network Performance Monitor
Viewing all articles
Browse latest Browse all 1956

Integration with PagerDuty

$
0
0

PagerDuty has developed and provided a very nice integration guide for SolarWinds.

 

However, in my experience, it goes a little too far by requiring extra custom properties and VB script execution via scheduled task in order to post the JSON payloads to the PagerDuty site. Below are a couple of examples you can use with the HTTP POST action from the web alert engine. Just post these messages as the payload to https://events.pagerduty.com/generic/2010-04-15/create_event.json

 

ALERT TRIGGER:

{

  "_comment": "https://events.pagerduty.com/generic/2010-04-15/create_event.json",

  "service_key": "ENTER CLIENT'S SERVICE KEY FROM PAGERDUTY HERE",

  "incident_key": "THIS IS THE STRING FOR YOUR INCIDENT TITLE",

  "event_type": "trigger",

  "description": "THIS IS THE BODY OF YOUR MESSAGE DETAILS",

  "client": "SolarWinds",

  "client_url": "THIS IS WHERE YOU CAN PUT A DETAILS URL BACK TO SOLARWINDS",

}

ALERT RESET:

{

  "_comment": "https://events.pagerduty.com/generic/2010-04-15/create_event.json",

  "service_key": "ENTER CLIENT'S SERVICE KEY FROM PAGERDUTY HERE",

  "incident_key": "INCIDENT TITLE MUST MATCH THE TRIGGER EXACTLY",

  "event_type": "resolve",

  "description": "THIS IS THE BODY OF YOUR MESSAGE DETAILS"

}

 

Enjoy!

 

-ZackM

Loop1 Systems: SolarWinds Training and Professional Services


Viewing all articles
Browse latest Browse all 1956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>