/ create a new file in the table nginx-params.conf of contents as follows
"$1"
Restart Agent
/etc/init.d/zabbix-agent restart
Web side of Server
First of all, the command line test agent is not good, confirm the use of the web-side after the template import, then you can add monitoring to the corresponding host.
>>>-s127.0.0.1-p10050-k"nginx[reading]"0
Login to the Web interface of Zabbix3.0, select > at a time, Configuration Templates T
First, install the LEMP environmentDownload the installation package: Wget bbs.linuxtone.org/docs/autoinstall/lemp_auto_v1.0.6.tar.gzPackage decompression: Tar zxvf lemp_auto_v1.0.6.tar.gzGo to folder: CD LempAssign permissions: chmod 777 *Installation:./lemp.shEnterSelect a, enter (install nginx+mysql+php)Enter (two steps above, directly enter, because the default is a option)Wait for the installation to complete.Second, download Zabbixwget http://nc
Because there is already a PHP running environment, you only need to compile and install Zabbix.First, install dependent components
Yum-y Install NET-SNMP net-snmp-devel perl-dbi php-gd php-xml php-bcmath fping openipmi-devel php-mbstring
Ii. Compiling and installing Zabbix
①, download Zabbix
Cd/usr/local/srcWget-o zabbix
, install SendMail or postfix
Yum install sendmail #安装
Service SendMail start #启动
Chkconfig sendmail on #设置开机启动
Yum install Postfix
Service Postfix start
Chkconfig Postfix on
CentOS 5.x is installed by default SendMail
CentOS 6.x is installed by default Postfix
SendMail and postfix only need to install one and open the service.
Second, the installation of mail delivery tool MAILX
Yum install mailx #安装
CentOS 5.x Compiler installation MAILX, direct yum installed MAILX version is too o
messages to the designated mailbox.
First: Send mail using Zabbix service-side Local mailbox account
First, install SendMail or postfix
Yum Install SendMail #安装
Service SendMail Start #启动
Chkconfig SendMail on #设置开机启动
Yum install Postfix
Service Postfix start
Chkconfig Postfix on
CentOS 5.x is installed by default SendMail
CentOS 6.x is installed by default
The new company monitoring with the Zabbix, which used to Zabbix-proxy, originally did not try to get, now first installed to see in order to follow up the use of inspection.Zabbix-proxy is a monitoring proxy server, which collects the monitored data, stores it in the buffer, the time can be set by the configuration file, and then transferred to Zabbix_server; the monitoring agent needs a separate database
Zabbix-2.2.1 download locationHttp://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.1/zabbix-2.2.1.tar.gz
Objective: To create a zabbix server RPM package for convenient software distributionInstallation pat
Mysqladmin-uroot-P password 123456
Enter Password: Enter the old password (if it is set for the first time, the default root password is blank and press Enter)
Set automatic MySQL startup
Chkconfig -- add mysqld
Chkconfig -- level 345 mysqld on
4. install the software and library used to compile zabbix
Install MySQL header files and library files
Yum install mysql-devel.x86_64
Install net-snmp
Yum install net-snmp.x86_64 net-snmp-devel.x86_64 net-snm
has a network Yum source, this step ignoresUpload Centos6.8 system image to server directory:/data/zabbixMount System Mirror Diskmkdir/data/yum/Mount-o Loop/data/zabbix/centos-6.8-x86_64-bin-dvd1.iso/data/yumDf–h//Mount the following as shown belowCreate a new directory, copy all the contents of the image, because there are some package system image in the later installation of the RPM package is not, this time need to go to the network yum source to
1. Manually Install Zabbix client
(1) Download Windows Zabbix Client
From the official Download Zabbix agent, the package contains 2 directories, one for Win32, the other is Win64, each directory should have 3 files, respectively: Zabbix_agentd.exe zabbix_get.exe zabbix_ Sen
configuration only
(agent) Represents client-only configuration
(Server,agent) indicates that both the client and the server need to be configured
1. Download Zabbix (server,agent)
Note: I download the official 2.06 of the server and the client's stable integration of the compiler package, so later compile the attention of the--enable-server--enable-agent pa
enoughYum install mysql*//recommend MySQL or download the installation separately. After all, yum inside the version is too low, still in 5.1, I do. Now it's 5.6. Two large versions.Yum install-y curl-devel gcc.x86_64 libgcc.x86_64 make net-snmp.x86_64 net-snmp-devel.x86_64 net-snmp-utils.x86_64 wget NTP vim//install some other tools and dependencies, I install the system will generally put the development library and all the installation, so if you
Tags: ZabbixZabbix Monitoring Introduction
c/S architecture, based on the development, Monitoring Center support Web Interface Configuration and management
Single server node can support tens of thousands of clients
Latest Version 3.4, Official document Https://www.zabbix.com/manuals
5 components
Zabbix-server Monitoring Center, receiving client escalation information, responsible for configuration, statistics, operation of data
Data sto
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.