Zabbix Monitoring System Usage Details
Zabbix is an enterprise-level open-source solution that provides distributed system monitoring and network monitoring functions based on the WEB interface. It consists of zabbix server and the optional component zabbix agent. You can use SNMP, zabbix agent, ping, port monitoring, and other methods provide remote server/network status monitoring. The zabbix agent must be installed on the monitored target server. It collects hardware information, memory, CPU, and other information related to the operating system.
Zabbix flowchart:
Zabbix logic diagram:
: Http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/
Some Zabbix Tutorials:
Compile and install Zabbix2.4.5 source code in Ubuntu 14.04
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy Zabbix in CentOS 6.3
Zabbix distributed monitoring system practice
Under CentOS 6.3, Zabbix monitors apache server-status
Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3
Install Zabbix 2.0.6 in 64-bit CentOS 6.2
Server:
Installation:
1 |
[root@sherry zabbix] # yum localinstall zabbix-2.4.8-1.el6.x86_64.rpm zabbix-get-2.4.8-1.el6.x86_64.rpm zabbix-server-2.4.8-1.el6.x86_64.rpm zabbix-server-mysql-2.4.8-1.el6.x86_64.rpm zabbix-web-2.4.8-1.el6.noarch.rpm zabbix-web-mysql-2.4.8-1.el6.noarch.rpm |
MYSQL initialization:
12345678910111213 |
mysql> CREATE DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_bin; Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL ON zabbix.* TO zabbix@ '192.168.%.%' IDENTIFIED BY '222222' ; Query OK, 0 rows affected (0.00 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.00 sec) [root@sherry zabbix] # mysql -uzabbix -h192.168.1.221 -p222222 zabbix < /usr/share/doc/zabbix-server-mysql-2.4.8/create/schema.sql [root@sherry zabbix] # mysql -uzabbix -h192.168.1.221 -p222222 zabbix < /usr/share/doc/zabbix-server-mysql-2.4.8/create/images.sql [root@sherry zabbix] # mysql -uzabbix -h192.168.1.221 -p222222 zabbix < /usr/share/doc/zabbix-server-mysql-2.4.8/create/data.sql |
Server configuration file:
1234567891011121314 |
[root@sherry zabbix] # cd /etc/zabbix/ [root@sherry zabbix] # vim zabbix_server.conf LogFile= /var/log/zabbix/zabbix_server .log LogFileSize=0 PidFile= /var/run/zabbix/zabbix_server .pid DBHost=192.168.1.221 DBName=zabbix DBUser=zabbix DBPassword=222222 DBSocket= /var/lib/mysql/mysql .sock SNMPTrapperFile= /var/log/snmptt/snmptt .log AlertScriptsPath= /usr/lib/zabbix/alertscripts ExternalScripts= /usr/lib/zabbix/externalscripts |
Start:
12 |
[root@sherry zabbix] # /etc/init.d/zabbix-server start Starting Zabbix server: [ OK ] |
Listening port: 10051
Web configuration file:
123 |
[root@sherry zabbix] # cd /etc/httpd/conf.d/ [root@sherry conf.d] # ls README php.conf welcome.conf zabbix.conf |
Web installation:
Agent installation:
1 |
[root@martin zabbix] # yum localinstall zabbix-2.4.8-1.el6.x86_64.rpm zabbix-agent-2.4.8-1.el6.x86_64.rpm zabbix-sender-2.4.8-1.el6.x86_64.rpm |
Configuration file:
123 |
[root@martin zabbix] # cd /etc/zabbix/ [root@martin zabbix] # ls zabbix_agentd.conf zabbix_agentd.d |
12 |
[root@martin zabbix] # vim zabbix_agentd.conf Server=192.168.1.221 # Specify the server |
Start: listening port: 10050
12 |
[root@martin zabbix] #/etc/init.d/zabbix-agent start Starting Zabbix agent: [ OK ] |
Chinese Configuration:
Create a Host:
Add item for Metric item:
For more details, please continue to read the highlights on the next page: