Install Supported Agents on Remote Hosts
You can install supported Agent on a remote host or multiple remote hosts using a primary Smart Agent host.
- (If using the download portal) Run the following command:
-
For Linux:CODE
sudo ./smartagentctl install <agent-type> <options> --remote -
For Windows:CODE
./smartagentctl.exe install <agent-type> <options> --remoteNote: For the list of required and recommended options, see Configuration Options for Supported Agents .
-
- (If using the local directory) Download the agent zip file from the Downloads portal to the current Smart Agent directory, and then run the following command:Ensure that the agent zip file is included in the Smart Agent directory.
-
For Linux:Here,CODE
sudo ./smartagentctl install <agent-type> --remote --download_uri <path>/<agent-type>.zip --download_protocol local <options>pathis the relative path of the existing Smart Agent directory. For example, if you have downloaded Machine Agent zip file at<smartagent>/agent/machine-agent.zip, specify the following:CODEsudo ./smartagentctl install machine --remote --download_uri agent/machine-agent.zip --download_protocol local <options> -
For Windows:CODE
./smartagentctl.exe install <agent-type> --remote --download_uri <path>/<agent-type>.zip --download_protocol local <options>Note:Here, options are the configuration options. See Configuration Options for Supported Agents for the required and recommended options.
-
- (If using custom HTTP server) Run the following command:
-
For Linux:PYTHON
sudo ./smartagentctl install <agent-name> --install-agent-from https://url-path/<agent-type>.zip --download_protocol http <options> -
For Windows:PYTHON
./smartagentctl.exe install <agent-type> --remote --install-agent-from https://url-path/agent.zip --download_protocol http <options>Note:Here, options are the configuration options. See Configuration Options for Supported Agents for the required and recommended options.
-