filmov
tv
How to install Zabbix Proxy on Raspberry PI with PSK encryption
![preview_player](https://i.ytimg.com/vi/_aXeFuvze5Q/maxresdefault.jpg)
Показать описание
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 )
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 )
Комментарии