Test environment Ubuntu 14.04.1 LTS"Server-side Installation"About the installation of the official provided a very detailed installation methods, including the platform source code and package installation. For other versions of Linux please refer toHttps://www.zabbix.com/documentation/2.4/manual/installation/install_from_packagesZabbix is the C/s architecture, so the sub-server and the client are installed. The client only needs to install
As an excellent monitoring software, zabbix not only generates alarms when a fault occurs, but also generates related charts to analyze network traffic, CPU load, and other conditions.
1. Download and decompress the package and the yum Environment
Yum install net-snmp-devel php-bcmath # depending on the actual system environment, if some libraries are missing behind, you can re-yumwget http://superb-dca2.
Zabbix a simple deployment package to install onceOnce the deployment package has been installed onceEnvironment Centos7 Zabbix 3.2.11Preparatory workShutting down the firewallSystemctl Stop FirewalldSystemctl Disable FIREWALLDTurn off SELinuxVi/etc/selinux/configSelinux=enforcing insteadSelinux=disabledOrSed-i ' s/selinux=.*/selinux=disabled/g '/etc/selinux/conf
This article describes how to install and configure Zabbix to monitor MySQL. Zabbix has the function of displaying data on the web page. the installation environment in this article is CentOS. For more information, see
Simple installation and configuration of Zabbix1. install zabbi
root account to log on to the database. The password is empty.
Click OK! Generate a random password
Ubuntu @ ubuntu :~ $ Sudo apt-get install zabbix-agent-y
4. Set apache
Ubuntu @ ubuntu :~ $ Sudo vim/etc/php5/apache2/php. ini
Date. timezone = PRC (enable the timezone option and set it to PRC)
Ubuntu @ ubuntu :~ $ Sudo vim/etc/php5/apache2/php. ini
Ubuntu @ ubu
Configuration installation Zabbix encountered several problems, summed up:
Q:zabbix server is not running:the information displayed
A: When I came up with this problem, I found it was due to a problem with MySQL configuration, and it was authorized to run properly.
Q:configure:error:not found Mysqlclient Library
A:/usr/local/mysql/bin/mysql_config (designated Mysql_config)
Q:configure:error:invalid Net-snmp directory-unable to find Net-snmp-confi
Environment: centos6_64 MySQL environment. disabling Iptable SELinuxTo install the base package:Need to install lamp. Install it yourself ... No, please. LAMPRPM-IVH http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpmYum
PMP, full name is Percona monitoring Plugins, is a plugin written by Percona company for MySQL monitoring. Support Nagios,cacti. Starting with PMP 1.1, Zabbix is supported.Below, see how to install the PMP on the Zabbix.Configuring the Zabbix AgentDownload PMP: https://www.percona.com/downloads/percona-monitoring-plugins/Since my Linux version is Rhel 6.7, select
System Version: centos6.5
Kernel version: 2.6.32-358. el6.x86 _ 64
Install the lamp environment in Yum;
yuminstall-ygccgcc-c++httpdhttpd-develmysqlmsql-servermysql-develphpphp-mysqlphp-commonphp-gdphp-mbstringphp-mcrtptphp-develphp-xmlphp-bcmathlibcurl-develnet-snmp-devel
2. Add users and groups;
groupaddzabbixuseraddzabbix-gzabbix-s/sbin/nologin
3. Create a database and authorize the user;
createdatabasezabbixcharactersetutf8;grantallprivileges
Transfer from http://note.youdao.com/share/?id=15ca02a6dbf3d09c6cd5bad6b99999aftype=note#/By the previous configuration of the server-side installation of Zabbix, it is now time to install the client in the Windows systemPractical Installation--zabbix_agentExperimental environmentSystem version:CentOS release 6.6 (Final), Windows Ultimate EditionNumber of system bits: Installation version: Windows uses ver
( Env.software_zabbix_url.split ('/') [ -1][0:-7]): local ("./configure--prefix=%s--enable-server--enable-agent--with-mysql --with-net-snmp--with-libcurl "%env.software_make_ Path) local ("make Makeinstall ") #使用nginx的默认路径, You can modify the local yourself ("Cp-rfrontends /php/%s/zabbix "%env.project_html_path) local ("cpmisc/init.d/fedora/core/*/etc/init.d/") local ("chmod+x/etc/init.d/zabbix_* Chkcon
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.