---
title: "Multiple Activity Agents Deployment"
description: "Learn how to deploy Activity Monitor agents to multiple hosts at once by entering or importing host names, setting credentials, and choosing install options."
sidebar_position: 20
---

# Multiple Activity Agents Deployment

Before deploying the activity agent, ensure all Prerequisites are met, including those for NAS
devices when applicable. See the [Activity Agent Server Requirements](/docs/activitymonitor/10.2/requirements/activity-agent.md) topic
for additional information.

:::note
These steps are specific to deploying activity agents for monitoring supported target
environments.
:::


**Step 1 –** On the Agents tab, click Add agent to open the Add New Agents window.

![Install New Agent](/images/activitymonitor/9.0/install/agent/installnew.webp)

**Step 2 –** On the Install new agent page, click the install agents on multiple hosts link to
deploy activity agents to multiple hosts.

![Specify Agent Port page - specify port that should be used by new agent](/images/activitymonitor/9.0/install/agent/portdefault.webp)

**Step 3 –** On the Specify Agent Port page, specify the port that should be used by the new agent.
The default port is 4498. Click **Next**.

![Install Agents on Multiple Hosts page](/images/activitymonitor/9.0/admin/agents/add/installagentsonmultiplehosts.webp)

**Step 4 –** Windows or Linux hosts can be entered as either a name or an IP Address. The options
are:

- Add server — Opens the Host name or IP address window. See the Manual Entry topic for additional
  information.
- Remove — Removes an entered host name or IP address from the table
- Import — Opens the Import from file window. See the Import a List topic for additional
  information.

There are two methods for adding multiple hosts are:

**Manual Entry**

Use **Manual Entry** to manually enter the host names or IP addresses of the servers to be monitored.

![Enter Host Name or IP Address window](/images/activitymonitor/9.0/admin/agents/add/hostnameoripaddresswindow.webp)

For Manual Entry, the options are:

- Click Add server. The Host name or IP Address window opens.
- Enter the servers, separating the hosts with spaces, commas, or semicolons.
    - (Optional) A multi-line list can be pasted into this textbox. When the servers have been
      entered, click OK. The Host name or IP address window closes and the identified servers are in
      the list.

**Import a List**

Use **Import a List** to import host names or IP addresses from an external source.

![Import Hosts from a CSV File window](/images/activitymonitor/9.0/admin/agents/add/importhostsfromacsvfilewindow.webp)

For Import a List:

- Click Import. The Import from file window opens.
- Enter the file path, or use the ellipsis (…) to navigate to the file.
- Identify the Separator used on the file (Comma, Semicolon, Tab, or Space). This is set to
  **Comma** for CSV format by default.
- If the first row of the file contains column headers, then check the First row contains field
  names box. If there are no column headers, uncheck this box.
- A preview of the selected file displays. Select the column with the host names.
- Click OK. The Import from file window closes and the identified servers are in the list.

The Activity Monitor will monitor the Host Names or IP Address added to the **Install Agents on
Multiple Hosts** table. Click **Next**.

![Credentials to Connect to the Servers window](/images/activitymonitor/9.0/install/agent/credentials.webp)

**Step 5 –** On the Credentials To Connect To The Servers page, connect to the server using either
a **User name** and **password**, a Public Key, or a Client Certificate.

The options for connecting with a Password are:

- User name
- Password

![Credentials to Connect to the Servers ](/images/activitymonitor/9.0/admin/agents/add/publickey.webp)

The options for connecting with a Public Key are:

- User name
- Private Key

- Use the Public Key option to install an agent using SSH

![clientcertificate](/images/activitymonitor/9.0/admin/agents/add/clientcertificate.webp)

To connect with a Client Certificate, select the Client Certificate (for already installed agents)
option. Copy the following command into a command prompt:

**activity-monitor-agentd --create-client-certificate --client-name [NAME]**

Using an existing Client Certificate installs a new agent without using SSH.

**Step 6 –** Click **Connect** to test the connection. If the connection is successful, click
**Next**.

The credentials are tested against each server added on the **Install Agents on Multiple Hosts**
page. If the connection is unsuccessful, see the status message that appears for information on the
failed connection. Activity agents are only successfully deployed for servers where the test status
returns Ok. Failed deployments can be retried through the Connection tab of the agent’s Properties
window. When one or more of the connections are successful, click Next.

![Agent Installation Path page](/images/activitymonitor/9.0/admin/agents/add/agentinstalllocation.webp)

**Step 7 –** On the Agent Install Location page, browse to theselect the agent installation path.
The default path is `C:\Program Files\Netwrix\Activity Monitor\Agent`. Click **Next**.

![Windows Agent Settings](/images/activitymonitor/9.0/admin/agents/add/enablewindowsfileactivitymonitoring.webp)

**Step 8 –** On the Windows Agent Settings window, configure the following options:

- Add Windows file activity monitoring after installation — Check the Add Windows file activity
  monitoring after installation checkbox to enable monitoring all file system activity on the
  targeted Windows server after installation.
- Management Group — By default, the agent only accepts commands from members from the
  BUILTIN\Administrators group. You can configure less privileged accounts to manage the agent with the
  Management group setting. You must use an administrator account to install,
  upgrade, or uninstall an agent.

**Step 9 –** Click Finish. The Add New Agents window closes, and Activity Monitor deploys and installs the activity agent on the target host.

During the installation process, the status will be **Installing**. If there are any errors, the
Activity Monitor stops the installation for that host and lists the errors in the **Agent messages**
box.

![Multiple Agents Installed](/images/activitymonitor/9.0/admin/agents/add/adagentinstalled.webp)

When the activity agent installation completes, the status changes to **Installed** and the activity
agent version populates. The next step is to add hosts to be monitored. See the
[Monitored Hosts & Services Tab](/docs/activitymonitor/10.2/configuration/monitored-hosts/overview.md) topic for additional information.
