In Rancher 2.5, the notifier application was improved. There are now two ways to enable notifiers. The older way is documented in this section, and the new application for notifiers is documented here.

Notifiers are services that inform you of alert events. You can configure notifiers to send alert notifications to staff best suited to take corrective action.

Rancher integrates with a variety of popular IT services, including:

  • Slack: Send alert notifications to your Slack channels.
  • Email: Choose email recipients for alert notifications.
  • PagerDuty: Route notifications to staff by phone, SMS, or personal email.
  • WebHooks: Update a webpage with alert notifications.
  • WeChat: Send alert notifications to your Enterprise WeChat contacts.

This section covers the following topics:

Roles-based Access Control for Notifiers

Notifiers are configured at the cluster level. This model ensures that only cluster owners need to configure notifiers, leaving project owners to simply configure alerts in the scope of their projects. You don’t need to dispense privileges like SMTP server access or cloud account access.

Adding Notifiers

Set up a notifier so that you can begin configuring and sending alerts.

  1. From the Global View, open the cluster that you want to add a notifier.

  2. From the main menu, select Tools > Notifiers. Then click Add Notifier.

  3. Select the service you want to use as your notifier, and then fill out the form.

    1. Enter a Name for the notifier.
    2. From Slack, create a webhook. For instructions, see the Slack Documentation.
    3. From Rancher, enter your Slack webhook URL.
    4. Enter the name of the channel that you want to send alert notifications in the following format: #<channelname>.

      Both public and private channels are supported.

    5. Click Test. If the test is successful, the Slack channel you’re configuring for the notifier outputs Slack setting validated.

    1. Enter a Name for the notifier.
    2. In the Sender field, enter an email address available on your mail server that you want to send the notification.
    3. In the Host field, enter the IP address or hostname for your SMTP server. Example:
    4. In the Port field, enter the port used for email. Typically, TLS uses 587 and SSL uses 465. If you’re using TLS, make sure Use TLS is selected.
    5. Enter a Username and Password that authenticate with the SMTP server.
    6. In the Default Recipient field, enter the email address that you want to receive the notification.
    7. Click Test. If the test is successful, Rancher prints settings validated and you receive a test notification email.
    1. Enter a Name for the notifier.
    2. From PagerDuty, create a Prometheus integration. For instructions, see the PagerDuty Documentation.
    3. From PagerDuty, copy the integration’s Integration Key.
    4. From Rancher, enter the key in the Service Key field.
    5. Click Test. If the test is successful, your PagerDuty endpoint outputs PagerDuty setting validated.
    1. Enter a Name for the notifier.
    2. Using the app of your choice, create a webhook URL.
    3. Enter your webhook URL.
    4. Click Test. If the test is successful, the URL you’re configuring as a notifier outputs Webhook setting validated.

    Available as of v2.2.0

    1. Enter a Name for the notifier.
    2. In the Corporation ID field, enter the “EnterpriseID” of your corporation, you could get it from Profile page.
    3. From Enterprise WeChat, create an application in the Application page, and then enter the “AgentId” and “Secret” of this application to the Application Agent ID and Application Secret fields.
    4. Select the Recipient Type and then enter a corresponding id to Default Recipient field, for example, the party id, tag id or user account that you want to receive the notification. You could get contact information from Contacts page.

  4. Available as of v2.3.0 - Select Enable for Send Resolved Alerts if you wish to notify about resolved alerts.

  5. Click Add to complete adding the notifier.

Result: Your notifier is added to Rancher.

Managing Notifiers

After you set up notifiers, you can manage them. From the Global view, open the cluster that you want to manage your notifiers. Select Tools > Notifiers. You can:

  • Edit their settings that you configured during their initial setup.
  • Clone them, to quickly setup slightly different notifiers.
  • Delete them when they’re no longer necessary.

Example Payload for a Webhook Alert Notifier

  "receiver": "c-2a3bc:kube-components-alert",
  "status": "firing",
  "alerts": [
      "status": "firing",
      "labels": {
        "alert_name": "Scheduler is unavailable",
        "alert_type": "systemService",
        "cluster_name": "mycluster (ID: c-2a3bc)",
        "component_name": "scheduler",
        "group_id": "c-2a3bc:kube-components-alert",
        "logs": "Get dial tcp connect: connection refused",
        "rule_id": "c-2a3bc:kube-components-alert_scheduler-system-service",
        "severity": "critical"
      "annotations": {},
      "startsAt": "2020-01-30T19:18:13.321684733Z",
      "endsAt": "0001-01-01T00:00:00Z",
      "generatorURL": ""
  "groupLabels": {
    "component_name": "scheduler",
    "rule_id": "c-2a3bc:kube-components-alert_scheduler-system-service"
  "commonLabels": {
    "alert_name": "Scheduler is unavailable",
    "alert_type": "systemService",
    "cluster_name": "mycluster (ID: c-2a3bc)"

What’s Next?

After creating a notifier, set up alerts to receive notifications of Rancher system events.