How to Install Zabbix Monitoring Tool on Debian 11 – Holhol24
Zabbix is an open-source tracking instrument for servers, packages, and community units. It makes use of an agent put in at the faraway machine to assemble the efficiency knowledge.
Zabbix additionally helps tracking by the use of SNMP, TCP, and ICMP assessments and over IPMI, JMX, SSH, and telnet.
Here, we will be able to see the best way to set up Zabbix tracking instrument on Debian 11.
Install Zabbix Monitoring Tool
Zabbix calls for at least 128MB of RAM and 256MB of HDD area. So, you’ll get started with 2 vCPU and 2GB of RAM for tracking as much as 500 faraway methods.
Add Zabbix repository
Zabbix server and agent applications are to be had from the devoted Zabbix repository. So, to get applications, it is important to configure the Zabbix repository through putting in the Zabbix repository configuration package deal.
wget wget https://repo.zabbix.com/zabbix/5.0/debian/pool/major/z/zabbix-release/zabbix-release_5.0-2+debian11_all.deb sudo dpkg -i zabbix-release_5.0-2+debian11_all.deb
Install Zabbix Server
Use the apt
command to put in the Zabbix server in conjunction with the MariaDB database server.
sudo apt replace sudo apt set up -y zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent mariadb-server mariadb-client
Edit the Zabbix configuration document to replace the timezone in accordance with the geographic location.
sudo nano /and so on/zabbix/apache.conf
Uncomment and replace your time zone in line provide between
and . You too can in finding extra time zones at the reliable PHP web page.
php_value date.timezone America/New_York
Create Database for Zabbix
Login to the MariaDB server and create a database for Zabbix set up.
sudo mysql -u root -p
Create a database as in keeping with your requirement. For this put up, I guess the next.
Database Name: zabbixdb
User: zabbixuser
Password: password
create database zabbixdb persona set utf8 collate utf8_bin; grant all privileges on zabbixdb.* to zabbixuser@localhost known through 'password'; hand over;
After making a database, import the preliminary schema and information into it. When the beneath command activates for the password, input the Zabbix database consumer’s password.
zcat /usr/proportion/document/zabbix-server-mysql/create.sql.gz | mysql -u zabbixuser -p zabbixdb
Edit the /and so on/zabbix/zabbix_server.conf
document to replace the database data.
DBName=zabbixdb
DBUser=zabbixuser
DBPassword=password
sudo sed -i 's/DBName=.*/DBName=zabbixdb/' /and so on/zabbix/zabbix_server.conf sudo sed -i 's/DBUser=.*/DBUser=zabbixuser/' /and so on/zabbix/zabbix_server.conf sudo sed -i 's/# DBPassword=.*/DBPassword=password/' /and so on/zabbix/zabbix_server.conf
Restart all of the services and products.
sudo systemctl restart zabbix-server zabbix-agent apache2
Enable the services and products to start out routinely on machine boot.
sudo systemctl allow zabbix-server zabbix-agent apache2
Setup Zabbix Monitoring Tool by the use of Web Installer
Open a internet browser and move to the next URL.
http://your-ip-add-ress/zabbix/
1. Click the Next step at the Welcome to Zabbix web page.
2. Zabbix installer now assessments for whether or not all pre-requisites are met for set up or any problems. If there are not any mistakes, click on Next step.
3. Enter the Zabbix database identify, consumer, and password to Configure DB connection. Then, click on Next step.
4. Enter the identify of the Zabbix server at the Zabbix server main points web page after which click on Next step.
5. Review the Pre-installation abstract after which click on Next step if the whole thing is right kind.
6. Zabbix server set up is now whole. Click Finish.
7. Once you click on the Finish button, the installer will redirect you to the Zabbix Login Page.
Access Zabbix Monitoring Tool
Go to the beneath URL to get right of entry to the Zabbix tracking instrument.
http://your-ip-add-ress/zabbix
Log in to Zabbix Server with the default username and password.
Username: Admin
Password: zabbix
The username is case-sensitive.
Zabbix Dashboard:
Conclusion
That’s All. I am hoping you’ve discovered the best way to set up Zabbix tracking instrument on Debian 11. You can now set up Zabbix Agent on Jstomer machines after which upload your Jstomer machines to the Zabbix server for tracking.