Zabbix Monitoring overview

Source: Internet
Author: User

First, installation of Zabbix-server

First, the monitoring system is the use of httpd PHP interface to transport the management interface, and the use of MARIADB database storage information, so, should first install a set of lamp.

For CENTOS7:

① #yum-y install httpd php php-mysql mariadb-server MySQL

1) do not need too much modification, PHP configuration file/etc/php.ini file needs to add Timezone=asia/shanghai time zone.

2) Create the Zabbix database in the database, the user, and authorize (of course, generally to skip the IP inverse solution):

# CREATE DATABASE Zabbix CHARSET ' UTF8 ' (set character sets); (Note: CHARSET ' UTF8 ' adds this to avoid Chinese garbled problems)--->

> CREATE DATABASE zabbix CHARSET ' UTF8 ';

>grant all on zabbix.* to ' zbuser ' @ ' host ' identified by ' 12345 ';

>flush privileges;

② #yum Install Zabbix-server-mysql Zabbix-get (General re-web GUI and agent side are similar, only need to install two of the newspaper)

③ for the 3.x series version, you only need to import a SQL script into the database;

#mysql Zabbix </usr/share/doc/zabbix-server-mysql-3.0.2/create.sql


Ii. Configuration of/etc/zabbix/zabbix.conf files

Common parameters: listenport=10051

SourceIP:

When performing a monitoring operation, if Zabbix server has multiple IP addresses, which address is used as the source IP, because the client

When performing the monitoring operation, it verifies the server-side IP, that is, IP-based authorization;

dbhost

DBName

DBUser

Dbpassword are very simple parameters.

Third, start monitoring

#systemctl Start Zabbix-server.service

#systemctl Start Httpd.service

This article is from the "Linux" blog, so be sure to keep this source http://ridingonhorse.blog.51cto.com/11265295/1787661

Zabbix Monitoring Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.