Subscribe to the feed

Red Hat Insights is a hosted service that analyzes applications and platforms to predict risk and recommend detailed remediation steps. Insights also has the ability to remediate problems automatically with a push of a button. 

Red Hat Satellite manages Red Hat Enterprise Linux (RHEL) environments on-premises and in the cloud, helping to ensure that security is up to date while allowing businesses to manage the lifecycle of their hosts with precision. 

Satellite allows synchronizing the inventory of its registered hosts with Insights so that the Insights Advisor service can provide security and performance recommendations to the operator and push-button remediation from the hybrid cloud console at console.redhat.com. 

Here’s how

Here are the main steps required to integrate Insights Advisor into Satellite. 

  1. Configure Red Hat Connector in Satellite.

  2. Install and run insights client on your RHEL hosts.

  3. Automatically upload your inventory to Insights.

  4. View results in the Red Hat Hybrid Cloud Console or synchronize Insights Advisor results to Satellite.

Configure Red Hat Connector in Satellite

On the Red Hat Satellite Server, run the following command to enable the configuration of the Red Hat Connector.

satellite-installer --foreman-proxy-plugin-remote-execution-ssh-install-key true

Here’s the operation in action.

Enable the configuration of the Red Hat Connector

Next, navigate to Configure -> Inventory Upload.

Navigate to Configure -> Inventory Upload.

Click on Configure Cloud Connector.

Click on Configure Cloud Connector Notice that you can configure the amount of information you’d like to send to Insights.

Configure the amount of information you’d like to send to Insights

Install and run Insights client on your RHEL hosts

Navigate to Hosts -> Register Host

Navigate to Hosts -> Register Host

 

Perform the following steps:

  1. Select the desired organization.

  2. Select the desired location.

  3. If you have configured your SSL certificates, you can skip this step. Otherwise, make sure this box is checked.

  4. Finally, click the advanced tab.

Four steps to register a host On the advanced tab, perform the following steps:

  1. In the Setup REX dropdown, select Inherit from host parameter (yes).

  2. In the Setup Insights dropdown, select Inherit from host parameter (yes).

  3. Accept the default token lifetime parameter of 4 hours. This parameter specifies the duration that the registration token is valid.

  4. Select the appropriate activation key. For more information, please refer to Red Hat Satellite documentation.

  5. Check the Ignore errors checkbox.

  6. Check the Force checkbox.

  7. Finally, click Generate.

Advanced Tab Once you click Generate, a command will be generated for you to run on your host. Click the handy clipboard icon to copy the command.

Click the handy clipboard icon to copy the command. Here’s what the output might look like.

Here’s what the output might look like.

Automatically upload your inventory to Insights

Technically speaking, there is nothing to do here. However, the synchronization only occurs in the evening every 24 hours. For the purposes of this blog, we’ll manually force a synchronization. 

To force inventory synchronization to Insights, go to the Configure -> Inventory upload and run the following:

  1. Click on Generating.

  2. Click on Restart.

Go to the Configure -> Inventory upload

View results in the Hybrid Cloud Console or synchronize Insights Advisor results to Satellite

Log into Hybrid Cloud Console and navigate to the Advisor service following these steps:

  1. Click on All apps and services.

  2. Click on Advisor in the drop-down menu.

Log into Hybrid Cloud Console and navigate to the Advisor service This will take you to the Advisor recommendations page where you can view recommendations for securing and optimizing your hosts.

This will take you to the Advisor recommendations page

To view these recommendations in Satellite, go back to your Satellite web interface and navigate to Configure -> Insights menu. 

To view these recommendations in Satellite, go back to your Satellite web interface and navigate to Configure -> Insights menu.

Normally, the synchronization of Advisor recommendations occurs once every 24 hours. We’ll force a synchronization the following way:

  1. Click on the “burger stack” menu.

  2. Click on Sync recommendations.

Force a synchronization

When the synchronization is complete, you will be able to view the Advisor recommendations.

When the synchronization is complete, you will be able to view the Advisor recommendations.

Depending on the type of recommendation, the remediation may be manual or automatic with an Ansible Playbook. If the remediation has an Ansible Playbook, you can remediate it from the Hybrid Cloud Console or Satellite with a push of a button.

Why would you do this?

Depending on your expertise, it may require a lot of time to determine if your hosts can be made more secure or to optimize their performance. Furthermore, the actual operations to optimize and secure hosts can be laborious, especially if you have to perform the optimization on multiple hosts. 

As I’ve just shown, Insights and Satellite can dramatically reduce the time and effort required to secure and optimize your entire RHEL infrastructure. 

Learn more

To learn more about Satellite and Insights, please visit the following links.


About the author

As a Senior Principal Technical Marketing Manager in the Red Hat Enterprise Linux business unit, Matthew Yee is here to help everyone understand what our products do. He joined Red Hat in 2021 and is based in Vancouver, Canada.

Read full bio
UI_Icon-Red_Hat-Close-A-Black-RGB

Browse by channel

automation icon

Automation

The latest on IT automation for tech, teams, and environments

AI icon

Artificial intelligence

Updates on the platforms that free customers to run AI workloads anywhere

open hybrid cloud icon

Open hybrid cloud

Explore how we build a more flexible future with hybrid cloud

security icon

Security

The latest on how we reduce risks across environments and technologies

edge icon

Edge computing

Updates on the platforms that simplify operations at the edge

Infrastructure icon

Infrastructure

The latest on the world’s leading enterprise Linux platform

application development icon

Applications

Inside our solutions to the toughest application challenges

Original series icon

Original shows

Entertaining stories from the makers and leaders in enterprise tech