Este contenido no está disponible en el idioma seleccionado.
Chapter 15. Monitoring hosts by using Red Hat Lightspeed in Satellite
You can use local services of Red Hat Lightspeed in Satellite to assess system health on hosts running Red Hat Enterprise Linux without connecting to the Red Hat Hybrid Cloud Console. Red Hat Lightspeed in Satellite provides advisor recommendations and vulnerability reports.
15.1. Red Hat Lightspeed in Satellite overview Copiar enlaceEnlace copiado en el portapapeles!
When you use Red Hat Lightspeed in Satellite, the Insights services run locally on your Satellite Server without connecting to the Red Hat Hybrid Cloud Console.
If you use Red Hat Lightspeed in Satellite:
- The Red Hat Lightspeed services run locally on your Satellite Server.
- Satellite only communicates with the locally running services of Red Hat Lightspeed in Satellite.
- Satellite does not send any reports to the Red Hat Hybrid Cloud Console.
- Satellite does not forward any data through the Insights client to the Red Hat Hybrid Cloud Console.
- You cannot use any of the hosted services on the Red Hat Hybrid Cloud Console.
15.2. Prerequisites for using Red Hat Lightspeed in Satellite Copiar enlaceEnlace copiado en el portapapeles!
Your environment must meet certain requirements before you can use Red Hat Lightspeed in Satellite.
- You have installed Red Hat Lightspeed in Satellite on your Satellite Server. For more information, see Installing and configuring Red Hat Lightspeed in Satellite in Installing Satellite Server in a disconnected network environment.
- 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 15.3, “Deploying Insights client on registered hosts”.
-
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.
15.3. Deploying Insights client on registered hosts Copiar enlaceEnlace copiado en el portapapeles!
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.
15.4. Examining recommendations for hosts Copiar enlaceEnlace copiado en el portapapeles!
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.
Prerequisites
-
Your Satellite account has a role that grants the
view_foreman_rh_cloud,view_insights_hits, andview_advisorpermissions. You can get these permissions with theForemanRhCloud Read Onlybuilt-in role.
Procedure
In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
By default, Satellite web UI only displays recommendations enabled for the organization. To view disabled recommendations, update the recommendation filter to include disabled recommendations.
- Click the arrow next to the recommendation to expand it.
Click the name of the recommendation to view full details and affected hosts.
If the recommendation is disabled for the organization, you might see the reason for disablement and the date thereof under the Recommendation is disabled section.
If the recommendation is disabled for any hosts, you can inspect the reason for disablement and the date thereof under the Recommendation is disabled for some systems section, by clicking View systems.
15.5. Remediating issues based on Red Hat Lightspeed recommendations Copiar enlaceEnlace copiado en el portapapeles!
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.
- Click the name of the recommendation to view the recommendation details.
- Select the affected hosts 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.
15.6. Disabling recommendations in Satellite Copiar enlaceEnlace copiado en el portapapeles!
You can disable recommendations per organization or per host. Satellite does not show disabled recommendations in dashboards or reports.
Prerequisites
-
Your Satellite account has a role that grants the following permissions:
view_foreman_rh_cloud,view_insights_hits,view_advisor, andedit_advisor. You can get these permissions with theForemanRhCloudbuilt-in role. - An organization and location are selected in the top bar of the Satellite web UI.
Procedure
- In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
Disable the recommendation:
To disable the recommendation for an organization:
- Click the recommendation menu icon next to the recommendation you want to disable.
- Select Disable recommendation.
- Optional: Enter a justification for disabling the recommendation.
- Click Save.
To disable the recommendation for a host:
- Click the name of the recommendation to view affected hosts.
- Click the host menu icon next to the host for which you want to disable the recommendation.
- Select Disable recommendation for system.
- Optional: Enter a justification for disabling the recommendation.
- Click Save.
15.7. Enabling recommendations in Satellite Copiar enlaceEnlace copiado en el portapapeles!
If you have previously disabled recommendations, you can re-enable them per organization or per host.
Prerequisites
-
Your Satellite account has a role that grants the following permissions:
view_foreman_rh_cloud,view_insights_hits,view_advisor, andedit_advisor. You can get these permissions with theForemanRhCloudbuilt-in role. - An organization and location are selected in the top bar of the Satellite web UI.
Procedure
- In the Satellite web UI, navigate to Red Hat Lightspeed > Recommendations.
Enable the recommendation:
To enable the recommendation for an organization:
- Filter recommendations to include disabled recommendations.
- Click the recommendation menu icon next to the recommendation you want to re-enable.
- Select Enable recommendation.
To enable the recommendation for a host:
- Click the name of the recommendation to view recommendation details.
- Under the Recommendation is disabled for some systems section, click View systems.
- Click Enable in the row next to the host for which you want to re-enable the recommendation.
15.8. Examining vulnerability of hosts Copiar enlaceEnlace copiado en el portapapeles!
You can view Common Vulnerabilities and Exposures (CVE) from Red Hat Lightspeed vulnerability service in Satellite. You can examine how the CVEs affect your hosts.
Prerequisites
- You have installed Red Hat Lightspeed in Satellite.
-
Your Satellite account has a role that grants the
view_foreman_rh_cloud,view_insights_hits, andview_vulnerabilitypermissions. You can get these permissions with theForemanRhCloud Read Onlybuilt-in role.
Procedure
- In the Satellite web UI, navigate to Red Hat Lightspeed > Vulnerability.
- In the CVE ID column, click the ID of the vulnerability to see details.
15.9. Disabling vulnerability analysis on hosts Copiar enlaceEnlace copiado en el portapapeles!
If you do not require vulnerability analysis for some hosts, you can disable it on those hosts.
Prerequisites
- You are using Red Hat Lightspeed in Satellite.
-
Your Satellite account has a role that grants the following permissions:
view_foreman_rh_cloud,view_vulnerability, andedit_vulnerability. You can get these permissions with theForemanRhCloudbuilt-in role. -
Your Satellite account has a role that grants the
view_hostspermission. You can get this permission with theView hostsbuilt-in role.
Procedure
- In the Satellite web UI, navigate to Hosts > All Hosts.
Disable vulnerability analysis.
To disable vulnerability analysis on hosts in bulk:
- Select the hosts for which you want to disable vulnerability analysis.
- Click the host table menu icon.
- Select Manage vulnerability analysis > Disable.
To disable vulnerability analysis on a single host:
- Click the host menu icon in the row of the host for which you want to disable vulnerability analysis.
- Select Disable vulnerability analysis.
Verification
- The Total CVEs column shows Analysis disabled for hosts with vulnerability analysis disabled. This column is hidden by default. You can show it by clicking Manage columns and selecting Total CVEs.
15.10. Enabling vulnerability analysis on hosts Copiar enlaceEnlace copiado en el portapapeles!
If you have previously disabled vulnerability analysis on some hosts, you can re-enable it.
Prerequisites
- You are using Red Hat Lightspeed in Satellite.
-
Your Satellite account has a role that grants the following permissions:
view_foreman_rh_cloud,view_vulnerability, andedit_vulnerability. You can get these permissions with theForemanRhCloudbuilt-in role. -
Your Satellite account has a role that grants the
view_hostspermission. You can get this permission with theView hostsbuilt-in role.
Procedure
- In the Satellite web UI, navigate to Hosts > All Hosts.
Enable vulnerability analysis.
To enable vulnerability analysis on hosts in bulk:
- Select the hosts for which you want to enable vulnerability analysis.
- Click the host table menu icon.
- Select Manage vulnerability analysis > Enable.
To enable vulnerability analysis on a single host:
- Click the host menu icon in the row of the host for which you want to enable vulnerability analysis.
- Select Enable vulnerability analysis.
Verification
- The Total CVEs column shows a count of CVEs for hosts with vulnerability analysis enabled. This column is hidden by default. You can show it by clicking Manage columns and selecting Total CVEs.
15.11. Exclusion of hosts from Red Hat Lightspeed analytics Copiar enlaceEnlace copiado en el portapapeles!
You can exclude hosts from Red Hat Lightspeed analytics by using a host parameter.
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.
You can set this parameter at any level. For more information, see Appendix D, Host parameter hierarchy.
15.12. Troubleshooting Red Hat Lightspeed in Satellite Copiar enlaceEnlace copiado en el portapapeles!
You can check the logs to troubleshoot issues with Red Hat Lightspeed in Satellite.
To troubleshoot hosts monitoring, you can find the logs in the /var/log/foreman/production.log file.