立即与支持人员聊天
与支持团队交流

Foglight for Virtualization Enterprise Edition 8.9.3 - Command-Line Reference Guide

About the Command-Line Interface Managing the Foglight Management Server Managing the Foglight Agent Manager Managing Agents, Cartridges, and Metrics

configimport

The configimport command imports a monitoring policy. The source of the import is an XML file that has been previously exported with the configexport command. A monitoring policy describes all customizations to rules, derived metrics, registry variables, agent settings and persistence policies and is useful in technical analysis and modification tasks.

Any rules that you import using this command are not associated with any cartridges on the target system after the import. For example, if you use this command to move cartridge-deployed rules from one Management Server to another, even though the target location may contains the same collection of cartridges, the imported rules are not associated with any of these cartridges in the target location. Only those rules that are deployed by a cartridge can be associated with the cartridge.

fglcmd connection_options -cmd util:configimport [-f file_path]

connection_options

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 .

f

file_path

Specifies the path and file name of the XML file that is to be imported.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd util:configimport -f policy.xml

Exporting, Importing, or Listing UI Modules

The uiexport command exports a UI module to a ZIP file. Use this command to export any modifications to Foglight operational elements such as views, dashboards, and other resources. Given a valid module name and a file path and name, the uiexport command exports the contents of that module into a ZIP file. If required, you can use the output file to re-import that module into the same or a different Foglight server at a later time using the uiimport command.

fglcmd connection_options -cmd util:uiexport [-m module_name] [-f file_path]

connection_options

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 .

f

file_path

Specifies the path and name of the ZIP file that the UI module is to be exported to.

NOTE: When specifying the file name, use ZIP as the file extension.

m

module_name

Specifies the name of the UI module.

The following example shows you how to export a module to a ZIP file using the module name as an argument. To get a list of module names, use the uilist command, as shown in Example .

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight-cmd util:uiexport -m system:fsmagents -f c:\temp\sys_fsmagents.zip

uiexport

The uiexport command exports a UI module to a ZIP file. Use this command to export any modifications to Foglight operational elements such as views, dashboards, and other resources. Given a valid module name and a file path and name, the uiexport command exports the contents of that module into a ZIP file. If required, you can use the output file to re-import that module into the same or a different Foglight server at a later time using the uiimport command.

fglcmd connection_options -cmd util:uiexport [-m module_name] [-f file_path]

connection_options

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 .

f

file_path

Specifies the path and name of the ZIP file that the UI module is to be exported to.

NOTE: When specifying the file name, use ZIP as the file extension.

m

module_name

Specifies the name of the UI module.

The following example shows you how to export a module to a ZIP file using the module name as an argument. To get a list of module names, use the uilist command, as shown in Example .

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight-cmd util:uiexport -m system:fsmagents -f c:\temp\sys_fsmagents.zip

uiimport

The uiimport command imports a UI module from a ZIP file. It uses the ZIP file that has been previously imported with the uiexport command as the source of import. A UI module is a collection of Foglight operational elements such as views, dashboards, and other resources.

fglcmd connection_options -cmd util:uiimport [-f file_path]

connection_options

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 .

f

file_path

Specifies the path and name of the ZIP file containing the UI module that is to be imported.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd util:uiimport -f c:\temp\sys_fsmagents.zip
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级