-
Notifications
You must be signed in to change notification settings - Fork 898
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17172 from skovic/physical-server-widget-files
Add product files for physical server dashboard widgets
- Loading branch information
Showing
9 changed files
with
198 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
description: chart_server_availability | ||
title: "Physical Server Availability" | ||
content_type: chart | ||
options: | ||
:timezone_matters: false | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Physical Server Availability | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: hourly | ||
enabled: true | ||
read_only: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
description: chart_server_health | ||
title: "Physical Server Health" | ||
content_type: chart | ||
options: | ||
:timezone_matters: false | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Physical Server Health | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: hourly | ||
enabled: true | ||
read_only: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
54 changes: 54 additions & 0 deletions
54
product/reports/190_Configuration Management - Physical Servers/010_Newest Servers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: Recently Discovered Physical Servers | ||
rpt_group: Custom | ||
rpt_type: Custom | ||
priority: | ||
db: PhysicalServer | ||
cols: | ||
- hostname | ||
- health_state | ||
- power_state | ||
- product_name | ||
include: {} | ||
col_order: | ||
- hostname | ||
- health_state | ||
- power_state | ||
- product_name | ||
headers: | ||
- Hostname | ||
- Health State | ||
- Power State | ||
- Product Name | ||
conditions: | ||
order: Ascending | ||
sortby: | ||
- hostname | ||
group: | ||
graph: | ||
dims: | ||
filename: | ||
file_mtime: | ||
categories: [] | ||
timeline: | ||
template_type: report | ||
where_clause: | ||
db_options: {} | ||
generate_cols: | ||
generate_rows: | ||
col_formats: | ||
- | ||
- | ||
- | ||
- | ||
- | ||
- | ||
tz: | ||
time_profile_id: | ||
display_filter: | ||
col_options: {} | ||
rpt_options: | ||
:pdf: | ||
:page_size: US-Letter | ||
:queue_timeout: | ||
menu_name: Recently Discovered Physical Servers |
36 changes: 36 additions & 0 deletions
36
product/reports/190_Configuration Management - Physical Servers/020_Server Health.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: Physical Server Health | ||
conditions: | ||
order: Ascending | ||
graph: | ||
:type: Pie | ||
:count: 10 | ||
:other: true | ||
menu_name: Physical Server Health | ||
rpt_group: Custom | ||
rpt_type: Custom | ||
priority: | ||
col_order: | ||
- hostname | ||
- health_state | ||
- power_state | ||
- product_name | ||
timeline: | ||
file_mtime: | ||
categories: | ||
filename: | ||
db: PhysicalServer | ||
cols: | ||
- hostname | ||
- health_state | ||
- power_state | ||
- product_name | ||
template_type: report | ||
sortby: | ||
- health_state | ||
- hostname | ||
headers: | ||
- Hostname | ||
- Health State | ||
- Power State | ||
- Product Name |
41 changes: 41 additions & 0 deletions
41
product/reports/190_Configuration Management - Physical Servers/030_Server Availability.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Physical Server Availability | ||
order: Ascending | ||
graph: | ||
:type: Pie | ||
:count: 10 | ||
:other: true | ||
menu_name: Physical Server Availability | ||
rpt_group: Custom | ||
rpt_type: Custom | ||
priority: | ||
col_order: | ||
- hostname | ||
- v_availability | ||
- health_state | ||
- power_state | ||
- v_host_os | ||
- product_name | ||
timeline: | ||
file_mtime: | ||
categories: | ||
filename: | ||
db: PhysicalServer | ||
cols: | ||
- hostname | ||
- v_availability | ||
- health_state | ||
- power_state | ||
- v_host_os | ||
- product_name | ||
template_type: report | ||
sortby: | ||
- v_availability | ||
- hostname | ||
headers: | ||
- Hostname | ||
- Availability | ||
- Health State | ||
- Power State | ||
- Host OS | ||
- Product Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
describe MiqReport do | ||
context "Seeding" do | ||
include_examples(".seed called multiple times", 140) | ||
include_examples(".seed called multiple times", 143) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters