Dell Vizioncore Podręcznik Użytkownika Strona 89

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 168
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 88
Queries 89
Creating a Query in vFoglight
When the in operator is used, the value on the right must be a list. This can occur when
parameters are used. The comparison is true for a given data object if the value in the
Path field is contained in the list specified by the From Parameter field on the right.
The like operator is used for wildcard matching, and behaves exactly as it does in
standard SQL. The pattern of characters and wildcards in the right field are compared
against the entire value of the entry in the Path field.
The wildcards are:
Underscore ( _ ): represents any one character.
Percent ( % ): represents any string of 0 or more characters.
A match is found only if the pattern is a complete match against the Path value. For
example, the following patterns will all match MachineOne:
M%One
%chi%
Ma_hine_ne
But chi%O is not a match because it only matches a part of MachineOne.
Paths are allowed to have several levels, (such as events/name under Hosts), if an
appropriate comparison can be made with the results.
The <, <=, > and >= operators can be used with numbers, strings or dates. If the Path on
the left of the comparison evaluates to a number, and a Specific Value on the right of the
comparison is a string, the string is treated as a number. If it cannot be converted to a
number, the comparison will evaluate to false.
Is Set
Is Set requires a single Path selected from the drop-down tree of data objects. It
evaluates to true if the value of that path is not empty (not null) and is not an empty list
(in the case when the property always evaluates to a list).
In the rare case where the path points to a list of lists, the Is Set is true if at least one of
the sub-lists is not empty. For example, if the elements the query is selecting are
WebApplications, and you use Is Set with a path of appServers/slowestRequests, the
condition is true for a given Web application if it contains at least one AppServer that
contains at least one request in its slowest requests list.
Przeglądanie stron 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 167 168

Komentarze do niniejszej Instrukcji

Brak uwag