Chat now with support
Chat with Support

Foglight 5.9.7 - Command-Line Reference Guide

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

importldapcfg

The importldapcfg command imports LDAP settings to Foglight. The source of the import is an XML file that has been previously exported with the exportldapcfg command. LDAP settings enable access to users whose account information is stored in an external system. For more information about the LDAP settings in Foglight, see the Administration and Configuration Help.

fglcmd connection_options -cmd security:importldapcfg -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 LDAP settings file that is to be installed.

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

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:importldapcfg -f ldap.xml

list

The list command lists users, groups, and/or roles, and indicates their relationships, as specified by a combination of the available options.

fglcmd connection_options -cmd security:list [-g] [-r] [-u] [-v]

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 .

g

None

Lists all groups that exist in Foglight.

r

None

Lists all roles that exist in Foglight.

u

None

Lists all users that exist in Foglight.

v

None

For each listed entity (user, group, and/or role), this option shows its relationships with other entity types (user, group, and/or role). For example, when listing users using the u option, this option also list the groups and roles associated with each user.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:list -u -g -r -v

Managing Foglight Licenses

Foglight allows you to access only those product features that are defined in your license file, and in some cases, during a specific time period. Your Foglight environment requires a license for the server and a license for each cartridge that is license-protected. Some Foglight cartridges are license-protected, while others do not require a license.

You can install any cartridges, regardless of whether they are listed in your Foglight license. Installing a license-protected cartridge without adding its license results in that cartridge being disabled by default. This describes the fglcmd commands that you can use to manage Foglight licenses. For more information about the licensing capabilities, see the Administration and Configuration Help.

import

The import command installs a Foglight license. Use it to install a Foglight license file whose name and location are specified by the argument.

For information on how to remove a license using the fglcmd interface, see remove .

fglcmd connection_options -cmd license:import -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 license file that is to be installed.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd license:import -f ..\license\foglight.license
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating