Chat now with support
Chat with Support

We are aware of the intermittent issues with the support portal and are working to resolve them as quickly as possible. If you need assistance with opening a support case, please call support:1 (800) 306-9329 or (949) 754-8000

Foglight Evolve 6.0.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

blackouts

The blackouts command lists all blackouts currently assigned to topology objects. A blackout schedule defines the periods of time during which no alarms are raised for a specified object instance.

Blackout schedules can be assigned to object instances using the blackoutobject command (see page 104).

fglcmd connection_options -cmd topology:blackouts [-query "topology_query"]
C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd topology:blackouts -query "Host where name = 'host1.example.com'"

Listing Schedules

The list command generates a list of all Foglight schedules.

fglcmd connection_options -cmd schedule:list

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 .

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd schedule:list

list

The list command generates a list of all Foglight schedules.

fglcmd connection_options -cmd schedule:list

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 .

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd schedule:list

Running Scripts

The run command runs a script.

Typically, this command is used to run scripts that are deployed with Foglight cartridges, and is used in maintenance and support tasks when required.

fglcmd connection_options -cmd script:run -f file_path
C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd script:run -f my.script

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating