{"id":2167,"date":"2020-04-27T01:00:00","date_gmt":"2020-04-27T01:00:00","guid":{"rendered":"http:\/\/inswwdev.azurewebsites.net\/au\/insights\/uncategorized\/red-hat-insights\/"},"modified":"2024-12-13T01:58:01","modified_gmt":"2024-12-13T01:58:01","slug":"red-hat-insights","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/nz\/insights\/geek-speak\/professional-services\/red-hat-insights\/","title":{"rendered":"Red Hat Insights"},"content":{"rendered":"<p style=\"text-align: justify;\"><span>Red Hat Insights provides continuous, in-depth analysis of registered Red Hat-based systems to proactively identify threats to security, performance and stability across physical, virtual and cloud environments and container deployments. Red Hat Insights is installed by default on Satellite Server. You can use the dashboard to quickly identify key risks to stability, security or performance. You can sort by category, view details of the impact and resolution, and then determine what systems are affected.<\/span><\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\"><span>How to deploy Red Hat Insights on the server?<\/span><\/h3>\n<p><span>Two ways of doing it: manual and automatic. <\/span><\/p>\n<p><span>Manual approach: <\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>1. Log into the server where you want to install Insights agent as a root.<\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>2. Install insights-client on the server.<\/span><\/p>\n<p style=\"background-color: #dddddd; padding: 15px; margin: 10px;\">yum install insights-client<\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>3. Run from the command line insights-client command:<\/span><\/p>\n<p style=\"background-color: #dddddd; padding: 15px; margin: 10px;\">insights-client<\/p>\n<p style=\"padding-left: 40px;\"><span>4. You can expect the following result:<\/span><\/p>\n<p style=\"background-color: #dddddd; padding: 15px; margin: 10px;\">[root@vcs03 ~]# insights-client<br \/>Starting to collect Insights data for vcs03.example.com<br \/>Uploading Insights data.<br \/>Successfully uploaded report from 38cffa69-a830-41a8-9477-e9bd54ca1049 to account 5291234. \u200b<\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>5. Verify the status and check-in in the Satellite \u2192 Navigate to Insights \u2192 Overview. Find the client and verify the check-in time:<\/span><\/p>\n<p><img decoding=\"async\" style=\"width: 883px; height: 302px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_1.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/14f5718f094b489a966ef8f98d6e6a89\" \/><\/p>\n<p><span>Automatic Approach: <\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>Use Ansible Role conveniently provided by Red Hat in the system role package. (Refer to my previous blog how to add Ansible Roles to Satellite). <\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>1. Edit the single host to add Ansible Roles: Navigate to All Hosts and Click on Edit next to the selected Host. <\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>2. Add the RedHatInsights.insights-client Role in the Ansible Role Tab. Click Submit:<\/span><\/p>\n<p><span><img decoding=\"async\" style=\"width: 936px; height: 354px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_2.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/2829ec99614d44b78f2764ef6e007eba\" \/><\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>3. Click on \u2018Run Ansible Roles\u2019 button on the All Hosts \u2192 Selected Host:<\/span><\/p>\n<p><span><img decoding=\"async\" style=\"width: 943px; height: 145px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_3.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/4cad40f9f67243b682f53f70eaf40b92\" \/><\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>4. Enjoy your break waiting for the Ansible to finish all tasks. As always &#8211; you can verify the progress under Monitor \u2192 Tasks:<\/span><\/p>\n<p><span><img decoding=\"async\" style=\"width: 1045px; height: 883px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_4.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/e582754be90b4641b2bdb1f87fe20bc6\" \/><\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>5. Alternatively, add the Ansible Role(s) to the hostgroup. Navigate to Configure-\u2192 Host Groups. Click on the Host Group and select the Roles in the Ansible Roles Tab:<\/span><\/p>\n<p><span><img decoding=\"async\" style=\"width: 1093px; height: 432px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_5.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/ec26560e058b4d10b7c02a2d213470cb\" \/><\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>6. Click Submit and navigate to Hosts \u2192 All Hosts. Ensure that the hosts you want to play the Ansible Role against are assigned to the host group you have just modified. <\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>7. Select the hosts you want to play the Role against. Click Select Action in the top right corner and click on Play Ansible roles:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1094px; height: 466px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_6.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/92dbe9f198d84f2a9a471311149194a4\" \/><\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>8. Validate the tasks under Monitor \u2192 Tasks<\/span><\/p>\n<p><span>OK, so we have the Roles and the insights agent installed on nodes. <\/span><\/p>\n<p><span>What can we do with the Insights? <\/span><\/p>\n<p><span>First of all, let\u2019s verify the status of our fleet:<\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>1. Navigate to Insights \u2192 Overview. Have a look at the action summaries:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1073px; height: 658px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_7.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/7d9e3dab056e4726b64efcce2312f36b\" \/><\/span><\/p>\n<p style=\"padding-left: 40px; text-align: justify;\"><span>2. Click on Actions Summary. Start from the High Severity issues:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1105px; height: 504px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_8.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/51d7eec738614ebfae9b052ae73851d6\" \/><\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>3. For this issue, Red Hat did not provide the Ansible Playbook. You can click on the Rule and verify the actions.<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1113px; height: 544px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_9.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/2aec6a1d93f94826953d791588abc6bc\" \/><\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\">4. <span>It seems this specific issue might get resolved during the next patch cycle.<\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>5. Click on the Medium risk:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1123px; height: 709px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_10.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/d8882f25a0864b159a3d476b8bc255a5\" \/><\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>6. Note that a few rules come with the Ansible Roles. Let\u2019s use them!<\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>7. Navigate to Insight \u2192 Inventory. Select the hosts on which you want to rectify the discovered issues and select \u2018Create a new Plan\/Playbook\u2019 from the Actions:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1190px; height: 751px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_11.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/fda5f598ccff4fc6b1b0ef711aae1636\" \/><\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>8. Give Plan a name, select Actions with the Ansible Playbook (identified by the blue Ansible icon) and click Save:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 1164px; height: 998px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_12.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/f4d2f71cde5146a69d2b2c7db4c15434\" \/><\/span><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>9. After clicking on Save, you will be taken to the Planner page. Review the configuration and Click Run Playbook or Select Customize the Playbook Run. The second option will allow you to schedule the run of the Playbook:<\/span><\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" style=\"width: 1164px; height: 1041px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_13.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/090b33a4f7b74008b855eb665020d71e\" \/><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><span>10. In my example, I click Run Playbook:<\/span><\/p>\n<p style=\"text-align: justify;\"><span><img decoding=\"async\" style=\"width: 631px; height: 129px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/seb_blog_red_hat_insights_14.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/930cd5f218be47b18a4e3c1487e3d006\" \/><\/span><\/p>\n<p style=\"text-align: justify;\"><span>As described above, Insights is a proactive tool which enables you to rectify the issues before they become a problem. Please feel free to reach out if you would like to know more.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Red Hat Insights provides continuous, in-depth analysis of registered Red Hat-based systems to proactively identify threats to security, performance and stability across physical, virtual and cloud environments and container deployments. Red Hat Insights is installed by default on Satellite Server. You can use the dashboard to quickly identify key risks to stability, security or performance.&hellip; <a class=\"more-link\" href=\"https:\/\/www.insentragroup.com\/nz\/insights\/geek-speak\/professional-services\/red-hat-insights\/\">Continue reading <span class=\"screen-reader-text\">Red Hat Insights<\/span><\/a><\/p>\n","protected":false},"author":67,"featured_media":2168,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[25],"tags":[],"class_list":["post-2167","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-professional-services","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts\/2167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/comments?post=2167"}],"version-history":[{"count":1,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts\/2167\/revisions"}],"predecessor-version":[{"id":35405,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts\/2167\/revisions\/35405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/media\/2168"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/media?parent=2167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/categories?post=2167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/tags?post=2167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}