How to install Zabbix Proxy on Raspberry PI with PSK encryption

preview_player
Показать описание
Hi guys, Here's a step by step video on how to set up Zabbix Proxy on a Raspberry PI. I had to record some with a camera, I don't know if there is a way to capture the video output, if you got any ideas, let me know! will make the quality much better :)

0:00 - Flash the SD card with Raspbian
08:35 - Initial IP Address on Raspberry PI
12:29 - Enable SSH
13:22 - Connect to the Raspberry PI with Putty and begin configuration
22:15 - Enable encryption

List of all commands used in this video in the correct order:

# Show's the IP configuration
ifconfig

# if you don't get a dhcp address, and have to set a static one

# Open the initial config
Sudo raspi-config

options 5: enable SSH

sudo reboot

putty to the ip address

- options 1: Change default password

- options 2: Change hostname

- options 4: Change time zone

- options 7: Advanced options - Expand file system

reboot

sudo su

# sudo apt update

apt upgrade

reboot

sudo su

sudo apt install -y zabbix-proxy-sqlite3 zabbix-agent zabbix-sender zabbix-get

- Change server ip
- Change hostname

- Change server active and passive server ip
- Change hostname

add proxy in zabbix GUI

sudo service zabbix-proxy start
sudo service zabbix-agent start

sudo systemctl enable zabbix-proxy
sudo systemctl enable zabbix-agent

enable encryption:

openssl rand -hex 32

Copy the generated value into zabbix

Copy the generated value into the new file you just created

TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=PSK 001

sudo service zabbix-proxy restart
sudo service zabbix-agent restart

Create a host in zabbix
add 2 templates:
- template app zabbix proxy
- template OS linux by zabbix agent active

( to see logs )
Рекомендации по теме
Комментарии
Автор

Awesome video. I can't believe that there are no comments. Thank you for putting the time and effort into putting this together.

BrianThomas
Автор

1) after installing the firmware in the root partition, create a file named ssh;
2) connect RPI to home router;
3) go to the router, find out the IP address of the RPI;
4) download putti;
5) log in remotely.

It is useful video! I will install one of these days. Then I will unsubscribe if interested)
P.S. sorry for my English)

homaas