Difficulty: Beginner
Estimated Time: 10 minutes

After completing this scenario, users will be able to register a system with Red Hat Insights and resolve an Insight provided for the machine.

Concepts included in this scenario:

  • Register a system with Red Hat Insights
  • View Insights triggered for the system on cloud.redhat.com
  • Reconcile an Insight for the system
  • Validate resolution by updating system information

Example Usecase:

TBD

Author: Scott McBrien, Technical Content Manager (Red Hat)

Using Red Hat Insights [Workshop Only]

Step 1 of 6

Step 1

Registering a machine to the Red Hat Insights service

In most Red Hat Enterprise Linux 8 installations, the insights-client software will be installed by default. However, the minimal package set does not include installing the insights-client package and other versions of Red Hat Enterprise Linux, while the package is available, will likely need it installed. Install the insights-client package on the machine.

yum -y install insights-client

Next, register your system with Red Hat Insights.

insights-client --register

You successfully registered 3c7e6bd4-2673-4d67-83f6-97cd2e420503 to account 6227255.
Successfully registered host a06560c57e40
Automatic scheduling for Insights has been enabled.
Starting to collect Insights data for a06560c57e40
Uploading Insights data.
Successfully uploaded report from a06560c57e40 to account 6227255.

From the above output, you can observe that the system has been successfully registered with the Red Hat Insights service. As part of the registration, the machine also uploads a report to the Red Hat Insights service so that it may be analized for any Insights.

For future reference, make note of your system hostname.

hostname

a06560c57e40

NOTE: Your hostname will be different than the one listed in the output above

At any time in the future, you can get information about Insights registration by using the --status option to insights-client.

insights-client --status

System is registered locally via .registered file. Registered at 2019-08-14T14:12:37.638768
Insights API confirms registration.