Dell Vizioncore Podręcznik Użytkownika Strona 81

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 168
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 80
Queries 81
Creating a Query in vFoglight
In the preceding example, the Hosts node is the name of the list of objects of the data
type Host. A query always returns a list of data objects of the given type. Even if there is
only one data object to return, the query returns a list with one item. A data object
property can be a list property. For example, the Severity property in the Host data
object is a list. Queries can also define and use parameters in the Root Path.
In the preceding example, a Host data object has been added as a MyHost parameter to
the Search Depth.
This tells how many levels below the specified Root Path the query is allowed to look
for objects of the specified Object Type. The default is 0, and would apply to cases such
as searching for objects of type Host under the root Hosts. Since Hosts is the list of all
hosts, there is no need to search down further levels.
An example of using the value 1 would be if the root was Hosts and you wanted to find
all events directly under those hosts by specifying an Object Type of Event.
Object Type
The Object Type is selected from a drop-down list of the available types for the query's
Data Source Type, such as Host or AppServer.
Localized Names in Drop-Down Lists
Many of the fields are drop-down lists or drop-down trees. When these are opened, they
display the localized names of the data objects or properties. Once you have made your
selection, the drop-down closes, and the new name of the object is displayed. For
example, the with Path drop-down tree shows the Java EE node. Expand this node and
the App Servers node is displayed. When selected, the path displays as javaee/
appServers in the field.
Root Path
This section of the definition sets the path to the Root, from which the query searches
for objects of the given DataSource Type. The root must be either a data object or a list
of data objects. The Root Path is not affected by the selected data object in the Object
Type field, and shows the entire vFoglight schema.
Przeglądanie stron 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 167 168

Komentarze do niniejszej Instrukcji

Brak uwag