Skip to main content

Automated Diagnostics


Automated Diagnostics

Sending Diagnostics to Chat Tools

Most teams operate out of a chat tool, like Slack or Microsoft Teams, during an incident.
This is so that they can collaborate, assign tasks, and update others as they troubleshoot the issue. For this reason, one of the best practices with the Diagnostics Solution is to integrate PagerDuty with your chat tool so that the diagnostic data appears automatically in the incident channel.

Depending on the chat tool you use, you will want to follow the Slack Integration Guideopen in new window or the Microsoft Teams Integration Guideopen in new window.

Once those integrations are complete and a Channel or Team has been linked to a PagerDuty Service or Incident, the diagnostics from the runbook will appear in the chat tool when they are posted to the Incident Timeline:

Diagnostic results displayed in Slack
Diagnostic results displayed in Slack

Automation Actions in Microsoft Teams
Automation Actions in Microsoft Teams

Invoking Diagnostics from Chat Tools

PagerDuty’s Slack and Microsoft Teams integrations also provide the ability to invoke Automation Actions:

Invoke Automation Actions from Slack
Invoke Automation Actions from Slack

This can be useful for “refreshing” the diagnostics, which can assist with providing status updates to stakeholders.

Invoking from chat tools also makes it easy to execute a known-fix remediation - such as a restart, rollback, failover or scaling of resources.