블로그 구독

We are excited to announce an integration between Red Hat Insights and Slack is now available as Service Preview. This new communication channel facilitates initiatives to optimize IT operations (ITOps) and development operations (DevOps) by providing a Chat Operations (ChatOps) component to the Hybrid Cloud Console.

Slack is a messaging app for businesses that allows your teams to collaborate on channels across devices. With Slack apps and integration capabilities, third-party applications can forward events to a specific channel, group or user within Slack. 

Insights continuously analyzes platforms and applications to help predict risk, recommend actions and track costs so enterprises can better manage their hybrid cloud environments. Findings from the analysis can trigger Insights events that are used to perform actions, such as sending emails or forwarding messages to third-party integrations (e.g. Splunk, ServiceNow and now Slack). Additional details on the integration capabilities of Insights are summarized in this overview.

This article introduces and describes how to get Insights findings forwarded as Slack messages  on a defined channel. Every time Insights triggers an event, it uses the integration functionality to forward the event and its data to a Slack receiver in charge of posting the message to the appropriate channel.

Red Hat Insights integration with Slack

The Insights integration with Slack is very similar to other integrations. It consists of posting an HTTP POST request to a receiver endpoint (also called webhook) configured on your Slack instance. The request contains a JSON payload body that includes all relevant Insights data about the event. The data varies depending on the source application that triggers the event.

The steps required to enable such an Incoming Webhook in Slack are described in the Slack documentation. Once available, the Slack endpoint is used as part of the Integrations and Notifications setup in your Insights account. An end-to-end example of all steps is provided as a guide in the Insights product documentation.

Note that Slack integrations can be used in conjunction with other actions like email notifications and/or integrations to third-party applications via webhook or bespoke third-party integrations.

What does a Slack notification message from Red Hat Insights look like?

The Slack integration forwards simple messages to the defined channel for each event triggered according to your account configuration. In the example below, our rhel8desktop system is analyzed, and causes the Advisor, Drift and Policies applications to trigger events. Those events are forwarded to the configured Insights Incoming Webhook application in Slack, and messages are displayed in the defined channel.

A screenshot of an example of some Red Hat Insights alerts being displayed in Slack

The message contains clickable links that redirect to the inventory system page—or the application that triggered the event(s) —on the Red Hat Hybrid Cloud Console. Additional details about the findings can be found by clicking on the links provided in the message.

Note that the content of the message is very succinct and does not show any compromising information about your systems. Given the sensitive nature of system data (e.g., any vulnerabilities that are detected), further details must be accessed directly within the Hybrid Cloud Console.

Getting started and follow-up

You can enable the Service Preview feature from the Hybrid Cloud Console settings (the gear icon) by switching to the Beta view. To get you started, our product documentation describes the steps required to configure your Incoming Webhook in Slack and your Hybrid Cloud Console notifications settings, but here’s a quick list:

  1. Configure an Incoming Webhook application in Slack and select the channel you want to forward events to—this will generate a URL that you will need for the next step.
  2. Configure a new integration endpoint in the Hybrid Cloud Console settings.
  3. Use this new integration in a new or existing notifications Behavior Group.
  4. If new, assign the Behavior Group to the events you want to forward to Slack.

That’s it! From now on, triggered events will be forwarded to the Slack channel you defined in the first step.

We recently hosted a Red Hat webinar covering Insights and its integration capabilities. It is now available on demand: Integrate system data and Insights knowledge into your existing tools and processes.

We continuously look for feedback to improve our products. If you have suggestions or questions about Red Hat Insights integrations, feel free to reach out to us using the Red Hat Customer Portal feedback form.


저자 소개

Jerome Marc is a Red Hat Sr. Principal Product Manager with over 15 years of international experience in the software industry spanning product management and product marketing, software lifecycle management, enterprise-level application design and delivery, and solution sales.

Read full bio

채널별 검색

automation icon

오토메이션

기술, 팀, 환경을 포괄하는 자동화 플랫폼에 대한 최신 정보

AI icon

인공지능

고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트

cloud services icon

클라우드 서비스

관리형 클라우드 서비스 포트폴리오에 대해 더 보기

security icon

보안

환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보

edge icon

엣지 컴퓨팅

엣지에서의 운영을 단순화하는 플랫폼 업데이트

Infrastructure icon

인프라

세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보

application development icon

애플리케이션

복잡한 애플리케이션에 대한 솔루션 더 보기

Original series icon

오리지널 쇼

엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리