Tutorial

Tutorial 5: Reports 97
Configuring a Query
Report layout for Tutorial 5:
Configuring a Query
This tutorial requires a list of hosts, just as in Tutorial 1, but this time we’ll demonstrate
a way of accomplishing the objective by using both a query and a context setting. First,
you will build a query that returns a HostModel, and then you will define a context
setting to select hosts from the host model object returned by the query.
To build the Host Model T5 query:
1
Ensure that the Queries tab in the Module Contents pane is selected.
2
Click the Add button in the Module Contents pane.
The New Query dialog appears.
3
Ensure that Blank Query is chosen with Data Source Type Foglight and click
OK.
The Definitions pane changes to an Edit pane. It fills with the query editor, which
contains all the fields that can be used to construct a query. You don’t have to fill
in every field, but those you do are marked by an exclamation point icon on the
right side of the field.
4
Type Host Model T5 in the Name field.
Now that the query has been named it can be referenced by that name when you
want to use it.
5
Leave Root Query and Public unchecked Comments and Context Help empty,
and Relevant and Allowed Role(s) untouched.
6
Ensure that the Data Source ID field’s value is <default>.
Header
Single page: Utilization Summary for All Hosts
Iterated page: System Load Summary. Each page presents a time plot of host
statistics and a table of high, low, and average values for selected metrics
for the chosen time period.
Footer