Tags: ZabbixMonitor MySQL with Percona pluginWe used to monitor MySQL or mariadb status by customizing the monitoring items, but if we need more detailed types of monitoring or do not want to create a series of monitoring projects ourselves, we can use the monitoring items in the Percona plugin to realize MySQL monitoring. This saves us a lot of manual operation.Install the PHP environment and Percona plugin:Yum install php php-mysql–y
RPM-IVH https:/
Zabbix Monitoring process Downtime Business requirements Back-end process can be quickly pulled up in a short period of time, the business impact is small, but the development needs to see coredump, the needto monitor the PID changes, under the existing framework Zabbix can monitor and alarm; of course
Because some servers running some important programs, need to monitor them, the company is Zabbix monitoring, before the Zabbix to add a custom script to monitor specific programs, recently read the Zabbix official documents, found that the original powerful
://172.28.2.157:15672/You can see the status of RABBITMQ by visiting this URL.Http://172.28.2.157:15672/cli/rabbitmqadminDownload Rabbitmqadmin management ToolsGet Vhost List# curl-i-U guest:guest http://localhost:15672/api/vhostsGet a list of channels, limit the display format# curl-i-u guest:guest "Http://localhost:15672/api/channels?sort=message_stats.publish_details.ratesort_ Reverse=truecolumns=name,message_stats.publish_details.rate,message_stats.deliver_get_details.rate "Three write the m
' count.line.passwd '321.3 Adding Template,configration-templates-create Templates in the Web UI650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/DA/wKioL1XuyLPTok5ZAAHklpCRrFk664.jpg "title=" 5.png " alt= "Wkiol1xuylptok5zaahklpcrrfk664.jpg"/>1.4 Find just the template, configuration-templates, stand-alone template in the back row of items, which is the smallest unit, and then create item650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/DD/wKiom1Xux7XzGdQkAAMUZubCxKo094
/check_mysql_slave.sh $ $2115. Add Zabbix monitor MySQL master-slave templateFrom the Zabbix page, import the templates template App MySQL slave.xml, the following link is the template address:Https://github.com/ygqygq2/zabbix/blob/master/%E6%A8%A1%E6%9D%BF/Template%20App%20MySQL%20Slave.xml650) this.width=650; "Src="
Windows performance counters provide a lot of system performance metrics, and with Windows performance counters, we can get an instant picture of the current running state of Windows servers.Zabbix Agent Support (Win)Perf_counter[counter, Built-in with parameter key to read the value of Windows performance counters. Perf_counter[\asp.net\applications Running]Gets the number of ASP. NET applications that run concurrently on the server computer.We can extrapolate.Number corresponding to the counte
Environment:192.168.127.131 primary Database and Zabbix server192.168.127.130 from database and Zabbix clientA. First, assign a monitor account to MySQL.Mysql>Grant all privileges the zabbix.* to [e-mail protected] identified by ' Zabbix '; b. Write a script Vim/sh/
Use zabbix to automatically detect and monitor MySQL and zabbixmysqlIntroduction
Use the zabbix's low-level automatic discovery function to monitor multiple ports on a single host. For details, see low_level_discovery. The overall monitoring plug-in is similar to the zabbix monitoring plug-in of percona.mymonitor.plRep
Label:Zabbix official support for monitoring MySQL, but directly using the default template is not available, but also need to go through additional settings to use. If you only need to do a simple monitoring of the MySQL database, Zabbix the template can meet the requirements, if there is a higher demand that need to write their own scripts, or use the fromdual plug-in, recently in research, there are always some problems, can not solve, if a success
" Style= "Float:none;" alt= "wkiom1qnr32q4mulaad66jkq-xo614.jpg"/>link to default SNMP templates650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4B/03/wKioL1Qnr6bDL5-cAAC477Wzz7s758.jpg "title=" 3 " Style= "Float:none;" alt= "wkiol1qnr6bdl5-caac477wzz7s758.jpg"/>OK, the configuration is complete,Zabbix can complete automatic monitoring. 4, modify the template's exploration rulessince the switch has a port switch on it, there are 8 controls
Some time ago there is a maintenance of the author of the small computer room air conditioning failure, high temperature caused the system card slow, no one found. So I want to use Zabbix to monitor the CPU temperature and set the alarm threshold value, but also can monitor the fan anomaly, the wind board too dirty air, process deadlock caused high CPU usage anom
/directory to ensure that
[Root @ client100 ~] # Cd/var/log/zabbix/cache/
[Root @ client100 cache] # ll-Rw-r -- 1 zabbix 0 Mar 22 07:25 FromDualAgentCache.192.168.1.100.cache
# Note: it is normal that the file is not written, because the program automatically clears the file, but if the file keeps increasing, it indicates that the configuration is incorrect, data not sent
(6) The following error is reported
string + familiar, Zabbix-server trigger inside cannot recognizeSo you can know that mysqladmin in the MySQL service down, the return of the string alarm + number 0, completely trigger the Zabbix alarm conditions, it is necessary to consider other ways to judge.Search for relevant data telnet is also unable to meet the MySQL down when the alarm triggered by the demand, now with Netstat try650) this.width=6
I was inspired by a post today and found that you can use the Windows Performance Monitor to monitor basically all of the system resources, the following is the tutorial:Performance Monitor location in Control Panel-Administrative ToolsWhen opened, the default is a CPU-occupied monitoring, below to add hard disk idle time to do the example1:
External CheckBy actively invoking the custom script to obtain the monitoring data, the output of the script is the monitoring value of the monitoring item, which is more customizable. Because the afternoon here stepped on the pit, walked a lot of detours, so here to the configuration method to make a special note. Select External Chek When configuring the monitor item, and then specify run scripts and parameters in the key column. The following is th
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.