Chapter 9. Enabling and disabling automatic rule updates for Insights
By default, automatic collection rule updates are enabled for Insights. You can edit the client configuration file to disable them or re-enable them.
9.1. Disabling automatic rule updates for Insights
You can disable the automatic collection rule updates for Red Hat Insights for Red Hat Enterprise Linux. If you do so, you risk using outdated rule definition files and not getting the most recent validation updates.
Prerequisites
- Root-level access to your system.
- Automatic rule updates are enabled.
Procedure
-
Open the
/etc/insights-client/insights-client.conf
file with an editor. Locate the line that contains
Copy to Clipboard Copied! Toggle word wrap Toggle overflow #auto_update=True
#auto_update=True
Remove the
#
and changeTrue
toFalse
.Copy to Clipboard Copied! Toggle word wrap Toggle overflow auto_update=False
auto_update=False
-
Save and close the
/etc/insights-client/insights-client.conf
file.
9.2. Enabling automatic rule updates for Insights
You can re-enable the automatic collection rule updates for Red Hat Insights for Red Hat Enterprise Linux, if you previously disabled updates. By default, automatic rule update is enabled.
Prerequisites
- Root-level access to your system.
- Automatic rule collection is disabled.
Procedure
-
Open the
/etc/insights-client/insights-client.conf
file with an editor. Locate the line that contains
Copy to Clipboard Copied! Toggle word wrap Toggle overflow auto_update=False
auto_update=False
Change
False
toTrue
.Copy to Clipboard Copied! Toggle word wrap Toggle overflow auto_update=True
auto_update=True
-
Save and close the
/etc/insights-client/insights-client.conf
file.