This action enables the integration of PagerDuty into StackStorm. It is capable of performing the following actions:
- List all the open incidents on PD for a subdomain
- Send acknowledgment of any incident(s)
- Close and open incident(s)
- Launch an incident by giving its details and description
Copy the example configuration in pagerduty.yaml.example
to /opt/stackstorm/configs/pagerduty.yaml
and edit as required.
subdomain:
name of subdomainapi_key:
API-KEYservice_api:
SERVICE-APIdebug:
optional debug flag. Set to True for additional logging
You can also use dynamic values from the datastore. See the docs for more info.
- Sign into PagerDuty
- Head to
API Access
tab and navigate to theNew API
section - Enter a description for the API key, and click
Create API Key
. - Copy and paste the API key into
pagerduty.yaml
- Sign into PagerDuty
- Head to the
Services
tab and click onAdd New Service
. - Enter a name for the new service, and ensure the
Use our API directly
radio button is selected. - Click
Add Service
. - Copy and paste the service key into
pagerduty.yaml