Paging with FireHydrant's Slack bot

There are certain scenarios where you may want to page someone directly from Slack. You may want to bring them into an existing incident so they can help triage, as an example.

With FireHydrant's Slack integration, you can page teams based on the services they own. Services that are linked to an alerting provider such as PagerDuty will have a new incident created when the page command is ran, alerting whoever is on call.

Get started with PagerDuty

To use this integration, you'll need to make sure your services are linked to PagerDuty services appropriately. To check, you can visit the service page in FireHydrant.dummy_staging_service.pngIf you have a linked service, great! If not, you can link services to PagerDuty by following this guide.

Default User Email

You'll need to make sure you assign a default user email in your PagerDuty connection in order for FireHydrant to send requests on your behalf. This is a simple text field that must include an email for any user in your PagerDuty account. To configure it, click Configure Integration on the connection on the integrations page.

For more information on configuring PagerDuty, see this article

Teams and Services

FireHydrant allows you to map services to the team(s) that own them. In order for the paging functionality to work, you'll need to map services that have been imported / linked to the appropriate team in FireHydrant.

Visit the teams page in FireHydrant to create or modify a team, where you can then add the services you'd like to create alerts on when running the command:

/firehydrant page team
Note: Using /firehydrant page team will send a page to all services associated with this team.

When editing or creating a team, you'll see a section where you can list services that the team owns. In this list, be sure to include the services you want receiving PagerDuty notifications.services_team_owns.png

At the top of the team details page, you'll see the identifier you can use when paging a team from Slack.

teamidentifier.png

This identifier can then be used in Slack to page a team:

/firehydrant page team dalmatian-catchers
Note: You can change the identifier (called a slug) on the team edit page.

Once you've mapped services to a team, you can start paging the team from the Slack integration.

Paging the team

To page a team, run:

/firehydrant page team [team]
Note: Using /firehydrant page team will send a page to all services associated with this team.

To include a custom incident title, you can add it as additional arguments:

/firehydrant page team dalcats Hey I need some help here

If you can't remember the team identifier, run:

/firehydrant page team

To receive a dropdown list of options for the team in Slack:

Note: You cannot include an incident title when using the dropdown functionality for a new alert.
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

Register your product
You can get support that’s tailored to you, owner exclusives and more
Our helpline hours:
8:00am - 8:00pm CST Monday to Friday; 9:00am - 6:00pm CST Saturday
Follow us on Twitter
Get the latest news and updates first