Zabbix deployment of official structures

Zabbix is an enterprise production environment in the most widely used server monitoring software, its powerful, simple configuration, a free open source, enterprise monitoring software of choice.

About a .Zabbix   
zabbix is based on providing a distributed system monitoring and network monitoring capabilities WEB interface, enterprise-class open source solutions.
zabbix by the zabbix server and optional components zabbix agent composed of two parts.
zabbix server may be provided to the remote monitoring server / network status through SNMP, zabbix agent, ping, port monitoring and other methods.
zabbix agent needs to be installed on the target server being monitored, it is mainly done gathering information about the hardware or operating system related to memory, CPU and other information.
The main features of zabbix:
- Installation and configuration is simple, low-cost learning
- support for multiple languages (including Chinese)
- Free Open Source
- automatically discover servers and networking equipment
- WEB distributed monitoring and centralized management capabilities
- no agent can monitor
- User Authentication Security and soft license
- to set or view by WEB interface monitoring results
- email notification function, etc.
, etc.


Zabbix main functions:
- load the CPU
- Memory usage
- Disk Usage
- network conditions
- Port Monitoring
- Log Monitoring
official deployment address: https://www.zabbix.com/download


Installation and set up two .Zabbix
2.1 Server-side deployment
2.1.1 select the corresponding options according to their own version of the server and the database. (As used herein, is Centos7 + MySQL)


2.1.2 obtain corresponding mounting code deployment
yum source mounting Zabbix, so that the server can be installed by yum manner Zabbix

# rpm -Uvh https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-release-4.2-2.el7.noarch.rpm
# yum clean all 

 

2.1.3 Zabbix installation and deployment, and related plug-ins

# yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent 

 

2.1.4 initialization MySQL database, import data initialization

#mysql -uroot -p
password
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password';
mysql> quit; 
#zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix

 

2.1.5 Configuration Server Configuration Zabbix
① modified /etc/zabbix/zabbix_server.conf in DBPassword = password to be consistent with the password set Zabbix initialization.
② Modify in /etc/httpd/conf.d/zabbix.conf php_value date.timezone Asia / Shanghai corresponds to the current time zone.

 

2.1.6 start Zabbix Server and Zabbix agent and is configured to boot

# systemctl restart zabbix-server zabbix-agent httpd
# systemctl enable zabbix-server zabbix-agent httpd 

 

Three .Zabbix access
point your browser to HTTP: // server_ip_or_name / zabbix start configuring Zabbix monitoring system of their own!

Guess you like

Origin www.cnblogs.com/zhouzhifei/p/11544330.html