How To Install & Configure Zabbix 5.0 on Centos 8

preview_player
Показать описание
Zabbix is an open-source (NPM) for IT organizations to monitor IT Infrastructure including networks, servers, virtual machines and cloud services. Zabbix is an open-source NPN for IT organizations to monitor IT Infrastructure including networks, servers, virtual machines and cloud services. Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption.

And you can Customize it to enterprise grade.

1. Disable SELinux

sudo setenforce 0
sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/g' /etc/selinux/config
cat /etc/selinux/config | grep SELINUX=

2. Install Apache

dnf -y install @httpd
systemctl enable --now httpd

3. Install MariaDB

dnf module install mariadb
rpm -qi mariadb-server (To know version of MariaDB)
systemctl enable --now mariadb
mysql_secure_installation (Harden your database)
mysql -u root -p

4. Create Database & User

CREATE DATABASE zabbix character set utf8 collate utf8_bin;
GRANT ALL PRIVILEGES ON zabbix.* TO zabbix@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
QUIT;

5. Zabbix Server Frontend Installation

dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent

6. Import Initial Schema

DBName=zabbix
DBUser=zabbix
DBPassword=StrongPassword

8. Configure PHP for Zabbix Frontend

9. Restart Zabbix services

systemctl restart zabbix-server zabbix-agent httpd php-fpm
systemctl enable zabbix-server zabbix-agent httpd php-fpm

systemctl status zabbix-server ( Server Status )

10. Configure Zabbix Frontend Optional

memory_limit 128M
upload_max_filesize 8M
post_max_size 16M
max_execution_time 300
max_input_time 300

11. Allow ports on firewall

sudo firewall-cmd --add-service=http --permanent
sudo firewall-cmd --add-port={10051,10050}/tcp --permanent
sudo firewall-cmd --reload
max_input_vars 10000

sudo systemctl restart httpd php-fpm

End of File
_______________________________________
Рекомендации по теме
Комментарии
Автор

Thanks. I I watched the outdated video from Zabbix. that did not much for me. this was a nice step by step instruction. I was setting up version 5.2 of zabbix and I could use this video for reference.

orgeirjonsson
Автор

Good Work man! Looking forward for more interesting content.

HudhaifaYoosuf
Автор

Very good tutorials,
How did you edit the time zone and other tweeks. What keys on the keyboard did you used ? from numbers 7- 10.
Thank you

dancujo
Автор

This is good and informative thank you for this , could you please upload next video...

dattusanap
Автор

Hi I managed to install the front end but it shows server is not running. Would be much appreciated for your help thank u

jonathanlim
Автор

i am facing an erroe, when I add client agent in host with the server IP, it is showing, Get value from agent failed

AliAbid-ksrp
Автор

status code 404 on zabbix server frontend installation..

reyanthonyperuelo
Автор

can u just ping me am facing issue while dp configuration

naveen