# Detailed Guide — Installation of Zabbix Agent 7.0.12 LTS on Windows (64-bit)

This step-by-step guide is used to install **Zabbix Agent 7** on **Windows** machines (**64-bit**), using the **.msi installer** with **OpenSSL**, even in environments with remote machines spread across Brazil. It does not require advanced technical knowledge.

## **Prerequisites**

Before installing, you need to:

* Have **administrator access** to the machine
* Be **connected to the internet**
* Know the **IP** or **domain** of the **Zabbix server**
* Install **Microsoft Visual C++ Redistributable 2015–2022 (x64)**

## **Download the Zabbix Agent**

1. Access:  [Zabbix Agent 2](https://www.zabbix.com/download_agents?version=7.0+LTS\&release=7.0.12\&os=Windows\&os_version=Any\&hardware=amd64\&encryption=OpenSSL\&packaging=MSI)
2. Download the file: `zabbix_agent2-7.0.12-windows-amd64-openssl.msi`
3. Save it in a folder such as: `C:\Instaladores\`

## **Install the Microsoft Visual C++ Redistributable**

1. Download here:  [Microsoft Visual C++ Redistributable](https://aka.ms/vs/17/release/vc_redist.x64.exe)
2. Run the installer: `vc_redist.x64.exe`
3. Click **Install** and wait
4. Restart the **computer** if prompted

## **Install the Zabbix Agent**

* #### &#x20;**Screen 1** — Welcome
  * Click **Next**
* **Screen 2** — License Terms
  * Check “**I accept the terms…**”
  * Click **Next**
* **Screen 3** — Agent Configuration
  * Fill in carefully and click **Next**

| Field                    | What to enter                                                                                           |
| ------------------------ | ------------------------------------------------------------------------------------------------------- |
| **Zabbix Server**        | The **IP** or **domain** of the **Zabbix server** (e.g., `200.175.10.25` or `zabbix.yourcompany``.com`) |
| **Agent Hostname**       | **Unique name** of the machine (e.g., `FILIAL-SP-PC01`)                                                 |
| **Listen Port**          | `10050` (default)                                                                                       |
| **TLS/PSK/Certificados** | Leave **unchecked** if not using **advanced encryption**                                                |

## **Understanding the Configuration of the 'Zabbix Server' Field**

This field is **ESSENTIAL**: it defines who can connect to the **agent** and collect the data.\
If your company has:

* A **central Zabbix Server** (in the cloud or at headquarters)
* Several **Windows machines**&#x20;

You must fill in the **“Zabbix Server”** field with the exact address of the server that will monitor the machines, for example:

```
zabbix.yourcompany.com
ou
200.100.150.200
```

&#x20;**Important**:

* The **Zabbix server** must be able to reach this **Windows machine** via the **internet** or **VPN**
* The **TCP port 10050** must be open in the machine’s **firewall**
* The name set in **“Agent Hostname”** must be **unique** and match the one used in the **Zabbix Server**

**Useful tests:**

```
ping zabbix.minhaempresa.com
telnet zabbix.minhaempresa.com 10051
```

## **Check if the service is running**

1. Press `Win + R`, digite `services.msc`, and click **OK**
   * Or search in the taskbar for **Run** `run`.
2. Look for the service named:  `Zabbix Agent 2`
3. It should have the status **Running.** If not:

* Right-click
* Select **Start**

## **Add the Host to the Zabbix Server**

1. Access the **Zabbix dashboard**
2. Go to **Monitoring → Hosts → Create Host**
3. Fill in:
   * **Hostname**: same as the machine name
   * **IP Address**: machine’s IP
   * **Agent interface**: port `10050`
4. Apply the **template**: **Windows by Zabbix agent**
5. Wait a few minutes for the **data** to start appearing

## **Common Problems and Solutions**

| Problem                                              | Solution                                                         |
| ---------------------------------------------------- | ---------------------------------------------------------------- |
| Agent service does not start.                        | Install o `vc_redist.x64.exe.`                                   |
| Host appears as “Unavailable”.                       | Allow port 10050 in the firewall.                                |
| Incorrect hostname.                                  | Check if it matches the name configured on the machine.          |
| TLS error or connection denied.                      | Uncheck encryption if it is not configured on the Zabbix Server. |
| No communication between the machine and the server. | Run ping and telnet tests to confirm access.                     |

## **Conclusion**

After following these steps:

* The **Zabbix agent** is installed.
* The **Zabbix server** can collect **metrics** from the machine.
* The machine is **standardized** and ready for **centralized monitoring**.

**Tip**: Use this guide in all **branches** to maintain a consistent **installation standard**.
