我使用Zabbix作为我的Linux监控解决方案。
它将MySQL - The buffer pool utilization is less than 50% in the last 5 minutes. This means that there is a lot of unused RAM allocated for the buffer pool, which you can easily reallocate at the moment显示为警告。
我该担心这个吗?
如何克服这一问题?
我需要一个用于Linux的MySQL监控脚本( Bash或Perl )。
我发现了一些,但它们很大,有很多检查对我没有任何用处,在这种情况下,我应该定制大量的脚本。
对于Shell或Perl脚本中MySQL监视的最重要参数有什么想法吗?
应监测下列参数:
qcache_hits
SHOW GLOBAL STATUS;
SHOW SESSION STATUS;
slow_
你知道为什么monit不会在这个设置中监控mysql吗?我已经在这里找到了所有我能找到的解决问题的方法,但都无济于事。
以下是我的版本:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
mysql --version
Ver 14.14 Distrib 5.5.41, for debian-linux-gnu (x86_64) using readline 6.3
monit -V
This is Monit version 5.6
我已经尝试过这两种设