Rundeck is an open-source tool that helps to automate routine operational procedures in data center or cloud environments. You can integrate Rundeck with PagerDuty to ensure that any Rundeck job failures notify the right people immediately.
Here’s a general way to integrate Rundeck with PagerDuty:
- PagerDuty Initial Setup
- First, log into your PagerDuty account.
- Navigate to “Services” > “Service Directory” > “+ New Service”.
- Set a name for the service and assign an escalation policy.
- For “Integration Settings”, choose “Use our API directly” > “Events API v2”.
- Click on “Add Service”.
- Once the service is created, you will see an “Integration Key”, also known as a “Routing Key”. You will need this key to configure the Rundeck plugin.
- Rundeck Setup
- You will need a PagerDuty plugin for Rundeck. As of my knowledge cutoff in September 2021, there is an open-source PagerDuty plugin available on GitHub, but the availability and installation instructions may have changed.
- Once the plugin is installed, you can set it up as a notification plugin in Rundeck.
- Configure the Rundeck Job
- Open the job that you want to monitor with PagerDuty.
- Go to the “Notifications” tab and click on “On Failure”.
- Choose “PagerDutyNotification” and fill in the configuration fields. You will need to paste the “Integration Key” from the PagerDuty service that you created earlier.
With this setup, if the Rundeck job fails, it will send an alert to PagerDuty, which will then manage the incident according to the escalation policy associated with the service.

Leave a Reply