We probably know how to monitor the host, the main steps are designed to add the host, and add monitoring items for the host, here is the main item, and then on the basis of the item to draw on the item and the way to the screen to bring the different monitoring images to a page. Through the quick chapter we recognize that item monitoring is very important in Zabbix, and item monitoring is defined by key, and key is divided into system predefined key
Zabbix adds cpu usage graph monitoring and zabbix adds cpu graphics
Zabbix version: 3.2.5
If zabbix's windows template does not monitor cpu usage, you can add it in the template.
1. Configure ---> Template OS Windows
2. Monitoring items ----> Add monitoring items
Application set: CPU
3. Graphics ----> Add Images
Take a name, and select the metric
Description
Operating system: CentOS
IP Address: 192.168.21.127
Web environment: nginx+mysql+php
Zabbix version: Zabbix 2.2 LTS
Note: Linux installation Zabbix need to have lamp or LNMP operating environment
Installation article
First, create, import
1. Introduction:Zabbix MySQL plug-in to monitor the MySQL database, but too simple, basically no role, so need to do more detailed monitoring, and Percona has this detailed monitoring of the template and script, just take it.Percona Official website: www.percona.comPercona Composition:1, PHP script for data acquisition 2, Shell script to invoke the acquisition of information 3, Zabbix profile 4, Zabbix
keys after you add Web monitoring, and automatically create the appropriate keys after you add Web monitoring, but select the appropriate hosts that have the Web definedSelect the expression in function to trigger the alarm when the returned status code is not equal to variable n, and the value of n is set to 200 belowExpression: If the last 4 consecutive Response_code values are not 200, the alarm is triggered{192.168.3.86:web.test.rspcode[3.86_http_status,3.86_http_status].last (0)}
Test, the
Label: [[Email protected] Client zabbix]# grep-v "^$" etc/zabbix_agentd.conf|grep-v "^#"
Logfile=/tmp/zabbix_agentd.log
server=127.0.0.1,zabbix_server_ip
serveractive=zabbix_server_ip:10051# Note that the port number
hostname=113.86.103.100# and the zabbix_server end should be kept to one, such as: (A)
include= /usr/local/zabbix/etc/zabbix_agentd.conf.d/
Unsafeuserparameters=1
userparameter=mysql.version,m
Zabbix deployment,
Originally published in cu:
Reference:I. Environment
Server: CentOS-7-x86_64-1511
Server IP: 192.168.11.252
Web Environment: CentOS-7-x86_64-1511 compilation nginx-1.9.12 + mysql-5.7.11 + php-7.0.4
Client: Win7 x86_64, Chrome/Firefox2. software acquisition
Zabbix Official Website: http://www.zabbix.com/download.php
As of, the latest LTS version: http://jaist.dl.sourceforge.net/project/
Calling the Zabbix API using Python#!/usr/bin/env python#Version = 3.6.1#__auth__ = ' Warren 'ImportJSON fromUrllibImportrequest, Parsezabbix_url='Http://192.168.22.22/zabbix'Zabbix_username="Admin"Zabbix_password="123456"#define the host information to be added in list formhostlist=["192.168.22.111","192.168.22.112"]#Traverse host list defines the host group ID and template ID to add forHostinchHostlist:url="{}/api_jsonrpc.php". Format (zabbix_url) h
Recently configured Zabbix distributed monitoring, using the proxy method, after the configuration is completed, the server side of the Web interface to add the host, using proxy mode for monitoring.The normal client configuration is as follows and can be monitored normallyVim zabbix_agentd.confLogfile=/tmp/zabbix_agentd.logserver=192.168.111.172 # Enter the IP address of the zabbix_proxyserveractive=192.168.111.172hostname=192.168.111.190the zabbix_a
Due to the use of proxy distributed monitoring, it is necessary to install Java_getway on the proxy side. That is, when compiling, add--enable-java
Modify Zabbix_java related optionsGo to the directory below for seeting.sh script editing; start the./startup.sh to see if Port 10052 is startedlisten_ip = "0.0.0.0" Listen_port = 10052 Pid_file = "/tmp/zabbix_java.pid"start_pollers = 5
Modify the proxy configuration file and the server configuration fileJavagateway =127.0.0.1 Javagatewayport =
I. Environment Introduction
Zabbix depends on the LAMP (Apache, Mysql, and PhP) environment. Apache can also be replaced by Nginx. To save time, there are many one-click installation scripts on the Internet. download and execute the installation.
System: rhel 5.5 X86_64Software: nginx-0.8.53Mysql-5.1.56Php-5.2.17Zabbix 2.0.3
LNMP one-key: http://bbs.linuxtone.org/docs/autoinstall/lemp_auto_v1.0.6.tar.gz
Zabbix
Zabbix implements Web monitoring based on Proxy distributed deploymentPreface
In daily O M work, it is inevitable that one or more failures will occur. How can we find the fault in the first place and locate the Fault Cause in time to ensure that the business is not affected, I think this should be a skill that must be mastered in O M. However, human resources cannot control system changes in real time, so the monitoring system emerged. monitoring i
--------------------- Overview ----------------------
ZabbixIs a highly integrated enterpriseOpen SourceNetwork Monitoring solution, similar to CACI and Nagios, provides distributed monitoring and a centralized web management interface. If the Monitored object supports SNMP or runs the zabbix_agents agent, the official website of zabbix is http://www.zabbix.com/software which can be freely downloaded and used.Supplement:SNMP protocolSimple Network M
First, install the configuration Zabbix serverWeb Server server: 172.28.0.187MySQL server: 172.28.0.2371. Install Web server (172.28.0.187) A, official documentsZabbix officially provides installation documentation based on packages and compiled installation methods.Here server I use the package method installs, the agent uses the source code compiles the way installs, because the server has only one, but the agent has many, needs to modify the config
Parameter optimization for Zabbix configuration filesStartpollers=60Startpollersunreacheable=80Starttrappers=20startpingers=100startdiscoverers=120 #zabbix提示进程繁忙时修改此参数, Max 250, recommended 100 or so, high CPU performancecachesize=1024mStartdbsyncers=16historycachesize=1024mtrendcachesize=1024mhistorytextcachesize=512mlogslowqueries=1000Database optimization of ZabbixEgrep-v "(^#|^$)"/etc/my.cnf[Client]port
Zabbix is an enterprise-level open-source solution that provides distributed system monitoring and network monitoring functions based on the Web interface.
Zabbix can monitor various network parameters to ensure secure operation of server systems. It also provides a flexible notification mechanism for system administrators to quickly locate and solve various problems.
Z
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.