Tchater maintenant avec le support
Tchattez avec un ingénieur du 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

createuser

The createuser command creates a Foglight user account. When you create a user account, you can add it to a group using the assigngroup command.

fglcmd connection_options -cmd security:createuser -username user_name -password user_password

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 .

password

user_password

Specifies the password of the user account that is to be created.

username

user_name

Specifies the name of the user account that is to be created.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:createuser -username Demo -password Demo123

deletegroup

The deletegroup command removes a Foglight group.

fglcmd connection_options -cmd security:deletegroup -groupname group_name

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 .

groupname

group_name

Specifies the name of the group that is to be deleted.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:deletegroup -groupname MyGroup

deleteuser

The deleteuser command removes a Foglight user account.

fglcmd connection_options -cmd security:deleteuser -username user_name

username

user_name

Specifies the user name of the account that is to be deleted.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:deleteuser -username Demo

exportldapcfg

The exportldapcfg command exports the existing Lightweight Directory Access Protocol (LDAP) settings to an XML file. 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. Once exported, the LDAP settings can be imported into Foglight using the importldapcfg command.

fglcmd connection_options -cmd security:exportldapcfg <-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 XML file to which the LDAP settings are to be exported.

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

The content of the exported XML file is similar to the following content:

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation