Adding a Slack configuration

Create a Slack configuration that stores an incoming webhook URL, channel, and message type so that alerting profiles can deliver notifications to Slack.

To add a Slack configuration, complete the following steps.

Ensure that you have the following:

  • A Slack workspace in which you can create an incoming webhook, or a webhook URL from your Slack administrator.
  • The name of the Slack channel that must receive the messages.
  • A role in Cloudera Cloud Factory that can manage configurations for the organization.
  1. In the left navigation, go to Configurations > Slack.
  2. Click Add Slack Config at the upper right of the page.
  3. In the Add Slack Configuration drawer, fill in the fields:
    1. From the Organization drop-down list, select the organization that owns the configuration. The list can be searched by typing in the box at its top.
    2. In Name, enter a descriptive name, for example demo-cluster-alerts.
    3. In Slack Webhook URL, paste the incoming webhook URL from Slack, for example https://hooks.example.com/services/<webhook-path>.
    4. In Channel, enter the channel that receives the messages, for example #cluster-alerts.
    5. From the Type drop-down list, select Alert or General.
    Figure 1. The Add Slack Configuration drawer

    The Add Slack Configuration drawer

    The following table describes the fields:

    Table 1. Slack configuration fields
    FieldDescription
    OrganizationThe organization that owns the configuration. Only alerting profiles of the same organization can use it.
    NameA name that identifies the configuration when you attach it to an alerting profile.
    Slack Webhook URLThe incoming webhook URL that Slack generates for a channel. Cloudera Cloud Factory posts messages to this address.
    ChannelThe Slack channel that receives the messages.
    TypeAlert for Kubernetes cluster alerts. General for other notifications.
    Figure 2. Selecting the type of a Slack configuration

    Selecting the type of a Slack configuration
  4. Click Add.