지금 지원 담당자와 채팅
지원 담당자와 채팅

Foglight 7.3.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:

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택