Opsmatic offers configuration monitoring with automatic drift detection and tools to compare host states and visualize activity. Using Opsmatic means solving problems faster, with shared visibility for your entire team.
You can configure PagerDuty to push your notification, acknowledgement, and resolution alerts into your Opsmatic feed and timeline views. Additionally, you can also create incidents in PagerDuty based on failed policy checks, saved search results, or manually with a key event as a trigger.
- Navigate to Manage Organizations.
- Copy your Opsmatic Integration Token.
- In your account, under the Configuration tab, select Services from the dropdown menu.
- Choose an existing PagerDuty service using an API integration which you would like to use to send events to OpsMatic. If you don’t already have one, you can create a new service.
- Click on the name of the service, and within the Integrations tab, find Extensions.
- Click Add an extension, choose the Generic Webhook type, name your extension, and use the following endpoint URL. Make sure to replace [Your Integration Token] with the integration token you copied from Opsmatic:
https://api.opsmatic.com/webhooks/events/pagerduty?token=[Your Integration Token]
- Click save and your webhook is added. You will now see PagerDuty updates in your Opsmatic feed and timeline.
Creating Automatic Incidents
- Visit the Integration Settings page and add the integration API Key for the PagerDuty service you’d like to use. (A “test” button is provided to ensure your credentials are properly configured.)
- Go to your Notifications Page to configure the Saved Search matches that should trigger a PagerDuty incident.
- To create automatic incidents for Assertion results, go to the
Assertions Overview page. Click on “Notification destinations” and select the checkbox next to “Create PagerDuty Incident”, then click Save.
- Go back to the Assertions Overview page. Click on the group that contains the Assertion you want to work with. Select the checkbox next to the PagerDuty icon for each assertion that you want to create an incident for.
Note: When an assertion fails, a PagerDuty incident will be created. When the assertion changes back to a passing state, the incident will automatically be resolved.
If you are having trouble completing setup, please contact our support team.