Enabling Notifications for All Channels

Setup SMTP Notifications

  1. Create ad-notification YAML to edit and update details
Bash
Copy
  1. Add or modify the following details as per your environment:
YAML
Copy

Configure Pulse Notifications

  1. Go to the CLI command and type the command
Bash
Copy
  1. Add the JODA timeline value here, use this link to know the right value based on your timezone.
Bash
Copy
  1. Select the required additional metric groups that you want to enable. Use the arrows to move and space to select the metric group. Example: To select ntpd or chrony here use the space key in your keyboard.
Bash
Copy
  1. You are now prompted to select the notifications you would like to enable. Use the arrows to move and space to select the notifications type. Each notification requirements has been shared section Notification Channel Requirements
Bash
Copy
  1. Depending on the above selected options you can provide required default options such as default slack webbook URL or default receiver mail distribution list.
  2. Select default snooze and other threshold options.
  3. Enable the notifications for the cluster in the alert types.
  4. Once configure setup is complete restart the following components.
Bash
Copy
  1. Perform a notification test by selecting respective notification channel in Pulse UI

Notification Channel Requirements

Email

As updated above in the SETUP SMTP notifications, the following details are required to be updated in the ad-notifications yaml.

YAML
Copy
Bash
Copy

Slack

CLI will prompt the following details to configure the Slack notifications.

Configuration EntryExample
Enter Slack Default Incoming Web Hook URL'sAdd Webhook URL (comma separated multiple URLs are allowed)
Enter Slack Default Snooze Intervals in Secs0
Enter Slack MAX Slack message Threshold1
Bash
Copy

PagerDuty Notifications

Enter the routing key obtained from PagerDuty.

Bash
Copy

Telegram

  1. Enter the default BotToken from Telegram.
  2. Enter the default ChatIds from Telegram. You can enter multiple ChatIds separated by a comma.
Bash
Copy

Line

Enter the API Keys obtained from Line

Bash
Copy

ServiceNow

  1. Enter the ServiceNow Table Names; you can enter multiple ServiceNow Table Names separated by commas.
  2. Enter the BearerToken that you received from ServiceNow.
  3. Enter the ServiceNow-provided Caller ID.
Bash
Copy

Webhooks

Webhooks are automated messages sent from the application about incidents. It contains tags that can be added for the incidents as displayed in the following image.

CLI will prompt the following details to configure the Webhook notifications.

Configuration EntryExample
Enter Webhook Default Web Hook URLAdd Webhook URL (comma separated multiple URLs are allowed)
Enter Webhook Default Snooze Intervals in Secs0
Enter Webhook Max message Threshold1
Bash
Copy

Webhook Notifications

Bash
Copy

Actions

Bash
Copy

Opsgenie

Enter the API key obtained from Opsgenie

Bash
Copy

File Log

All the raised incidents are recorded in the file logs.

1.Save the notifications as a log files on your server. Perfect for individuals or organizations for better control.

  1. Enter the Log file Name and Directory.
  2. Rolling Files Size supports automatic log file rollover. This means that a log file of a certain size shuts its existing collection of log files and opens new log files.
  3. Enter the Index of the log file.
Bash
Copy

Hangouts

CLI will prompt the following details to configure the Hangout notifications.

Configuration EntryExample
Enter Hangouts Chatroom Web Hook URLAdd webhook URL (comma separated multiple URLs are allowed))
Enter Slack Default Snooze Intervals in Secs0
Enter Hangouts Max message Threshold

1

Note Ensure the value is not 0 as this will prevent the messages from being sent.

Bash
Copy

Jira

  1. Issue Types allowed by the Jira Plugin are: Bug, Story, and Task.
  2. Alert Snooze Manager - The notification sender communicates with this actor to determine whether or not to transmit an alert. It manages the alert incident count and snoozes the wait duration.
  3. Enter the URL you got from Jira.
  4. Enter the Project key.
  5. Enter your User Name.
  6. Enter the user's Jira token.
  7. Enter Jira as a priority.
  8. Add the Jira Label.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard