Monitoring hosts by using Insights in orcharhino

You can use local services of Insights in orcharhino to assess system health on hosts running Red Hat Enterprise Linux without connecting to the Red Hat Hybrid Cloud Console. Insights in orcharhino provides advisor recommendations and vulnerability reports.

If you use Insights in orcharhino:

  • The Insights services run locally on your orcharhino Server.

  • orcharhino only communicates with the locally running services of Insights in orcharhino.

  • orcharhino does not send any reports to the Red Hat Hybrid Cloud Console.

  • orcharhino 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.

Red Hat Insights is now called Red Hat Lightspeed. For more information, see Red Hat Insights is now Red Hat Lightspeed.

Prerequisites
  • You have installed Insights in orcharhino on your orcharhino Server.

  • Install and configure the Insights client on hosts during host registration or provisioning.

  • For hosts already registered to orcharhino, install and configure the Insights client on your hosts by using an Ansible role.

  • You can change the schedule for running the Insights client by configuring insights-client.timer on a host.

Troubleshooting
  • You can find the logs in the /var/log/foreman/production.log file.

Enabling Insights analytics for hosts

You can enable Insights analytics for hosts. Install the Insights client on hosts to collect host data.

Insights is a service by Red Hat for Red Hat Enterprise Linux hosts. Ensure to set these parameters for Red Hat Enterprise Linux hosts only.

You can set this parameter at any level. For more information, see Host Parameter Hierarchy managing hosts.

Procedure
  1. In the orcharhino management UI, navigate to Host > Provisioning Setup > Operating Systems.

  2. Select any Red Hat Enterprise Linux operating systems for which you want to change the value.

  3. Enable installation of the Insights client on hosts during host registration:

    1. On the Parameters tab, add the host_registration_insights parameter, select the boolean type, and set the value to True.

    2. Click Submit to save the parameter.

Deploying Insights client on registered hosts

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-rpms and rhel-10-for-x86_64-appstream-rpms

    • On Red Hat Enterprise Linux 9: rhel-9-for-x86_64-baseos-rpms and rhel-9-for-x86_64-appstream-rpms

    • On Red Hat Enterprise Linux 8: rhel-8-for-x86_64-baseos-rpms and rhel-8-for-x86_64-appstream-rpms

    • On Red Hat Enterprise Linux 7: rhel-7-server-rpms

Procedure
  1. Add the RedHatInsights.insights-client role to the hosts. For more information, see Using Ansible roles to automate repetitive tasks on hosts in Configuring hosts by using Ansible.

  2. 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.

  3. On the host details page, expand the Schedule a job dropdown menu.

  4. Click Run Ansible roles.

Examining recommendations for hosts

You can view the recommendations for RHEL hosts in the orcharhino management UI.

Procedure
  1. In the orcharhino management UI, navigate to Insights > Recommendations.

  2. Click the arrow next to the recommendation to expand the recommendation details.

  3. Click the name of the recommendation to view affected hosts.

Remediating issues based on Insights recommendations

You can remediate issues on RHEL hosts based on Insights recommendations. You can only remediate recommendations that have an associated playbook.

Procedure
  1. In the orcharhino management UI, navigate to Insights > Recommendations.

  2. Click the name of the recommendation to view the recommendation details.

  3. Select the affected hosts that you want to remediate.

  4. Click Remediate.

  5. 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.

  6. Click Remediate.

Verification
  1. On the Jobs page, you can view the progress of your remediation.

  2. Verify that the remediation job completed successfully.

Examining vulnerability of hosts

You can view Common Vulnerabilities and Exposures (CVE) from Insights Vulnerability. You can examine how the CVEs affect your hosts.

Insights Vulnerability is a Technology Preview feature only. Technology Preview features are not supported by ATIX AG. ATIX AG does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of ATIX AG Technology Preview features, see Technical Previews in the ATIX Service Portal.

Prerequisites
  • You have installed Insights in orcharhino.

  • Your orcharhino account has a role that grants one of the following permissions: view_foreman_rh_cloud or view_insights_hits.

Procedure
  1. In the orcharhino management UI, navigate to Insights > Vulnerability.

  2. In the CVE ID column, click the ID of the vulnerability to see details.

Exclusion of hosts from Insights analytics

You can exclude hosts from Insights analytics by using a host parameter.

host_registration_insights

Setting this parameter to false will prevent orcharhino Server from forwarding data from the Insights client on hosts to Insights services. The Insights client will not be installed on newly registered hosts.

You can set this parameter at any level. For more information, see Host Parameter Hierarchy managing hosts.

The text and illustrations on this page are licensed by ATIX AG under a Creative Commons Attribution Share Alike 4.0 International ("CC BY-SA 4.0") license. This page also contains text from the official Foreman documentation which uses the same license ("CC BY-SA 4.0").