Chatee ahora con Soporte
Chat con el soporte

Foglight 6.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

Logging In and Setting the Scope

The fglcmd command connects to the Foglight Management Server and sets the scope for the administrative command.

 

fglcmd {(-usr user_name -pwd password)|-authtoken token} [-debug]
[-port server_port] [-srv {server_name|server_IP_address}] [-ssl]
[-proxy proxy_uri] -cmd {scope:command command_options|commands}

 

NOTE: The usr, pwd, debug, port, srv, and ssl options are used to specify connection information. Another way of specifying connection options is using a properties file, fglcmd.properties. When configured, fglcmd uses the information in that file to retrieve connection parameters which eliminates the need to specify them on the command line each time you issue an fglcmd command. For more information, see Using a Properties File to Supply Connection Information .

 

 

 

 

authtoken

token

cmd

scope

Manages agents and agent managers.

Manages cartridges.

Lists administrative commands.

Manages licenses.

Lists schedules.

Runs scripts.

Manages security entities.

Creates support bundles.

Assigns blackout schedules.

Contains utility commands.

debug

None

Turns the debugging on.

port

server_port

Specifies the server’s port number. The default port number is 8080 (HTTP) or 8443 (HTTPS). For more information on default port assignments, see the Administration and Configuration Help.

proxy

proxy-uri

Specifies the URI of proxy server. Three types of proxy protocols with or without authentication are supported, including HTTP, HTTPs, and SOCKS.

The generic syntax is:

{http|https|socks}://[username:password@]{proxy_server_hostname|IP}:port

pwd

password

Specifies the password of Foglight user.

NOTE: If the password argument is not provided, fglcmd prompts for the password after a command is issued.

srv

server_name

Specifies the server’s name.

server_IP_address

Specifies the server’s IP address.

ssl

None

Connects to the Foglight Management Server through a secure HTTP connection (HTTPS). Unless this option is specified, fglcmd uses an HTTP connection. For information about default port numbers, see port .

usr

user_name

Specifies the user name for logging into Foglight.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd agent:clients -host .*.corp -regex

fglcmd

The fglcmd command connects to the Foglight Management Server and sets the scope for the administrative command.

 

fglcmd {(-usr user_name -pwd password)|-authtoken token} [-debug]
[-port server_port] [-srv {server_name|server_IP_address}] [-ssl]
[-proxy proxy_uri] -cmd {scope:command command_options|commands}

 

NOTE: The usr, pwd, debug, port, srv, and ssl options are used to specify connection information. Another way of specifying connection options is using a properties file, fglcmd.properties. When configured, fglcmd uses the information in that file to retrieve connection parameters which eliminates the need to specify them on the command line each time you issue an fglcmd command. For more information, see Using a Properties File to Supply Connection Information .

 

 

 

 

authtoken

token

cmd

scope

Manages agents and agent managers.

Manages cartridges.

Lists administrative commands.

Manages licenses.

Lists schedules.

Runs scripts.

Manages security entities.

Creates support bundles.

Assigns blackout schedules.

Contains utility commands.

debug

None

Turns the debugging on.

port

server_port

Specifies the server’s port number. The default port number is 8080 (HTTP) or 8443 (HTTPS). For more information on default port assignments, see the Administration and Configuration Help.

proxy

proxy-uri

Specifies the URI of proxy server. Three types of proxy protocols with or without authentication are supported, including HTTP, HTTPs, and SOCKS.

The generic syntax is:

{http|https|socks}://[username:password@]{proxy_server_hostname|IP}:port

pwd

password

Specifies the password of Foglight user.

NOTE: If the password argument is not provided, fglcmd prompts for the password after a command is issued.

srv

server_name

Specifies the server’s name.

server_IP_address

Specifies the server’s IP address.

ssl

None

Connects to the Foglight Management Server through a secure HTTP connection (HTTPS). Unless this option is specified, fglcmd uses an HTTP connection. For information about default port numbers, see port .

usr

user_name

Specifies the user name for logging into Foglight.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd agent:clients -host .*.corp -regex

Using a Properties File to Supply Connection Information

Foglight connection information, such as the user name and password, can be supplied on the command line, using a specific set of command-line options, or through a properties file. Specifying connection options in the properties file eliminates the need to type them each time you issue an fglcmd command.

This describes the required structure and location of that file. For information on specifying connection options on the command line, see Logging In and Setting the Scope .

File name and location

~/fglcmd.properties

C:\Documents and Settings\<user_name>\fglcmd.properties

usr=user_name
pwd=password
TIP: If you specify the password in this file, it is recommended to read-protect the properties file. For example, to read-protect a file on Unix, use the -R world option; on Windows, files can be read-protected by associating read permissions with particular users or groups.
[srv={server_name|server_IP_address}]
[port=server_port]
[debug={true|false}]
[ssl={true|false}]
IMPORTANT: The cmd option, used to specify a specific fglcmd command, cannot be set through the properties file. This option can only be used when issuing fglcmd commands.

debug

true or false

Turns the debugging on (true) or off (false).

port

server_port

Specifies the server’s port number. The default port number is 8080 (HTTP) or 8443 (HTTPS). For more information on default port assignments, see the Administration and Configuration Help.

pwd

password

Specifies the password of the Foglight user.

NOTE: If the password argument is not provided, fglcmd prompts for the password after a command is issued.

srv

server_name

Specifies the server’s name.

server_IP_address

Specifies the server’s IP address.

ssl

None

Connects to the Foglight Management Server through a secure HTTP connection (HTTPS). Unless this option is specified, fglcmd uses an HTTP connection. For information about default port numbers, see port .

usr

user_name

Specifies the user name for logging into Foglight.

C:\Documents and Settings\<user_name>\fglcmd.properties

C:\Quest\Foglight\bin>fglcmd -cmd agent:clients -host .*.corp -regex
Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación