You can issue the administrative commands on the computer running the Foglight Management Server, or on a remote computer in your network. Your Foglight installation includes a compressed file, fglcmd.zip, that contains all of the administrative commands. To get started, make sure you have the Foglight Management Server and Foglight Agent Manager running, and, if you are planning to access the administrative interface remotely, copy and extract the contents of the compressed file to your remote computer.
1 |
If you want to use the fglcmd interface on a remote computer in your monitoring network, complete the following steps: |
a |
Copy the <foglight_home>/tools/fglcmd.zip file from the computer that has a running instance of the Foglight Management Server to the remote computer, where foglight_home refers to the installation directory of the Foglight Management Server. |
b |
Extract the contents of the fglcmd.zip file to the remote computer. |
2 |
Specify the directory that contains the Foglight Management Server commands, either <foglight_home>/bin or the directory on the remote computer (see Step 1), by completing one of the following steps. |
• |
If you want to use the command prompt, open a Command Prompt window (Windows®) or a terminal window (UNIX® or Linux®) and navigate to the appropriate directory. |
3 |
Foglight Management Server enables only the HTTPS port for remote access, and installs a self-signed certificate. The security certificate allows the server to communicate with a remote machine through the HTTPS protocol. If you intend to use the administrative commands either on a remote computer, or on a Foglight Management Server computer through the HTTPS protocol, you need to export the security certificate from the Foglight Management Server, and import it into your JRE environment, as described below. |
4 |
Issue one or more administrative commands using command prompt or a script. From here, you can issue any fglcmd commands described in the following , as required. |
In this example, you will issue an administrative command that lists the agent packages that can be deployed to the Foglight Agent Manager using the packages command. The syntax of the packages command is as follows:
For more information about the command syntax, see Managing Agents, Cartridges, and Metrics .
In this example, you will issue the packages administrative command to list all Foglight Agent Manager instances and the agent packages that can be deployed to each Agent Manager instance.
• |
In the Command Prompt window (Windows®) or the terminal window (UNIX® or Linux®), type the following command: |
Foglight includes a selection of commands that allow one to perform administrative tasks using a command-line interface, such as installing and deploying agents, adding or removing licenses, assigning schedules, or exporting various types of metrics. The table below lists Foglight commands in alphabetical order and identifies their scope. For more information about command scope, see Managing Agents, Cartridges, and Metrics .
The fglcmd command includes an option that you can use to list all of the administrative commands and their descriptions, grouped by their respective scope.
For complete information about fglcmd, see Logging In and Setting the Scope .
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center