
472 vFoglight
Administration and Configuration Guide
Retrieving Data
Once you retrieve information about one or more topology objects, you can run scripts
against a selected topology object and retrieve the data that it contains as required.
The Script Editor dashboard allows you to write and run scripts using the vFoglight
query language and process scoping queries against one or more topology objects that
exist in your monitoring system.
The query language allows you to specify the scope for a rule or derived metric. A rule
or derived metric must be scoped to a topology type and can optionally be scoped to
specific instances (topology objects) of that type. The expression that sets the rule or
derived metric scope is called a scoping query. For more information about the query
language, see “Using the Query Language” on page 473.
To retrieve data:
Note This procedure continues from “Selecting Topology Objects” on page 469.
1
Using the Groovy language, write a script to retrieve information about the
selected object. For information about the Groovy language, see“Using the Query
Language” on page 473.
In the Script Editor dashboard, in the Script box, type your script.
2
Run your script.
Click Run.
The Result area refreshes, showing the data retrieved as a result of your script.
Komentarze do niniejszej Instrukcji