How to install Zabbix ( software tool to monitor IT infrastructure) on ubuntu

Published: 27 February 2023
on channel: Quickloss3
252
like

Update Server:
apt update && apt upgrade -y

Set hostname:
hostnamectl set-hostname ex.example.com

Install Nginx, MySQL, PHP:
sudo apt install nginx
sudo apt install mysql-server
sudo mysql_secure_installation
sudo apt install php-fpm php-mysql

Installing the Zabbix Server:
wget https://repo.zabbix.com/zabbix/5.0/ub...
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb
sudo apt update
sudo apt install zabbix-server-mysql zabbix-frontend-php
sudo apt install zabbix-agent

Configuring the MySQL Database:
sudo mysql -u root -p
create database zabbix character set utf8 collate utf8_bin;
create user zabbix@localhost identified by 'your_password';
grant all privileges on zabbix.* to zabbix@localhost;
quit;
zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
sudo nano /etc/zabbix/zabbix_server.conf
update
DBPassword=

Configuring Nginx for Zabbix:
sudo apt install zabbix-nginx-conf
sudo nano /etc/zabbix/nginx.conf
update
server {
listen 80;
server_name ex.example.com;

sudo nginx -t
sudo nginx -s reload

Configuring PHP for Zabbix:
sudo nano /etc/zabbix/php-fpm.conf
update
; php_value[date.timezone]

sudo systemctl restart php7.4-fpm.service
sudo systemctl start zabbix-server
sudo systemctl status zabbix-server
sudo systemctl enable zabbix-server

Configuring Settings for the Zabbix Web Interface:
http://server.ca-accountupdates.info

user- Admin
pass- zabbix



Installing and Configuring the Zabbix Agent

Update Server:
apt update && aptt upgrade -y

Set hostname:
hostnamectl set-hostname ex.example.com

install Zabbix server:
wget https://repo.zabbix.com/zabbix/5.0/ub...
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb
sudo apt update

install the Zabbix agent:
sudo apt install zabbix-agent
I'm replacing angled bracket with square bracket ###
sudo sh -c "openssl rand -hex 32 ] /etc/zabbix/zabbix_agentd.psk"
cat /etc/zabbix/zabbix_agentd.psk
sudo nano /etc/zabbix/zabbix_agentd.conf
update
Server=
ServerActive=
Hostname=
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=PSK 001
TLSPSKFile=/etc/zabbix/zabbix_agentd.psk

sudo systemctl restart zabbix-agent
sudo systemctl enable zabbix-agent
sudo systemctl status zabbix-agent
sudo ufw allow 10050/tcp


Watch video How to install Zabbix ( software tool to monitor IT infrastructure) on ubuntu online without registration, duration hours minute second in high quality. This video was added by user Quickloss3 27 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25 once and liked it lik people.