Declaring an incident in FireHydrant through an alert
This article highlights how to declar an incident from an alert directly within Slack. This is valuable for teams who are already comfortable working in Slack and who currently post alerts in Slack channels, either to the default channel or using an Alert Route. You can declare an incident on FireHydrant through an alert with the following alerting tools:
- PagerDuty
- OpsGenie
- VictorOps
In order to declare incidents from alerts within Slack, you must have integrated FireHydrant with both your alerting tool and Slack.
Using the following steps, you can configure receipt of alerts in Slack whenever an incident is created on your alerting tool. Then you can declare a new incident on FireHydrant directly from the Slack UI. This links the alert from your alerting tool to the newly created incident on FireHydrant.
Note:
To post alerts in a private Slack channel, you must invite the FireHydrant bot by running the command /invite @FireHydrant
inside of the channel in question.
Connecting alerts to a default Slack channel
To get started:
- Click Integrations > Slack.
- Specify the Slack channel where you want alerts to be posted when an incident is created on your alerting tool. In this example, we're notifying the #staging-alerts channel.
Routing alerts to custom Slack Channels
To get started:
- Click into the integration page for your Alerting Provider in FireHydrant
- Create an Alert Route that uses conditions to send an alert to a specific channel.
- Create additional routes to support your teams' workflows.
To learn more, read more about Alert Routes.
Opening the linked incident
When an incident is created on your alerting tool, FireHydrant's Slack bot messages the Slack channel you specified. The Slack bot asks if you'd like to declare an incident on FireHydrant, link the alert to an existing incident, or ignore the alert.When you click Open Incident , FireHydrant automatically assigns that alert as the primary alert for the incident. This means that if the incident is resolved in your alerting tool, it will automatically be resolved in FireHydrant.
Note: If you have already linked and imported your services from PagerDuty or Opsgenie into FireHydrant, the service impacted in PagerDuty or Opsgenie will auto assign that service as impacted within FireHydrant.