first, environmental preparedness
Host and software preparation
Os:centos 6.7x86_64
Zabbix version: zabbix-3.0.2
MySQL version: MariaDB10.1.13
Nginx Version: nginx-1.8.0
PHP Version: php-5.6.1
Host IP Planning:
Host ip:192.168.3.45
Host Resource planning:
Memory: More than 2GB
Host partition:/TMP partition at least 2G above, MySQL data disk 20G above
Second, basic component Installation (LNMP)
1), the basic
Zabbix is an enterprise-class open source solution that provides distributed system monitoring and network monitoring capabilities based on a web interface.Zabbix can monitor various network parameters, ensure the safe operation of the server system, and provide a flexible notification mechanism to enable system administrators to quickly locate/resolve various problems.Zabbix consists of 2 parts, Zabbix ser
the target host's C:\zabbix directory and perform the following command to complete the client installation:
Zabbix_agentd.exe–c C:\zabbix\zabbix_agentd.conf-i
Execute the following command to start the client:
Zabbix_agentd.exe–c C:\zabbix\zabbix_agentd.conf–s
Parameter meaning:
-C Establish the location of the config
First I have configured the lamp environment, or can use the following command:[[Email protected] ~] #yum install make mysql-server httpd php mysql-devel gcc net-snmp-devel curl-devel perl-dbi php-gd ph P-mysql php-bcmath php-mbstring php-xml unixodbc-devel openipmi-devel libxml2-develTo complete the installation:1. Create a new Zabbix account:[Email protected] ~]useradd zabbix-s/sbin/nologin2, create
Zabbix source code compilation and installation, and zabbix source code compilation
Introduction:
Zabbix distributed monitoring system, source code compilation and installation records (not to mention the number of times)
: Http://jaist.dl.sourceforge.net/project/zabbix/ZABBIX
Yum deployment, zabbix monitoring, and yum deployment of zabbix monitoring
Deploy zabbix monitoring in yum
Chapter 2 deploy zabbix server in yum... 1
1.1 command line deployment... 1
1.1.1 yum source configuration-explanation... 2
1.1.2 MariaDB and mysql 3
1.2 zabbix-web i
can be added as follows#vim/etc/serviceZabbix-agent 10050/TCP//ClientZabbix-agent 10050/UDPZabbix-trapper 10051/tcp//Service sideZabbix-trapper 10051/UDP7. provide startup scripts and configuration files for Zabbix(1) Test Zabbix service Start-up#/usr/local/zabbix/sbin/zabbix_agentd//Client#/usr/lcoal/
the Commands dialog box.
Global script: Executes some of the commands defined in administration→scripts.
Excute on: You can choose to run the command on the Zabbix agent or Zabbix Server.
Conditions: The following is a separate introduction.
What are the biggest benefits of Remote command? is automatic.
Zabbix introduction:
Zabbix is an enterprise-level open-source solution that provides distributed system monitoring and network monitoring functions based on the Web interface.
Role: zabbix can monitor various network parameters to ensure secure operation of server systems. It also provides a flexible notification mechanism for system administrators to quickl
XF mysql-5.6.20.tar.gz CD mysql-5.6.20CMake. -dcmake_install_prefix=/usr/local/mysql-dmysql_datadir=/home/mysql/data-dsysconfdir=/etc-dwith_innobase_ Storage_engine=1-dwith_archive_storage_engine=1-dwith_blackhole_storage_engine=1-dwith_readline=1-dwith_ssl= System-dwith_zlib=system-dwith_libwrap=0-dmysql_unix_addr=/home/mysql/var/mysql.sock-ddefault_charset=utf8- Ddefault_collation=utf8_general_ci make make installCompile error resolution reference: HTTP://BLOG.163.COM/SZ2273_PR/BLOG/STATIC
In the official latest Zabbix 2.4 distributed architecture, there is no support in addition to node mode.I also used node in the 2.x version of the multi-tier distributed node mode has been repeatedly encountered in the server configuration consistency confusion, and repair is very troublesome.So the "Learn from Me series" does not introduce node deployment.The purpose of using the proxy is also obvious: reduce the server's acquisition pressure or cro
Zabbix monitors PHP status
Zabbix monitors the PHP status and uses nginx to call php-fpm to query the php status information.First, add a line to the php configuration file.
Vim/usr/local/php/etc/php-fpm.confPm. status_path =/phpfpmstatus
Restart php-fpm after saving
Add code to the nginx configuration fileServer{Listen localhost: 80;Server_name localhost;Location/nginxstatus {Stub_status on;Access_log off;
[[emailprotected]web]#yum installpercona-zabbix-templatesphpphp-mysql-y#percona plugin is to get MySQL parameters via PHP, So we're going to install PHP and php-mysql we can see it's all installed with those software [[emailprotected]web]#rpm-ql Percona-zabbix-templates/var/lib/zabbix/percona/var/lib/zabbix /percona/sc
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.