
496 vFoglight
Administration and Configuration Guide
If you want to reference the topology object from within a string or embedded query,
you must prefix the
scope variable with the dollar sign ‘$’. For example:
"File system $scope is now full"
or
#Filesystem where name = $scope.get("filesystemName")#
How do I export metrics from the command line?
The
fglcmd tool includes a command that allows you to export metric observations to a
file using a metric query. The
metricexport command can be used to export metrics
to a CSV or XML file.
For example, the following command exports the values of the
Process metric
collected in the past two hours to a CSV file.
C:\Vizioncore\vFoglight\bin>fglcmd -usr foglight -pwd foglight
-cmd util:metricexport -output_format csv -metric_query
"Processes from Windows_System_System_Table for 2
hours" -f my_metric_query.csv
For complete details on how to configure fglcmd, and about the util:metricexport
command, see the Command-Line Reference Guide.
Comentarios a estos manuales