Chat now with support
Chat with Support

Foglight 5.9.5 - Command-Line Reference Guide

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

Installing or Uninstalling Cartridges

The install command installs a cartridge on the Foglight Management Server.

fglcmd connection_options -cmd cartridge:install [-passive] [-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 .

passive

None

Indicates that the cartridge should be installed, but not activated.

f

file_path

Specifies the path and file name of the cartridge file that is to be installed.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd cartridge:install -f C:\Quest\carts\Infrastructure-5_8_0.car

install

The install command installs a cartridge on the Foglight Management Server.

fglcmd connection_options -cmd cartridge:install [-passive] [-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 .

passive

None

Indicates that the cartridge should be installed, but not activated.

f

file_path

Specifies the path and file name of the cartridge file that is to be installed.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd cartridge:install -f C:\Quest\carts\Infrastructure-5_8_0.car

uninstall

The uninstall command uninstalls a Foglight cartridge.

You can only uninstall a disabled cartridge. For information on how to disable a cartridge using the fglcmd interface, see disable .

fglcmd connection_options -cmd cartridge:uninstall [-n name] [-v version]

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 .

n

name

Specifies the name of the cartridge that is to be uninstalled.

v

version

Specifies the version of the cartridge that is to be uninstalled.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd cartridge:uninstall -n Infrastructure -v 5.9.x

Enabling or Disabling Cartridges

The disable command deactivates a Foglight cartridge.

When you install a cartridge on the Foglight Management Server using default options either through the fglcmd interface or the Administration dashboards, Foglight activates that cartridge upon creation. For information on how to install a cartridge using the fglcmd interface, see install ; to find out how to activate an inactive cartridge using fglcmd, see enable .

fglcmd connection_options -cmd cartridge:disable [-n name] [-v version]

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 .

n

name

Specifies the name of the cartridge that is to be disabled.

v

version

Specifies the version of the cartridge that is to be disabled.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd cartridge:disable -n Infrastructure -v 5.9.x
Related Documents