From cb8d14c58ade2ef20d35f6957c8baf550aa7ca6d Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Tue, 12 Nov 2024 17:12:59 -0500 Subject: [PATCH] Merge pull request #23264 from jrafanie/fix-accidental-removal-of-rss-dashboard-widgets-not-actually-using-rss Resurrect dashboard widgets not actually using rss feeds (cherry picked from commit b09ab8a63db0d9db38dc4815198a65b1adf08e78) --- product/dashboard/dashboards/default.yaml | 2 ++ .../physical_infrastructure_default.yaml | 2 ++ .../dashboard/widgets/rss_newest_hosts.yaml | 18 ++++++++++++++++++ .../dashboard/widgets/rss_newest_servers.yaml | 18 ++++++++++++++++++ product/dashboard/widgets/rss_newest_vms.yaml | 18 ++++++++++++++++++ 5 files changed, 58 insertions(+) create mode 100644 product/dashboard/widgets/rss_newest_hosts.yaml create mode 100644 product/dashboard/widgets/rss_newest_servers.yaml create mode 100644 product/dashboard/widgets/rss_newest_vms.yaml diff --git a/product/dashboard/dashboards/default.yaml b/product/dashboard/dashboards/default.yaml index f3d22f7d305..6048c132771 100644 --- a/product/dashboard/dashboards/default.yaml +++ b/product/dashboard/dashboards/default.yaml @@ -5,10 +5,12 @@ description: Default Dashboard set_data_by_description: :col1: - chart_vendor_and_guest_os + - rss_newest_hosts - report_top_memory_consumers_weekly :col2: - report_top_cpu_consumers_weekly - chart_virtual_infrastructure_platforms :col3: - chart_guest_os_information_any_os + - rss_newest_vms - report_top_storage_consumers diff --git a/product/dashboard/dashboards/physical_infrastructure_default.yaml b/product/dashboard/dashboards/physical_infrastructure_default.yaml index 4b125741f74..9815594712b 100644 --- a/product/dashboard/dashboards/physical_infrastructure_default.yaml +++ b/product/dashboard/dashboards/physical_infrastructure_default.yaml @@ -9,3 +9,5 @@ set_data_by_description: - chart_server_health :col2: - chart_server_availability + :col3: + - rss_newest_servers diff --git a/product/dashboard/widgets/rss_newest_hosts.yaml b/product/dashboard/widgets/rss_newest_hosts.yaml new file mode 100644 index 00000000000..51cb6b548a2 --- /dev/null +++ b/product/dashboard/widgets/rss_newest_hosts.yaml @@ -0,0 +1,18 @@ +description: rss_newest_hosts +title: "EVM: Recently Discovered Hosts" +content_type: report +options: + :row_count: 5 +visibility: + :roles: + - _ALL_ +user_id: +resource_name: Recently Added Hosts +resource_type: MiqReport +miq_schedule_options: + :run_at: + :interval: + :value: "1" + :unit: hourly +enabled: true +read_only: true diff --git a/product/dashboard/widgets/rss_newest_servers.yaml b/product/dashboard/widgets/rss_newest_servers.yaml new file mode 100644 index 00000000000..b0640b052a9 --- /dev/null +++ b/product/dashboard/widgets/rss_newest_servers.yaml @@ -0,0 +1,18 @@ +description: rss_newest_servers +title: "Recently Discovered Physical Servers" +content_type: report +options: + :row_count: 5 +visibility: + :roles: + - _ALL_ +user_id: +resource_name: Recently Discovered Physical Servers +resource_type: MiqReport +miq_schedule_options: + :run_at: + :interval: + :value: "1" + :unit: hourly +enabled: true +read_only: true diff --git a/product/dashboard/widgets/rss_newest_vms.yaml b/product/dashboard/widgets/rss_newest_vms.yaml new file mode 100644 index 00000000000..aa79986cfac --- /dev/null +++ b/product/dashboard/widgets/rss_newest_vms.yaml @@ -0,0 +1,18 @@ +description: rss_newest_vms +title: "EVM: Recently Discovered VMs" +content_type: report +options: + :row_count: 5 +visibility: + :roles: + - _ALL_ +user_id: +resource_name: Recently Discovered VMs +resource_type: MiqReport +miq_schedule_options: + :run_at: + :interval: + :value: "1" + :unit: hourly +enabled: true +read_only: true