Abstract
| Goal |
Get information from Red Hat Insights for Red Hat Ansible Automation Platform to evaluate the performance of your Ansible automation and identify possible ways to improve it. |
| Objectives |
|
| Sections |
|
Send data to the Red Hat Insights for Red Hat Ansible Automation Platform and automation analytics cloud services in order to analyze and improve your use of automation.
Red Hat provides a number of hosted services on https://console.redhat.com that can help you better manage your Red Hat Ansible Automation Platform infrastructure. The following two Red Hat Hybrid Cloud Console services are relevant to gather data for cloud-based analysis:
Insights for Ansible Automation Platform
Automation analytics
Insights for Ansible Automation Platform enables you to keep track of warnings about security vulnerabilities and the security risk levels for the members of your automation infrastructure. You can also use Insights for Ansible Automation Platform to determine the changes that each system has undergone over time, or how far it has moved away from your baselines.
Automation analytics helps to provide better insight into the performance of your automation infrastructure. You can use it to analyze how you use automation and what modules, playbooks, and workflows you most frequently use. Automation analytics is also useful to estimate the return on investment of current or future automation projects. You can even develop reports in automation analytics for others to review.
You need to satisfy the following requirements to use automation analytics and Insights for Ansible Automation Platform:
A Red Hat Hybrid Cloud Console account.
A Red Hat Ansible Automation Platform subscription.
Your automation controllers must be able to reach https://console.redhat.com/.
Before Red Hat Hybrid Cloud Console can report data about your automation controller clusters, you need to configure those systems to send data to it. Information about what data is sent and how it is managed and secured is available from the references at the end of this section.
You can enable data gathering from your automation controller by using the following procedure:
Log in to the web UI of your automation controller as the admin user and navigate to .
In the panel, click and then click .
Set to On to activate data gathering.
Enter you customer portal credentials in the and fields. If you use a corporate account, then everybody in your organization can access reports for that automation controller cluster from the Red Hat Hybrid Cloud Console.
By default, automation controller sends data to Red Hat Insights every four hours (14400 seconds). Use the field to change that parameter. The value is in seconds and cannot be less than 1800 (30 minutes).
Click when done.
The Advisor tool provided by Red Hat Insights can identify issues with your managed hosts and automatically generate Ansible Playbooks to remediate those issues. To help your Red Hat Enterprise Linux managed hosts gather the information to do this effectively, you can also register them with Red Hat Insights.
To register your managed hosts with Red Hat Insights, download and install the insights-client package on your managed host. If it is already registered to get updates through a Customer Portal software entitlement, then you can configure the managed host to send data to Red Hat Insights with one command on that system.
[root@host ~]# insights-client --registerThe client periodically updates the metadata that is provided to Insights for Ansible Automation Platform. However, you can manually run the insights-client command on a registered managed host to immediately refresh the client’s metadata.
[root@host ~]# insights-client
Starting to collect Insights data for host.example.com
Uploading Insights data.
Successfully uploaded report from host.example.com to account 6076664.
View details about this system on console.redhat.com:
https://console.redhat.com/insights/inventory/dc480efd-4782-417e-a496-cb33e23642f0To access Red Hat Hybrid Cloud Console, log in to https://console.redhat.com with your Red Hat Customer Portal account and password.
Navigate to → to open the dashboard.
This dashboard provides basic information about your automation infrastructure as well as an updated navigation bar so that you can access other features of Insights for Ansible Automation Platform and automation analytics.