Chat now with support
Chat mit Support

Foglight 7.1.0 - 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 -cmd license:list

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 -cmd license:remove -serial 123-4567890

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 -cmd util:configexport -f policy.xml

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 -cmd util:configexport -f policy.xml
Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen