Zabbix monitoring installation and deployment

Source: Internet
Author: User

Zabbix monitoring installation and deployment

1. Compile and install zabbix:
Useradd-s/sbin/nologin zabbix
Install the server and agent at the same time and add data to the mysql database. You can use the following command to configure
./Configure -- enable-server -- enable-agent -- with-mysql-enable-ipv6-with-net-snmp-with-libcurl
2. Yum install mysql http php *
Mysql-u root
Grant all onzabbix. * to zabbix @ '2017. 192. %. % 'identified by 'qaz123 ';
Flush privileges
Mysql-u zabbix-pzabbix> schema. SQL
Mysql-u zabbix-pzabbix> images. SQL
Mysql-u zabbix-pzabbix> date. SQL
To enable port 3306 iptables or disable iptables
Zabbix-2.0.9/misc/init. d/Fedora/core/zabbix _ */etc/init. d/
Ln-s/usr/local/zabbix/sbin/zabbix_server/usr/local/sbin/


Chown-R zabbix. zabbix/usr/local/zabbix/
Cp-rp zabbix-2.0.9/frontends/php/*/var/www/html/

3. Set the region to Shanghai vim/etc/php. ini.
Date timezone = Asia/Shanghai
Precautions for Zabbix configuration errors:
Configure: error: Invalid NET-SNMP directory-unable to findnet-snmp-config
Configuration: Error: Invalid NET-SNMP directory-could not find NET-SNMP-Configuration
Configure: error: Not found NET-SNMP library
Configuration: Error: unfound NET-SNMP Library
Solution: Yum install net-snmp-deve
Mysql Error
Error: 'Access denied for user' root' @ 'localhost' (using password: YES )'
Solution
Method 1:
#/Etc/init. d/mysqld stop
# Mysqld_safe -- user = mysql -- skip-grant-tables -- skip-networking &
# Mysql-u root mysql
Mysql> UPDATE user SET Password = PASSWORD ('newpassword') where USER = 'root ';
Mysql> flush privileges;
Mysql> quit
#/Etc/init. d/mysqld restart
# Mysql-uroot-p
Do not forget to add the following parameter-enable-bcmath -- enable-mbstring = all
If YUM is installed, yum install-enable-bcmath -- enable-mbstring may be missing.
Or rpm install-nodeps -- force

ZABBIX details: click here
ZABBIX: click here

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

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.