サポートと今すぐチャット
サポートとのチャット

Foglight 5.9.1 - Command-Line Reference Guide

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

list

The list command generates a list of installed Foglight licenses.

fglcmd connection_options -cmd license:list

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 .

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight

remove

The remove command deletes a Foglight license given a license serial number.

For information on how to add a Foglight license using the fglcmd interface, see import .

fglcmd connection_options -cmd license:remove [-serial serial_number]

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 .

serial

serial_number

Specifies the serial number of the license file that is to be removed.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight

Exporting or Importing a Monitoring Policy

The configexport command exports the monitoring policy to an XML file. A monitoring policy describes all customizations to rules, derived metrics, registry variables, agent settings and persistence policies. It is useful to export this information for technical analysis and modification purposes even though that data is not meant to be readable by end-users. The configexport command saves the current monitoring policy to an XML file given the file path and its name. If required, you can use the output file to re-import the monitoring policy at a later time using the configimport command

fglcmd connection_options -cmd util:configexport [-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 to which the monitoring policy is to be exported.

NOTE: When specifying the file name, use XML as the file extension.
C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight

configexport

The configexport command exports the monitoring policy to an XML file. A monitoring policy describes all customizations to rules, derived metrics, registry variables, agent settings and persistence policies. It is useful to export this information for technical analysis and modification purposes even though that data is not meant to be readable by end-users. The configexport command saves the current monitoring policy to an XML file given the file path and its name. If required, you can use the output file to re-import the monitoring policy at a later time using the configimport command

fglcmd connection_options -cmd util:configexport [-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 to which the monitoring policy is to be exported.

NOTE: When specifying the file name, use XML as the file extension.
C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight
関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択