The uilist command shows a list of deployed UI modules. Each UI module is a collection of Foglight operational elements such as views, dashboards, and other resources.
Specifies the user name and password for the Foglight Management Server, as well as the machine name and port number, if necessary. Alternatively, fglcmd can retrieve this information from a user-specific properties file. For more information on how to specify connection options on the command line, see Logging In and Setting the Scope . For details on using a properties file, see Using a Properties File to Supply Connection Information . |
• |
• |
The metricexport command exports metric observations to a file using a metric query. String and metric observations that exist in Foglight can be retrieved with this command for automation and analysis. This command writes its output using a CSV or XML format and takes an observation query as a parameter.
NOTE: Query writing requires an understanding of the monitored topology and object naming conventions and depends on data availability for the specified collection period (see Example ). For complete information on topology queries, see the Administration and Configuration Help. |
The above command creates a CSV file showing the value of the Utilization metric for all known System_Table objects that were collected in the past hour. The content of the generated CSV file are similar to the information in the following table:
The metricexport command exports metric observations to a file using a metric query. String and metric observations that exist in Foglight can be retrieved with this command for automation and analysis. This command writes its output using a CSV or XML format and takes an observation query as a parameter.
NOTE: Query writing requires an understanding of the monitored topology and object naming conventions and depends on data availability for the specified collection period (see Example ). For complete information on topology queries, see the Administration and Configuration Help. |
The above command creates a CSV file showing the value of the Utilization metric for all known System_Table objects that were collected in the past hour. The content of the generated CSV file are similar to the information in the following table:
The topologyexport command exports the value of one or more properties of a topology object to an XML file. Given a topology query, the property name, and the path and name of the output file, this command generates an XML file containing the value of the specified property. For complete information on how to write a topology query, see the Administration and Configuration Help.
Specifies the user name and password for the Foglight Management Server, as well as the machine name and port number, if necessary. Alternatively, fglcmd can retrieve this information from a user-specific properties file. For more information on how to specify connection options on the command line, see Logging In and Setting the Scope . For details on using a properties file, see Using a Properties File to Supply Connection Information . | ||
Specifies the path and name of the file into which the results of the query are to be exported. | ||
For example: "Windows_Host where name='host1'" To learn more about the query syntax , see the Administration and Configuration Help. |
The above command generates an XML file showing the value of the alarmTotalCount property for a particular Windows® host. The content of the generated XML file is similar to the following listing:
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center