Slack is a cloud-based chat tool that offers a single communications platform for teams to effectively collaborate in real-time. Site24x7's integration with Slack lets you instantly share your critical Site24x7 alerts (DOWN/TROUBLE/UP) and Root Cause Analysis (RCA) report permalinks in your Slack channels. Setting up a Slack integration involves two steps: Generating a Hook URL in Slack and integrating with Site24x7.

Table of Contents

Generate Hook URL in Slack

Before you begin, make sure you're signed into your Slack team and Slack Channel that you want to show notifications in. Further, follow the steps listed below to generate the Hook URL:

    1. In the Slack App, navigate to your channel, click on the channel name. In the pop-up that opens, click on Integrations > Add an app.
    2. In the new page that opens, click on View App Directory button.
    3. You'll now be redirected to the Slack App Directory. Press the Build button listed on the top right corner of the window to start your app creation.
    4. You'll be directed to the Slack API page, where you can start creating apps using Create an app.
    5. In the Create an app pop-up that opens, click on the From Scratch option.
    6. In the new pop-up window that opens, provide the App Name and Pick a workspace to develop your app from the drop-down. Then click Create App.
    7. You'll be redirected to the Basic Information page. Navigate to Features > Incoming Webhooks. Enable the Activate Incoming Webhooks toggle button. Once done, scroll down to click the Add New Webhook to Workspace button. You'll be redirected to a new window, where you'll be asked to specify the Slack channel to which you wish to have all your Site24x7 incidents posted. Once specified, click the Allow button.

    8. Once you authorize the webhook generation, you'll be provided with a unique Webhook URL for your team. You can copy and retain this Webhook URL.
The unique WebHook URL shall be used to connect your Site24x7 account with Slack.

Integrate Slack with Site24x7

Once, you've generated a Slack WebHook URL, you must login to your Site24x7 account to complete the integration process. Follow the steps listed here:

  1. Login to Site24x7 account.
  2. Navigate to Admin > Third-Party Integration.
  3. Click the Add third-party integration button. Pick Slack from the list.
  4. Fill up the Slack Integration form to complete the integration process.
    • Integration Name: Enter the name of your integration.
    • Sender Name: Enter the name of the sender.
      You will receive messages in your Slack channel from this configured name.
    • Hook URL: Paste the copied unique Slack Webhook URL here.
    • Message Title: Use the "$ tags" to customize the message title of your Site24x7 notification. Learn more about incident parameters.
    • Select Integration level: You can post status alerts and RCA links to Slack channel from specific monitors, all monitors/monitor groups associated to selected tags or all monitors in your account.It is set to "All Monitors", by default. Hence, it translates into a Global Integration where all alarms from your Site24x7 account are pushed to Slack channel.
      For tags associated to your monitor group that have monitors in parent level and a few monitors in sub group level, alerts from only the parent monitors get logged in Slack channel.
    • Tags to Be Sent With Alerts: Select the tag keys associated with the monitor that need to be sent with the alert. When an alert is triggered, tags that match with the monitor will be included in the alert notifications. If no tags are selected, all the tags associated with the monitor will be present in the alert notifications.
    • Trigger Alerts for Monitor Status Changes: Enable or disable the toggle button to decide whether to log Down, Critical, and Trouble status alerts of monitors as messages in Slack channel.
  5. Click the Save and Test button to save the integration and to receive a test alert. Or, you can click the Save button to finish the integration.

    Once the set up process is completed, the slack integration will be listed in the Third Party Integration dashboard. You can setup multiple such Slack integrations in your Site24x7 account. 

Suspend/Activate/Delete Slack Integration

Follow the steps below to suspend an active Slack integration:

  1. Log in to Site24x7.
  2. Navigate to Admin > Third Party Integration.
    All the integrations will be listed here in the Third Party Integration dashboard.
  3. You can also initiate a Test Alert to check whether the integration is a success or has any configuration error.

  4. Click the active Slack integration that you want to suspend.
  5. Click the Suspend button listed on the top right corner of the integration window. This will stop all alerts messages/RCA links from being send to your designated Slack channel.

    If you wish to reactivate a suspended Slack integration, follow the same steps listed above; then click the Activate button listed on the top right corner of your integration window. Once reactivated, messages will be triggered in your Slack channel for any UP/DOWN/TROUBLE status alerts/RCA permalinks from Site24x7. 

    To delete a Slack integration, follow the same steps listed above; then click the Delete button listed on the top right corner of your integration window. Once deleted, the Slack integration will be terminated permanently. 
Read this article to know how to activate mobile/desktop based push notifications for messages in your Slack channel.

Receive Alerts and RCA in Slack Channel

Once the integration is completed, you'll start receiving Site24x7 incident messages and RCA permalinks on your specified Slack channel.

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.