Appendix B. Command options for insights-client 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. B.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. The changes initiated by the options take effect either at the scheduled run, or when you enter the insights-client command. The options should be formatted as key=value pairs. Table B.1. insights-client.conf configuration options Option Description ansible_host Use this option if you want a different hostname when running Ansible playbooks. authmethod=CERT Set the authentication method. Valid option is CERT. The default value is CERT. auto_config=True Use this 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 . auto_update=True Automatically update the dynamic configuration. The default is True. Change to False if you do not want to automatically update. base_url=cert-api.access.redhat.com:443/r/insights This is the base URL for the API. cmd_timeout=120 This is for commands run during collection and is measured in seconds. The command processes are terminated when the timeout value is reached. content_redaction_file Use this to omit lines or keywords from files and commands in the core collection. The core collection is a more comprehensive result set. You do not need to change the default configuration. The content_redaction_file option uses the /etc/insights-client/file-content-redaction.yaml file by default. display_name Use this as the 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. http_timeout=120 This is for HTTP calls and is measured in seconds. The command processes terminate when the timeout value is reached. [insights-client] This is a required first line of the configuration file, even if you specify a different location or name for the client configuration file. loglevel=DEBUG Use this to change the log level. Options are: DEBUG, INFO, WARNING, ERROR, and CRITICAL. The default is DEBUG. The default log file location is /var/log/insights-client/insights-client.log . obfuscate=False Use this to obfuscate IPv4 addresses. The default is False . Change to True to enable address obfuscation. obfuscate_hostname=False Use this to obfuscate hostname. You must set obfuscate=True to obfuscate the hostname, which enables IPv4 address obfuscation. You cannot obfuscate only the hostname. proxy Use this for the URL for your proxy. Example: http://user:pass@192.168.100.50:8080 redaction_file Use this to omit files or commands from the core collection. The core collection is a more comprehensive result set. You do not need to change the default configuration. The redaction_file option uses /etc/insights-client/file-redaction.yaml by default.

Commands: