이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 2. Integrating communications applications with the Hybrid Cloud Console
Receive event notifications in your preferred communications application by connecting the Hybrid Cloud Console with Microsoft Teams, Google Chat, or Slack.
2.1. Integrating Microsoft Teams with the Hybrid Cloud Console 링크 복사링크가 클립보드에 복사되었습니다!
You can configure the Red Hat Hybrid Cloud Console to send event notifications to all users on a new or existing channel in Microsoft Teams. The Microsoft Teams integration supports events from all services in the Hybrid Cloud Console. The Microsoft Teams integration uses incoming webhooks to receive event data.
2.1.1. Contacting support 링크 복사링크가 클립보드에 복사되었습니다!
If you have any issues with integrating the Hybrid Cloud Console with Microsoft Teams, contact Red Hat for support. To open a Red Hat support case directly from the Hybrid Cloud Console:
- Click Help (the ? icon) to open the help panel.
- Select the My support cases tab.
- Click Open a support case and add information about the issue.
Microsoft will not provide troubleshooting. The Hybrid Cloud Console integration with Microsoft Teams is fully supported by Red Hat.
2.1.2. Configuring incoming webhooks in Microsoft Teams 링크 복사링크가 클립보드에 복사되었습니다!
You can configure incoming webhooks in Microsoft Teams to receive event notifications from the Red Hat Hybrid Cloud Console in a Microsoft Teams channel.
The Microsoft Teams integration workflow now uses incoming webhooks with the Adaptive Card format. If you have an existing Microsoft Teams integration configured with the Hybrid Cloud Console, you must re-configure it using the new workflow described in this section before the end of 2025. For more information about incoming webhooks and Adaptive Cards, see Create Incoming Webhooks in the Microsoft Teams documentation.
Prerequisites
- You have administrator permissions for Microsoft Teams.
- You have Organization Administrator or Notifications administrator permissions for the Hybrid Cloud Console.
Procedure
- In Microsoft Teams, click Workflows.
- Click the Create tab.
- Click the Create from blank button to create a custom workflow.
Configure the trigger:
- Enter webhook in the search bar.
- From the Triggers list, select the trigger for When a Teams webhook request is received.
- For Who can trigger the flow, select Anyone from the drop-down list.
- Click the New step button.
Configure the action:
- Enter card in the search bar for Choose an operation.
- From the Actions list, select Post card in a chat or channel.
- For Post as, ensure Flow bot is selected.
- For Post in, select Channel. Selecting Channel reveals more options.
- For Team, select the team you want to send event notifications to.
- For Channel, select the channel you want to send event notifications to.
- For Adaptive Card, click the list to open a dialog. Select Adaptive Card in the dialog under Dynamic content.
- Click Save.
Copy the webhook URL:
- Click the trigger area (When a Teams webhook request is received) to expand the information.
- Refresh your screen if needed to build and display the HTTP POST URL.
- Copy the HTTP POST URL to configure the integration in the Hybrid Cloud Console.
2.1.3. Configuring the Microsoft Teams integration in the Red Hat Hybrid Cloud Console 링크 복사링크가 클립보드에 복사되었습니다!
After you configure Microsoft Teams for integration with the Hybrid Cloud Console, add the Microsoft Teams incoming webhook URL in the Hybrid Cloud Console so you can receive notifications about events from your Red Hat services in Microsoft Teams.
Prerequisites
You are logged in to the Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions. For more information about setting up Notifications administrator permissions, see Configure User Access to manage notifications in the notifications documentation.
NoteYou cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see Finding your login.
- You have the incoming webhook URL from Microsoft Teams.
Procedure
- In the Hybrid Cloud Console, navigate to Settings > Integrations.
- Click the Communications tab.
- Click Add integration.
- Select Microsoft Office Teams as the integration type, and then click Next.
- In the Integration name field, enter a name for your integration (for example, console-teams).
- Paste the incoming webhook URL (HTTP POST URL) that you copied from Microsoft Teams into the Endpoint URL field.
- Click Next.
Optional: Associate events with the integration. Doing this automatically creates a behavior group.
NoteYou can skip this step and associate the event types later.
- Select a product family, for example OpenShift, Red Hat Enterprise Linux, or Console.
- Select the event types you would like your integration to react to.
- Click the Integrations tab.
Click Add Integration:
- In the Integration name field, enter a name for your integration (for example, console-teams).
- Select Microsoft Teams from the Type drop-down list.
- Paste the incoming webhook URL that you copied from Microsoft Teams into the Endpoint URL field.
Click Save to enable the integration.
Your Microsoft Teams integration is now listed on the Integrations > Communications page. Under Last connection attempt, the status is Ready to show the connection can accept notifications from the console.
- To enable the integration, review the integration details and click Submit.
- Refresh the Integrations page to show the Microsoft Teams integration in the Integrations > Communications list. Under Last connection attempt, the status is Ready to show the connection can accept notifications from the Hybrid Cloud Console.
Verification
Create a test notification to confirm you have correctly connected Microsoft Teams to the Hybrid Cloud Console:
- Next to your Microsoft Teams integration on the Integrations > Communications page, click the options icon (⋮) and click Test.
- In the Integration Test screen, enter a message and click Send. If you leave the field empty, the Hybrid Cloud Console sends a default message.
- Open your Microsoft Teams channel and check for the message sent from the Hybrid Cloud Console.
- In the Hybrid Cloud Console, go to Notifications > Event Log and check that the Integration: Microsoft Teams event is listed with a green label.
2.1.4. Creating the behavior group for the Microsoft Teams integration 링크 복사링크가 클립보드에 복사되었습니다!
A behavior group defines which notifications will be sent to external services such as Microsoft Teams when a specific event is received by the notifications service. You can link events from any Red Hat Hybrid Cloud Console service to your behavior group. For more information about behavior groups, see Configuring Hybrid Cloud Console notification behavior groups.
Prerequisites
You are logged in to the Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions.
NoteYou cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see Finding your login.
- The Microsoft Teams integration is configured. For information about configuring Microsoft Teams integration, see Section 2.1.2, “Configuring incoming webhooks in Microsoft Teams”.
Procedure
- In the Hybrid Cloud Console, navigate to Settings > Notifications.
- Under Notifications, select Configure Events.
- Select the application bundle tab you want to configure event notification behavior for: Red Hat Enterprise Linux, Console, or OpenShift.
- Click the Behavior Groups tab.
- Click Create new group to open the Create behavior group wizard.
- Type a name for the behavior group and click Next.
- In the Actions and Recipients step, select Integration: Microsoft Teams from the Actions drop-down list.
- From the Recipient drop-down list, select the name of the integration you created (for example, console-teams) and click Next.
- In the Associate event types step, select one or more events for which you want to send notifications (for example, Policies: Policy triggered) and click Next.
- Review your behavior group settings and click Finish. The new behavior group appears on the Notifications > Configure Events page in the Behavior Groups tab.
Verification
-
Create an event that will trigger a Hybrid Cloud Console notification. For example, run
insights-clienton a system that will trigger a policy event. - Wait a few minutes, and then navigate to Microsoft Teams.
- Select the channel that you configured from the left menu. If the setup process succeeded, the page displays a notification from the Hybrid Cloud Console. The notification contains the name of the host that triggered the event and a link to that host, as well as the number of events and a link that opens the corresponding Hybrid Cloud Console service.
In the Hybrid Cloud Console, go to Settings > Notifications > Event Log and check for an event that shows the label Integration: Microsoft Teams.
- If the label is green, the notification succeeded.
If the label is red, verify that the incoming webhook connector was properly created in Microsoft Teams, and that the correct incoming webhook URL is added in the Hybrid Cloud Console integration configuration.
NoteSee Troubleshooting notification failures in the notifications documentation for more details.
2.2. Integrating Google Chat with the Red Hat Hybrid Cloud Console 링크 복사링크가 클립보드에 복사되었습니다!
You can configure the Red Hat Hybrid Cloud Console to send event notifications to a new or existing Google space in Google Chat. The Google Chat integration supports events from all Hybrid Cloud Console services.
The integration with the Hybrid Cloud Console notifications service uses incoming webhooks to receive event data. Each Red Hat account configures how and who can receive these events, with the ability to perform actions depending on the event type.
2.2.1. Contacting support 링크 복사링크가 클립보드에 복사되었습니다!
If you have any issues with the Hybrid Cloud Console integration with Google Chat, contact Red Hat for support. To open a Red Hat support case directly from the Hybrid Cloud Console:
- Click Help (the ? icon) to open the help panel.
- Select the My support cases tab.
- Click Open a support case and add information about the issue.
Google will not provide troubleshooting. The Hybrid Cloud Console integration with Google Chat is fully supported by Red Hat.
2.2.2. Configuring incoming webhooks in Google Chat 링크 복사링크가 클립보드에 복사되었습니다!
In Google spaces, create a new webhook to connect with the Hybrid Cloud Console.
Prerequisites
- You have a new or existing Google space in Google Chat.
Procedure
In your Google space, click the arrow on the space name to open the dropdown menu:
- Select Apps & Integrations.
- Click Webhooks.
Enter the following information in the Incoming webhooks dialog:
- Enter a name for the integration (for example, Engineering Google Chat).
- Optional: To add an avatar for the notifications, enter a URL to an image.
- Click Save to generate the webhook URL.
- Copy the webhook URL to use for configuration in the Hybrid Cloud Console.
2.2.3. Configuring the Google Chat integration in the Red Hat Hybrid Cloud Console 링크 복사링크가 클립보드에 복사되었습니다!
Create a new integration in the Hybrid Cloud Console using the webhook URL from Google Chat.
Prerequisites
You are logged in to the Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions. For more information about setting up Notifications administrator permissions, see Configure User Access to manage notifications in the notifications documentation.
NoteYou cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see Finding your login.
- You have a Google Chat incoming webhook.
Procedure
- In the Hybrid Cloud Console, navigate to Settings > Integrations.
- Select the Communications tab.
- Click Add integration.
- Select Google Chat as the integration type, and then click Next.
- In the Integration name field, enter a name for your integration (for example, console-gchat).
- Paste the incoming webhook URL that you copied from your Google space into the Endpoint URL field, and click Next.
Optional: Associate events with the integration. Doing this automatically creates a behavior group.
NoteYou can skip this step and associate the event types later.
- Select a product family, for example OpenShift, Red Hat Enterprise Linux, or Console.
- Select the event types you would like your integration to react to.
- To enable the integration, review the integration details and click Submit.
- Refresh the Integrations page to show the Google Chat integration in the Integrations > Communications list. Under Last connection attempt, the status is Ready to show the connection can accept notifications from the Hybrid Cloud Console.
Verification
Create a test notification to confirm you have successfully connected Google Chat to the Hybrid Cloud Console:
- Next to your Google Chat integration on the Integrations > Communications page, click the options icon (⋮) and click Test.
- In the Integration Test screen, enter a message and click Send. If you leave the field empty, the Hybrid Cloud Console sends a default message.
- Open your Google space and check for the message sent from the Hybrid Cloud Console.
- In the Hybrid Cloud Console, go to Notifications > Event Log and check that the Integration: Google Chat event is listed with a green label.
2.2.4. Creating the behavior group for the Google Chat integration 링크 복사링크가 클립보드에 복사되었습니다!
A behavior group defines which notifications will be sent to external services such as Google Chat when a specific event is received by the notifications service. You can link events from any Red Hat Hybrid Cloud Console service to your behavior group.
Prerequisites
You are logged in to the Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions.
NoteYou cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see Finding your login.
- You have configured the Google Chat integration.
Procedure
- In the Hybrid Cloud Console, navigate to Settings > Notifications.
- Under Notifications, select Configure Events.
- Select the application bundle tab you want to configure event notification behavior for: Red Hat Enterprise Linux, Console, or OpenShift.
- Click the Behavior Groups tab.
- Click Create new group to open the Create behavior group wizard.
- Type a name for the behavior group and click Next.
- In the Actions and Recipients step, select Integration: Google Chat from the Actions drop-down list.
- From the Recipient drop-down list, select the name of the integration you created (for example, console-gchat) and click Next.
- In the Associate event types step, select one or more events for which you want to send notifications (for example, Policies: Policy triggered) and click Next.
- Review your behavior group settings and click Finish. The new behavior group is listed on the Notifications page.
Verification
-
Create an event that will trigger a Hybrid Cloud Console notification. For example, run
insights-clienton a system that will trigger a policy event. - Wait a few minutes, and then navigate to Google Chat.
- In your Google Space, check for notifications from the Hybrid Cloud Console.
In the Hybrid Cloud Console, go to Settings > Notifications > Event Log and check for an event that shows the label Integration: Google Chat.
- If the label is green, the notification succeeded.
- If the label is red, the integration might need to be adjusted.
- If the integration is not working as expected, verify that the incoming webhook connector was properly created in Google Chat, and that the correct incoming webhook URL is added in the Hybrid Cloud Console integration configuration.
See Troubleshooting notification failures in the notifications documentation for more details.
2.3. Integrating Slack with the Hybrid Cloud Console 링크 복사링크가 클립보드에 복사되었습니다!
You can configure the Hybrid Cloud Console to send event notifications to a Slack channel or directly to a user. The Slack integration supports events from all Hybrid Cloud Console services.
The Slack integration in this example is configured for Red Hat Enterprise Linux. The integration also works with Red Hat OpenShift and Hybrid Cloud Console events.
The Slack integration uses incoming webhooks to receive event data. For more information about webhooks, see Sending messages using incoming webhooks in the Slack API documentation.
2.3.1. Contacting support 링크 복사링크가 클립보드에 복사되었습니다!
If you have any issues with the Hybrid Cloud Console integration with Slack, contact Red Hat for support. Slack will not provide troubleshooting. The Hybrid Cloud Console integration with Slack is fully supported by Red Hat.
To open a Red Hat support case directly from the Hybrid Cloud Console:
- Click Help (the ? icon) to open the help panel.
- Select the My support cases tab.
- Click Open a support case and add information about the issue.
2.3.2. Configuring incoming webhooks in Slack 링크 복사링크가 클립보드에 복사되었습니다!
To prepare Slack for integration with the Hybrid Cloud Console, you must configure incoming webhooks in Slack.
Prerequisites
- You have owner or admin permissions to the Slack instance where you want to add incoming webhooks.
- You have App Manager permissions to add Slack apps to a channel.
- You have a Slack channel or user to receive notifications.
Procedure
Create a Slack app:
- Go to the Slack API web page and click the Create your Slack app button. This opens the Create an app dialog.
- Select From scratch to use the Slack configuration UI to create your app.
Enter a name for your app and select the workspace where you want to receive notifications.
NoteIf you see a message that administrator approval is required, you can request approval in the next step.
- Click Create App to finish creating the Slack app.
Enable incoming webhooks:
- Under the Features heading in the navigation panel, click Incoming Webhooks.
- Toggle the Activate Incoming Webhooks switch to On.
- Click the Request to Add New Webhook button. If required, enter a message to your administrators to grant access to your app and click Submit Request. A success message confirms you have configured this correctly.
Create an incoming webhook:
- Under Settings in the navigation panel, click Install App.
- In the Install App section, click the Install to workspace button.
- Select the channel where you want your Slack app to post notifications, or select a user to send notifications to as direct messages.
- Click Allow to save changes.
Optional: Configure how your Hybrid Cloud Console notifications appear in Slack:
- Under Settings in the navigation panel, click Basic Information.
- Scroll down to Display Information.
- Edit your app name, description, icon, and background color as desired.
- Click Save Changes.
Copy the webhook URL:
- Under Features, click Incoming Webhooks.
- Click the Copy button next to the webhook URL. You will use the URL to set up the integration in the Hybrid Cloud Console in Section 2.3.3, “Configuring the Slack integration in the Red Hat Hybrid Cloud Console”.
Verification
- Open the Slack channel or user you selected during configuration, and check for a message confirming you have added the integration.
2.3.3. Configuring the Slack integration in the Red Hat Hybrid Cloud Console 링크 복사링크가 클립보드에 복사되었습니다!
After you have configured an incoming webhook in Slack, you can configure the Hybrid Cloud Console to send event notifications to the Slack channel or user you configured.
Prerequisites
- You are logged in to the Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions. For more information about setting up Notifications administrator permissions, see Configure User Access to manage notifications in the notifications documentation.
Procedure
If necessary, go to the Slack API web page and copy the webhook URL that you configured.
NoteSee Section 2.3.2, “Configuring incoming webhooks in Slack” for the steps to create a Slack webhook URL.
- In the Hybrid Cloud Console, navigate to Settings > Integrations.
- Select the Communications tab.
- Click Add integration.
- Select Slack as the integration type and click Next.
- Enter a name for the integration (for example, My Slack notifications).
- Paste the Slack webhook URL that you copied from Slack into the Workspace URL field and click Next.
Optional: Associate events with the integration. Doing this automatically creates a behavior group.
NoteYou can skip this step and associate the event types later.
- Select a product family, for example OpenShift, Red Hat Enterprise Linux, or Console.
- Select the event types you want your integration to react to and click Next.
- To enable the integration, review the integration details and click Submit.
- Refresh the Integrations page to show the Slack integration in the Integrations > Communications list. Under Last connection attempt, the status is Ready to show the connection can accept notifications from the Hybrid Cloud Console.
Verification
Create a test notification to confirm you have successfully connected Slack to the Hybrid Cloud Console:
- Next to your Slack integration on the Integrations > Communications page, click the options icon (⋮) and click Test.
- In the Integration Test screen, enter a message and click Send. If you leave the field empty, the Hybrid Cloud Console sends a default message.
- Open the Slack channel you configured and check for the message sent from the Hybrid Cloud Console.
- In the Hybrid Cloud Console, go to Notifications > Event Log and check that the Integration: Slack event is listed with a green label.
2.3.4. Creating the behavior group for the Slack integration 링크 복사링크가 클립보드에 복사되었습니다!
A behavior group defines which notifications will be sent to external services such as Slack when a specific event is received by the notifications service. You can link events from any Red Hat Hybrid Cloud Console service to your behavior group.
Prerequisites
You are logged in to the Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions.
NoteYou cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see Finding your login.
- You have configured the Slack integration.
Procedure
- In the Hybrid Cloud Console, navigate to Settings > Notifications.
- Under Notifications, select Configure Events.
- Select the application bundle tab you want to configure event notification behavior for: Red Hat Enterprise Linux, Console, or OpenShift.
- Click the Behavior Groups tab.
- Click Create new group to open the Create behavior group wizard.
- Enter a name for the behavior group and click Next.
- In the Actions and Recipients step, select Integration: Slack from the Actions drop-down list.
From the Recipient drop-down list, select the name of the integration you created (for example, My Slack notifications) and click Next.
- In the Associate event types step, select one or more events for which you want to send notifications (for example, Policies: Policy triggered) and click Next.
Review your behavior group settings and click Finish. The new behavior group appears on the Notifications > Configure Events page in the Behavior Groups tab.
NoteYou can create and edit multiple behavior groups to include any additional platforms that the notifications service supports.
Select Settings > Integrations and click the Communications tab. When the Slack integration is ready to send events to Slack, the Last connection attempt column shows Ready. If the notification reached Slack successfully, the Last connection attempt column shows Success.
Verification
-
Create an event that will trigger a Hybrid Cloud Console notification. For example, run
insights-clienton a system that will trigger a policy event. - Wait a few minutes, and then navigate to Slack.
- In your Slack channel, check for notifications from the Hybrid Cloud Console.
In the Hybrid Cloud Console, go to Settings > Notifications > Event Log and check for an event that shows the label Integration: Slack.
- If the label is green, the notification succeeded.
- If the label is red, the integration might need to be adjusted.
If the integration is not working as expected, verify that the incoming webhook connector was properly created in Slack, and that the correct incoming webhook URL is added in the Hybrid Cloud Console integration configuration.
NoteSee Troubleshooting notification failures in the notifications documentation for more details.