Suchen

Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Appendix D. Command options for insights-client

download PDF

You can use the settings in the /etc/insights-client/insights-client.conf configuration file to change how the Insights client operates on your system.

D.1. Options for the Insights client configuration file

When the configuration file and the CLI have similar options, the CLI option is executed when you enter the insights-client command. When the scheduler runs the client, the configuration file options are executed.

Note

You must enter the choices exactly as shown. True and False use initial capital letters.

To enable an option in the configuration file, remove the # as the first character of the line and provide a value for the option. The changes take effect either at the next scheduled run, or when you enter the insights-client command.

Table D.1. insights-client.conf configuration options
OptionDescription

[insights-client]

Required first line of the configuration file, even if you specify a different location or name for the client configuration file.

#loglevel=DEBUG

Change the log level. Options are: DEBUG, INFO, WARNING, ERROR, CRITICAL. The default is DEBUG. The default log file location is /var/log/insights-client/insights-client.log.

#auto_config=True

Attempt to auto configure with Satellite server. Values can be True (default) or False.

Note

When auto_config=True (default), the authentication method used is CERT.

#authmethod=CERT

Set the authentication method. Valid option is CERT. The default value is CERT.

#username=

username to use when authmethod is BASIC. The username is stored in clear text.

#password=

password to use when authmethod is BASIC. The password is stored in clear text.

#base_url=cert-api.access.redhat.com:443/r/insights

Base URL for the API.

#proxy=

URL for your proxy. Example: http://user:pass@192.168.100.50:8080

#auto_update=True

Automatically update the dynamic configuration. The default is True Change to False if you do not want to automatically update.

#obfuscate=False

Obfuscate IPv4 addresses. The default is False. Change to True to enable address obfuscation.

#obfuscate_hostname=False

Obfuscate hostname. You must set obfuscate=True to obfuscate the host name, which enables IPv4 address obfuscation. You cannot obfuscate only the host name.

#display_name=

Display name for registration. The default is to use /etc/hostname. NOTE: This value interacts with the insights-client --display-name command. If you use the CLI to change the display name but a different display name is enabled in the configuration file, the display name reverts to the configuration file value when the scheduler runs the Insights client.

#cmd_timeout=120

Timeout for commands run during collection, in seconds. The command processes are terminated when the timeout value is hit.

#http_timeout=120

Timeout for HTTP calls, in seconds

#remove_file=/etc/insights-client/remove.conf

Location of redaction file

Insights client may prevent processes from initializing real-time scheduling.

Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.