---
title: Zabbix Installation
slug: run-a-validator/zabbix-installation
description: Learn how to easily install and set up the powerful Zabbix monitoring platform with this comprehensive document. Follow step-by-step instructions for downloading the latest release, installing the necessary binaries, and configuring the settings. Discover
docTags: 
createdAt: 2023-08-20T01:21:28.026Z
---



:::hint{type="success"}
**To help the Development Team to know how our hardware is performing and see the hardware metrics of the whole cluster, we are asking you to enable a central monitoring platform called Zabbix. We will use this info to make recomendations if/when we require upgraded equipment**
:::

:::hint{type="warning"}
NOTE: Run as `root`
Prepend comands with `sudo` or use `sudo -i` for the session.
:::

![](https://api.archbee.com/api/optimize/ePevXmvzgG-7aqJ72Gpg_/Yj8fvMA-hX0PjqI9UQxuh_image.png)

## Installation of the Zabbix Binaries

### Download the release

:::CodeblockTabs
CLI

```linux
wget https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb
```
:::

:::CodeblockTabs
CLI

```linux
dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
```
:::

:::CodeblockTabs
CLI

```linux
apt update
```
:::

### Install the release

:::CodeblockTabs
CLI

```linux
apt -y install zabbix-agent
```
:::

###

### Configure the settings

First we'll make a backup of the config file

:::CodeblockTabs
CLI

```linux
cp /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf.bak
```
:::

Make note of your `hostname`

:::CodeblockTabs
CLI

```linux
hostname
```
:::

Open the config file in your editor

:::CodeblockTabs
nano

```linux
nano /etc/zabbix/zabbix_agentd.conf
```

vim

```linux
vim /etc/zabbix/zabbix_agentd.conf
```
:::

Change or uncomment these settings, save and exit

:::CodeblockTabs
nano

```linux
Server=monitor.devnet.xandeum.com
ListenPort=10050
ServerActive=monitor.devnet.xandeum.com
Hostname=<enter your hostname>
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=xand_autoReg
TLSPSKFile=/etc/zabbix/secret.psk
```
:::

:::hint{type="info"}
Note: you will need to search through the config file to find the matching config settings to change.&#x20;
:::

Next set the PSK secret

:::CodeblockTabs
nano

```linux
nano /etc/zabbix/secret.psk
```

vim

```linux
vim /etc/zabbix/secret.psk
```
:::

Paste this key into the file, save and exit

:::CodeblockTabs
CLI

```linux
de4db078715c539e5ef80c8c520dabedc473413b6e9ca90909abbf1362b27888
```
:::

Restart the Zabbiz Service

:::CodeblockTabs
CLI

```linux
systemctl restart zabbix-agent
```
:::

Watch the logs if you want:

:::CodeblockTabs
CLI

```linux
sudo tail -f /var/log/zabbix/zabbix_agentd.log
```
:::

:::hint{type="warning"}
NOTE: We have this service firewalled! You must fill out the onboarding form in [Validator v0.2.1 Installation](docId\:I5ZnhHNflJrBkBxxAoDye) so we can allow your box to send us metrics!&#x20;
:::



### Port Configuration

Ports 10050-10051 TCP/UDP should be forwarded to the validator for Zabbix to connect

Continue to [Onboarding](docId\:GCCROn6Pe1ofmwo4Sm2x9)
