linux  RPi  zabbix

  Inhaltsverzeichnis:

zabbix server

2024-08-21 / 2024-08-21

RPi Installation

https://www.zabbix.com/download?zabbix=6.0&os_distribution=raspberry_pi_os&os_version=11_bullseye&db=mysql&ws=apache

wget https://repo.zabbix.com/zabbix/6.0/raspbian/pool/main/z/zabbix-release/zabbix-release_6.0-2+debian11_all.deb
sudo dpkg -i zabbix-release_6.0-2+debian11_all.deb
sudo apt update
sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

Maria-DB Installieren

~ $ sudo mysql -uroot -p
create database zabbix character set utf8 collate utf8_bin;
grant all privileges on zabbix.* to zabbix@localhost identified by '$!j1k4!fVAS=-)8fr';
quit;

~ $ zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p'$!j1k4!fVAS=-)8fr' zabbix

~ $ sudo nano /etc/zabbix/zabbix_server.conf
DBPassword=♯crypt♯

~ $ sudo nano /etc/zabbix/apache.conf
php_value date.timezone Europe/Berlin

~ $ sudo systemctl restart zabbix-server zabbix-agent apache2
~ $ sudo systemctl enable zabbix-server zabbix-agent apache2

https://zabbix
Admin/zabbix

~$ sudo nano /etc/iptables/up.r
# Zabbix-Server
-A INPUT -p tcp --dport 10051 -j ACCEP