Recently deployed Zabbix monitoring, found that many DB servers are MySQL multi-instance status, MPM default MySQL monitoring can not effectively monitor the running state and replication relationship of MySQL, so for the dual-instance MySQL production of the manual Zabbix script m
I. Orabbix description Orabbix is a Zabbix plug-in tool for monitoring Oracle database performance by installing the data collected on the client on the monitored server and passing it to the Zabbix server, which is then displayed through a call graph. Has the following functions: 1, database version 2, archive file 3, wait for events (such as file I/O,
Nginx tcp stream monitoring for zabbix application SeriesNginx tcp stream monitoring for zabbix application Series
1. Implementation ideas
Native support
Obtain by analyzing logs
Obtain from Analysis Network
2. native support and Log AnalysisNginx's support for monitoring
temperature is an important parameter for monitoring the operation of a single machine.There is no monitoring of the CPU temperature in the Zabbix preset template, so we need to use a custom key to monitor the temperatureComponents for which Windows does not have temperature monitoring need to use third-party software
Zabbix server needs to install Java, compile need to add boot parameters--enable-java#zabbix服务器操作 (both Java and Tomcat need to be configured for this two-step procedure)cat/usr/local/zabbix/sbin/zabbix_java/settings.shlisten_ip= "0.0.0.0"listen_port=10052Start_pollers=12#zabbix服务器操作#JavaGateway现在和
Zabbix monitoring TomcatFirst, EnvironmentTwo servers, one is zabbix_java_server , the other tomcat-serverFiles needed:Catalina-jmx-remote.jar Cmdline-jmxclient-0.10.3.jarSecond, tomcat-server controlled end configuration # Cd/usr/java/apache-tomcat-8.0.30/bin# vim catalina.shAdd the following content:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/79/C8/wKioL1aakxXhBYXlAABX-n5JZLQ098.png "title
("OK") 这里面的type value_type的意思可以去官网详细看看 我这里设置的是0 0 也就是代表 zabbix_agent float 相信有zabbix基础的同学是秒懂Let's take a look at the graphical interface of Zabbix:OK, to this end, the graph does not come out to see the script below:def graf_create (self, Authid):Neirong = {"Jsonrpc": "2.0","Method": "Graph.create","Params": {"Name": "Test1","width": 900,"Height": 200,"Gitems": [{"Itemid": "28257","Color": "00aa00"}]},"Auth": Authid,"ID": 4} response
The alarm process for Zabbix mail is as follows:
Host monitoring ---- monitoring items ---- triggers ---- alarm actions ---- alarm Methods ---- alarm users
Add metric items first
1. Select the host to add the metric item
2. Click Create item in the upper-right corner to add and configure metric items.
The key value mentioned above is explained here: Example:
After the entry, the leader let me start Zabbix monitoring deployment and specific maintenance. Monitoring PHP First is a very important thing. Zabbix monitoring php can be monitored by PHP with a status function, need to open in the configuration file, while the Nginx confi
Label:Brief introduction: How do I use Zabbix to monitor Mysql status? Zabbix has its own template for monitoring Mysql, but it cannot be used directly. We need to write our own script to get the data according to the Key provided by the template 1. See what keys are available > Configuration-Templates # # on this template page, you can see the template App MySQL
1. Introduction to adding monitoring logic to zabbix
Basic Configuration
1) Add zabbix users (user information contains user email information) (administrations --> users)
2) Configure zabbix Mail Server Information for sending warning emails (used to send emails) (administrations --> media type)
Add
Tags: term monitor sys Microsoft Zabbix toolbar monitoring technology exchange etc1. What is QPS and TPS?QPS is the number of queries processed by MySQL per secondTPS is the number of transactions that MySQL processes per second2.QPS and TPs How to ask?QPS = Questions/uptimeTPS = (com_commit + com_rollback)/UptimeFor variable interpretation:Total number of queries Questions:mysqlRun time of Uptime:mysqlCom_
)EventID-Regular Expressiondescribing The event identifier (s)Maxlines-Maximum number ofnew lines per second the agent would send to Zabbix server or proxy. Thisparameter overrides the value of ' Maxlinespersecond ' inzabbix_agentd.win.conf Mode -Possible values: All (default), skip (Skip processing of olderdata).The mode parameter is supportedsince Zabbix 2.0.0.The item must is configured as an Active Chec
average, divided into and out. If the script executes every 1 minutes, the calculated traffic value is the flat value of 1 minutes. The script has two parameters the first is the name of the network card, such as: Eth0, the second is in or out is in or out of the traffic, the script can calculate the machine on all the network card traffic as long as the first parameter change Eth0,eth1,lo and so on. But it's a pity that the first run will automatically create a temporary file for the *net[io].
Tags: print byte Visio technology Select MIT No etc connectionWould like to use a Python script to monitor MySQL, did not find relevant information, lazy toss, using the official self-monitoring template to monitor MySQLAdd a zabbix-agent configuration fileReplace the default userparameter_mysql.conf file with the content[email protected] zabbix_agentd.d]# cat userparameter_mysql.conf#UserParameter=mysql.st
after the installation of Zabbix , the default control MySQL template is not available, even if added, is also shown as a red unsupper, so we need to do some configuration . The first thing you need to do is to create a new license on the MySQL server that you want to control, so that the zabbix_agent can look up the repository and the status monitoring.
Mysql-uroot-pMysql-uroot-pMysql-uroot-p
) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7D/E1/wKioL1byOk-S-FXXAACvbvoZ0ag283.png "title=" 3.png " alt= "Wkiol1byok-s-fxxaacvbvoz0ag283.png"/>To add a graphic:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7D/E1/wKioL1byOsjgEOqkAADdOPEFGY8430.png "title=" 4.png " alt= "Wkiol1byosjgeoqkaaddopefgy8430.png"/>Seven, the production of a good template to the Nginx host, get the data as follows:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/E1/wKioL1byO0TD3mW4A
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.