/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. The processing method is as follows:
12933: 06:52:06. 005-INFO: FromDual Performance
(Switch) add, delete, modify, query, and view log records in MySql, and mysql log records
Reprint address: http://blog.51cto.com/hades02/1641652
First, enter show global variables like '% general %' in the command line, and then the following window appears. The general_log field is the switch, which is usually OFF by default, so monitoring is not enabled yet, then general_log file
To
Scripts to monitor long transactions#!/bin/bashMysql-n-uroot-p ' password '-e ' select Now (), (Unix_timestamp (now ())-Unix_timestamp (a.trx_started)) Diff_sec,b.id,b.user, B.host,b.db,d.sql_text from Information_schema.innodb_trx a inner joinInformation_schema. Processlist bOn a.trx_mysql_thread_id=b.id and B.command = ' Sleep 'INNER JOIN performance_schema.threads c on b.id = c.processlist_idINNER JOIN performance_schema.events_statements_current D
(status)(from Show status return information)Current number of connections: threads_connected (status)(from Show status return information)Number of active connections: threads_running (status)(from Show status return information)Number of Cache connections: Threads_cache (status)(from Show status return information)5. Traffic statistics (taken from show status return information)Bytes_received (bytes accepted), bytes_sent (number of bytes sent)6. Number of connections (taken from show status r
Label:Detailed Spotlight on MySQL monitor MySQL serverThe previous chapter details the spotlight on Unix monitoring Linux server, and today again see spotlight on MySQL How to monitor MySQL server. Note: http://www.cnblogs.com/Jav
connect the monitored machine query status
Configuring MySQL on the monitored side to authorize the cacti hostMysql-uroot-pGrant Process,super on - cacti ' @ '% ' identified by ' cacti ';Grant Process,super ' cacti ' @ ' 10.254.166.60 ' identified by ' cacti ';Flush privileges;
The meaning of this commandAllow only hosts with IP 10.254.166.60 to access native data with account cacti password cacti
][success] Percona mysql handlers GT [new][success] Percona MySQL Query time his Togram (Count) GT [new][success] Percona MySQL Query Response time (microseconds) GT [new][success] Percona InnoDB Buffer Pool efficiency GT [new]host template[success] Percona MySQL Server HT [New]Open Devices--> Select Host (not created)
[new] [Success] X Get MySQL stats/mysql Transaction Handler IM [new] [Success] X Get MySQL stats/mysql handlers IM [new] 。。。。。。When adding Divice, the template selects "X DB Server HT", the SNMP version is 2, the other does not have to be modified, save savesCreate a graphic: "Create Graphs for this Host" and you wi
First, the relevant instructionsThe production line uses the Zabbix 2.4.5 to monitor all business and system networks, of course, also need to monitor the MySQL database related information, Zabbix with the MySQL monitoring template can monitor
Tags: monitor mysql master and slave1.shell Monitor Master-Slave synchronizationWrite a shell script that monitors Slave's two yes (Slave_io and slave_sql processes), and if only one or 0 Yes is found, it indicates a master-slave problem.___________________________________________________________vim/sh/mysql_slave.sh #!/bin/bash #check mysql_slavestatus #crontab
Tags: 51cto auth command 0 Rows Permissions des end client SQL192.168.254.127 (Zabbix)192.168.254.128 (MySQL) ZABBIX_AGENTD Client SettingsCreate a normal user Zabbix on MySQL data, password Zabbix[Email protected] scripts]# mysql-uroot-pEnter Password:Welcome to the MySQL Monitor
fileRestart Zabbix-agent Service# Service Zabbix-agent RestartCreate a monitoring user for MySQLMysql> Grant Process,super,select on * * to [e-mail protected] ' localhost ' identified by ' monitor ';mysql> flush Privileges;To modify a user name and password in a script# vim/var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php$mysql _user = '
Tags: NEC sharp Highlight Port Database phase picture State developmentIn the high-concurrency Web site architecture, MySQL database master-slave synchronization is indispensable, but often occur due to network reasons or operation errors, MySQL master and slave often appear out of sync, then how to monitor MySQL maste
Zabbix with plugin percona monitor MySQL data in the sense of Zabbix the MySQL plugin to monitor the MySQL database, but you will find that the MySQL monitoring items are very few, can not meet the needs of the company. Because it
Tags: username win mac OWIN Port Moni CEP Lib IBMEpmmm Performance Monitor for MySQL and mariadb on Zabbix 2.x and Zabbix 3.x Link Https://github.com/earl86/epmmm The wrapper for Zabbix python script. It runs the script every seconds. and parses the cache file on each following run. Test the script using: Zabbix_get-s 192.168.0.1-p 10050-k "Epmmm.mysql.check[zabbixmysql,192.168.0.1,3306,check]" Python epmmm
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.