Chapter 2. Configuring notifications and integrations for Insights tasks events
Chapter 2. Configuring notifications and integrations for Insights tasks events You can configure the notifications service on the Red Hat Hybrid Cloud Console to send notifications whenever the Red Hat Insights tasks service detects certain events that occur during the start and execution of a task. Using the notifications service can provide an alternative to having to continually check the tasks Activity tab for events related to a task's status. You can find the notifications service settings at Red Hat Hybrid Cloud Console > Settings > Notifications . When you begin to think about configuring events for which you want notifications for Insights tasks, it is important to understand the difference between an Insights task, an Insights task execution, and an Insights task job, and how they work to accomplish a specific task. Insights task: a predefined script or playbook that is designed to accomplish a specific task. Insights task execution: an instance of running that script or playbook on one or more systems. Insights task job: the execution of a specific task on a specific system. For example, you can configure the notifications service to automatically send an email message when an Insights task starts, completes, or fails. As another example, you can configure the notifications service to automatically send an email message when an Insights task job starts or completes. In addition to sending email messages, you can configure the notifications service to send event data in other ways: Using an authenticated client to query Red Hat Insights APIs for event data Using webhooks to send events to third-party applications that accept inbound requests Integrating notifications with applications such as Splunk to route tasks events to the application dashboard, or to your preferred messaging application such as Slack or Microsoft Teams. Configuring the notifications service to inform members of your Red Hat account of tasks events requires three main steps: An Organization Administrator creates a User Access group with the Notifications administrator role, and then adds account members to the group. A Notifications administrator sets up behavior groups for events in the notifications service. Behavior groups specify the delivery method for each notification. The Notifications administrator selects the event types to make available for the specified group of users. For example, a behavior group can specify whether to send email notifications to all users, or just to Organization Administrators. Members on the account who want to receive email notifications about events must set their user preferences so that they receive individual emails for each event. Note You must be a Notifications administrator to view configurable tasks events. You can learn more about events and notifications by using resources in the following Additional Resources section. ADDITIONAL RESOURCES See Configuring notifications on the Red Hat Hybrid Cloud Console for more information about how to set up notifications for tasks events.