After log in into zabbix webinterface we ned to configure the Zabbix Server as Zabbix Client.

Configuration/Hosts

Click on Zabbix Server

Select Encryption

Select in Connetions to hosts: PSK

Select in Connections from host: PSK

PSK Identity: PSK_Zabbix_Server

PSK: Here we need to put the value of (cat /etc/zabbix/zabbix_agentd.psk) it will be something like: 0582bd62e1cc1a257260ea6b99d0cfc4cfd20d3f6a794c9ad830efe8b56a9c30

Now Click in Host Inventory

Select Automatic

Now click Host and Select Enabled

Now select Update

Now we need to restart the Zabbix client service like this

systemctl restart zabbix-agent

Installing and Configuring Zabbix Proxy

Let's configure the Zabbix Proxy, sometimes we need to have monitoring inside large organizations and we do not have all the access that we need, so we can configure the Zabbix Proxy inside the organization to send information to Zabbix Server.

Note: The Zabbix Proxy is configured in another host rather than Zabbix Server.

Now we need to install the necessary packages, let's start installing the database, we need the database to get all the information from the client store it and send to Zabbix server.