推荐一款mysql监控软件MONyog 1.查询缓存: mysql> show variables like '%query_cache%'; 2.缓存在Cache中线程数量thread_cache_size: mysql> show variables like 'thread%'; 3.DB已连接的线程数: mysql> show status like 'connections'; 4.当前连接线程状态: mysql> show status like '%thread%';…
监控mysql存活 1.配置agent自定义参数 vi /usr/local/zabbix/etc/zabbix_agentd.conf Include=/usr/local/zabbix/etc/zabbix_agentd.conf.d/ cd /usr/local/zabbix/etc/zabbix_agentd.conf.d vi userparameter.conf UserParameter=mysql.check_mysql_status,sh /usr/local/zabbix/e…
Mysql常见的几个错误问题及解决方法: 1.问题: mysql DNS反解:skip-name-resolve 错误日志有类似警告: 点击(此处)折叠或打开 120119 16:26:04 [Warning] IP address '192.168.1.10' could not be resolved: Name or service not known 120119 16:26:04 [Warning] IP address '192.168.1.14' could not be reso…