Zabbix is an Open Source, high-level enterprise software designed to monitor and keep track of networks, servers and applications in real time. Build in a server-client model, Zabbix can collect different type of data than are used to create historical graphics and output performance or load trends of the monitored targets.
The server has the ability to check standard networking services (HTTP, FTP, SMTP, IMAP etc) without the need to install extra software on the monitored hosts.
However, in order to gather data and create statistics about local services or other specific system resources that run on remote instances, such as CPU, disks, internal system process, RAM, etc, you need to install and configure a Zabbix agent.
Step 2: Adding Apt Repository
Before installing Zabbix first configure zabbixzone rpm repository in our system using following commands.
For Ubuntu 16.04 and ubuntu 16.10 :
#wget http://repo.zabbix.com/zabbix/3.2/ubu...
#sudo dpkg -i zabbix-release_3.0-1+xenial_all.deb
#sudo apt-get update
For Debian 8:
#wget http://repo.zabbix.com/zabbix/3.2/deb...
#sudo dpkg -i zabbix-release_3.0-1+jessie_all.deb
#sudo apt-get update
Step 2: Install Zabbix Server
After adding zabbix apt repository in your system use following command to install Zabbix using mysql database.
#sudo apt-get install zabbix-server-mysql zabbix-frontend-php
Step 3: updating time zone
Update timezone in php configuration file /etc/php5/apache2/php.ini. Like below:
[Date]
; http://php.net/date.timezone
date.timezone = 'continent/city'
Step 4: Create Database Schema
Now create a database schema for your zabbix server. First use following commands to create mysql database and user for your zabbix server
#mysql -u root -p
mysql CREATE DATABASE zabbix;
mysql GRANT ALL on zabbix.* to zabbix@localhost IDENTIFIED BY 'password';
mysql FLUSH PRIVILEGES;
mysql quit;
Now restart zabbix database schema in newly created database
#cd /usr/share/doc/zabbix-server-mysql
#zcat create.sql.gz | mysql -u root -p zabbixdb
Step 5: Edit Zabbix Configuration File
Now edit zabbix server configuration file /etc/zabbix/zabbix_server.conf in your favorite text editor and update following entries.
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=password
Zabbix creates its own apache configuration file /etc/zabbix/apache.conf.Use following command to restart Apache service.
#sudo service apache2 restart
Zabbix server configuration file are located at /etc/zabbix/zabbix_server.conf. Restart apache using below command.
#sudo service zabbix-server restart
Смотрите видео Part 1 : How to Install Zabbix Server 3.2 on Ubuntu 16.04/16.10 and Debian 8/7 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь IT Training and Tutorials 03 Ноябрь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,59 раз и оно понравилось 5 людям.