Red Hat Insights Client Core Collection Description

Updated

What is Insights Core Collection?

Insights Core Collection refers to the data collector including the data collection spec, the process and sub-processes of Insights Core that collects data. Insights Core Collector provides a comprehensive data collection set. Files and commands are both statically and dynamically defined via "spec", and smarter operations can be performed with additional arguments in order to collect specific data.

How can I enable Insights Core Collection?

RPM

From RHEL 9.8 and RHEL 10.2, Insights Core is shipped in RPM format with SELinux confinement. The minimal versions of relevant RPM packages are:

  • RHEL 10.2

    • insights-client-3.10.3-1.el10
    • insights-core-3.7.4-1.el10
    • insights-core-selinux-3.7.4-1.el10
  • RHEL 9.8

    • insights-client-3.9.3-1.el9
    • insights-core-3.7.4-1.el9
    • insights-core-selinux-3.7.4-1.el10

Please ensure the latest insights-client RPM package is installed and in this case the Insights Core Collection will be enabled by default.

EGG

For earlier versions of all RHEL 7.x, all RHEL 8.x, RHEL 9.0 ~ RHEL 9.7, RHEL 10.0 ~ RHEL 10.1, there is no change for Insights Core Egg which is still the only way to collect Insights archives.

  • For versions of insights-client RPM 3.1.0 and newer, the Insights Core Collection is enabled by default.
  • For versions of insights-client RPM older than 3.1.0, the Insights Core Collection can be enabled by updating the Insights Core Egg to 3.4.17 or newer.

Keep Insights Core Collection Up-to-Date

Red Hat recommends that you always keep the Insights Core up-to-date to ensure that you could get the latest recommendations and bug fixes.

RPM

With the Insights Core rpm delivery format, customers need to keep Insights Core RPM up-to-date by one of the approaches below:

  • cronjob (recommended)
  • systemd timer (recommended)
  • manually

Note:

  1. Upgrading the “insights-core” RPM package DOES NOT need to upgrade the “insights-client” RPM. You can simply run the following command (the “insights-core-selinux” will be also updated automatically):
  $ sudo dnf upgrade insights-core
  1. For Satellite-managed Insights hosts, before upgrading “insights-core” RPM to the latest version, the Content View must be synchronized in advance.

EGG

Generally, the Insights Core Egg can be updated automatically every time when running or triggering the “insights-client” via command line or systemd timer. To ensure that the Insights Core Egg can be updated automatically, check the "auto_update=False" is not set in the "/etc/insights-client/insights-client.conf" configuration file.

When Egg automatic update failed, update the Insights Core Egg as per How to update Red Hat Insights Core manually?

Category
Components
Article Type