Zabbix
Jump to navigation
Jump to search
Contents
Zabbix
Zabbix merupakan open source software tool yang digunakan untuk melakukan monitoring infrastruktur jaringan, server, virtual machine, dan servis cloud.
Instalasi
Pada kasus ini, menggunakan
- OS: ubuntu 20.04
- Web server: apache
- DBMS: mysql
Pastikan sudah melakukan instalasi apache dan mysql
Install Repository
wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-3%2Bubuntu20.04_all.deb dpkg -i zabbix-release_6.0-3+ubuntu20.04_all.deb sudo apt update
Install Zabbix server, frontend, agent
sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
Create initial database
Documentation
Make sure you have database server up and running.
Run the following on your database host.
mysql -uroot -p <isi password> mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin; mysql> create user zabbix@localhost identified by 'password'; mysql> grant all privileges on zabbix.* to zabbix@localhost; mysql> quit;
On Zabbix server host import initial schema and data. You will be prompted to enter your newly created password.
zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p zabbix
Configure the database for Zabbix server
Edit file /etc/zabbix/zabbix_server.conf
DBPassword=password
Start Zabbix server and agent processes
Start Zabbix server and agent processes and make it start at system boot.
systemctl restart zabbix-server zabbix-agent apache2 systemctl enable zabbix-server zabbix-agent apache2