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.

Use the same installation commands with the --remote parameter to install supported agent on a remote host based on the source:
  1. (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> --remote
      Note: For the list of required and recommended options, see Configuration Options for Supported Agents .
  2. (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:
      CODE
      sudo ./smartagentctl install <agent-type> --remote --download_uri <path>/<agent-type>.zip --download_protocol local <options>
      Here, path is 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:
      CODE
      sudo ./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.

  3. (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.