Chapter 14. Monitoring hosts by using Red Hat Lightspeed in Red Hat Hybrid Cloud Console
You can use the Red Hat Lightspeed advisor service in the Red Hat Hybrid Cloud Console to assess system health on hosts running Red Hat Enterprise Linux. You can use the Red Hat Lightspeed dashboard in the Red Hat Hybrid Cloud Console to quickly analyze recommendations for remediation, vulnerabilities, and more.
14.1. Prerequisites for using Red Hat Lightspeed in Red Hat Hybrid Cloud Console Copy linkLink copied to clipboard!
Your environment must meet certain requirements before you can use Red Hat Lightspeed in the Red Hat Hybrid Cloud Console.
- You have configured hosted Red Hat Lightspeed on your Satellite Server, including data control settings. For more information, see Configuring Satellite for Red Hat Lightspeed analytics in Administering Red Hat Satellite.
- Install and configure the Insights client on hosts during host registration or provisioning. For more information, see Section 6.2, “Registering hosts by using global registration”.
- For hosts already registered to Satellite, install and configure the Insights client on your hosts by using an Ansible role. For more information, see Section 14.2, “Deploying Insights client on registered hosts”.
- If you register your host to a new Satellite Server, reregister the host to Red Hat Lightspeed to avoid creating duplicate entries. For more information, see Re-registering your system with Red Hat Lightspeed.
-
You can change the schedule for running the Insights client by configuring
insights-client.timeron a host. For more information, see Changing the insights-client schedule in the Client Configuration Guide for Red Hat Lightspeed.
14.2. Deploying Insights client on registered hosts Copy linkLink copied to clipboard!
You can use the RedHatInsights.insights-client Ansible role to automate the installation of the Insights client on hosts and initiate the host data upload.
Prerequisites
- Remote execution with the Ansible provider is available.
Ensure that the following repositories are enabled on your host:
-
On Red Hat Enterprise Linux 10:
rhel-10-for-x86_64-baseos-rpmsandrhel-10-for-x86_64-appstream-rpms -
On Red Hat Enterprise Linux 9:
rhel-9-for-x86_64-baseos-rpmsandrhel-9-for-x86_64-appstream-rpms -
On Red Hat Enterprise Linux 8:
rhel-8-for-x86_64-baseos-rpmsandrhel-8-for-x86_64-appstream-rpms -
On Red Hat Enterprise Linux 7:
rhel-7-server-rpms
-
On Red Hat Enterprise Linux 10:
Procedure
- Add the RedHatInsights.insights-client role to the hosts. For more information, see Using Ansible roles to automate repetitive tasks on hosts in Managing configurations by using Ansible integration.
- To run the RedHatInsights.insights-client role on your host, navigate to Hosts > All Hosts and click the name of the host that you want to use.
- On the host details page, expand the Schedule a job dropdown menu.
- Click Run Ansible roles.
14.3. Synchronizing Red Hat Lightspeed recommendations for hosts Copy linkLink copied to clipboard!
You can enable automatic synchronization of the recommendations from Red Hat Hybrid Cloud Console that occurs daily by default. If you leave the setting disabled, you can synchronize the recommendations manually.
Procedure
To get the recommendations automatically:
- In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
- Enable Sync Automatically.
To get the recommendations manually:
- In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
- From the options menu, select Sync Recommendations.
14.4. Examining recommendations for hosts Copy linkLink copied to clipboard!
You can view Red Hat Lightspeed recommendations for Red Hat Enterprise Linux hosts in the Satellite web UI. Use the list to identify configuration issues and prioritize which issues to remediate.
Procedure
- In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
- From the menu next to the Remediate button, select View in Red Hat Lightspeed to navigate to the recommendations page in the Red Hat Hybrid Cloud Console.
Additional resources
14.5. Remediating issues based on Red Hat Lightspeed recommendations Copy linkLink copied to clipboard!
You can remediate issues on RHEL hosts based on Red Hat Lightspeed recommendations. You can only remediate recommendations that have an associated playbook.
Procedure
- In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
- Select the recommendations that you want to remediate.
- Click Remediate.
- In the Remediation summary window, you can select the Resolutions to apply if there are multiple options. Use the Filter field to search for specific keywords.
- Click Remediate.
Verification
- On the Jobs page, you can view the progress of your remediation.
- Verify that the remediation job completed successfully.
14.6. Exclusion of hosts from Red Hat Lightspeed analytics Copy linkLink copied to clipboard!
You can exclude hosts from Red Hat Lightspeed analytics by using host parameters.
host_registration_insights-
Setting this parameter to
falsewill prevent Satellite Server from forwarding data from the Insights client on hosts to Red Hat Lightspeed services. The Insights client will not be installed on newly registered hosts. host_registration_insights_inventorySetting this parameter to
falsewill exclude the host from the Satellite host inventory that is uploaded to the Red Hat Hybrid Cloud Console.If you exclude a host that is already reported on the Red Hat Hybrid Cloud Console, it will be still removed automatically from the inventory. However, this process can take some time to complete.
You can set these parameters at any level. For more information, see Appendix D, Host parameter hierarchy.
14.7. Troubleshooting Red Hat Lightspeed in Red Hat Hybrid Cloud Console Copy linkLink copied to clipboard!
You can troubleshoot issues with Red Hat Lightspeed in the Red Hat Hybrid Cloud Console by checking logs and certificates.
To troubleshoot hosts monitoring, you can try the following approaches:
-
You can find the logs in the
/var/log/foreman/production.logfile. - If you have problems connecting to Red Hat Lightspeed, ensure that your certificates are up-to-date. Refresh your subscription manifest to update your certificates.