介绍 zabbix监控mysql性能,使用zabbix自带的mysql监控模板,可以监控以下内容OPS(增删改查).mysql慢查询数量.mysql请求\响应流量带宽 配置 新建mysql监控用户 GRANT SUPER, REPLICATION CLIENT ON *.* TO ' 新建.my.cnf文件 vim zabbix-agent/etc/.my.cnf [mysql] host=localhost user=zabbix_check password= socket=/tmp/my
简介: 如何使用 Zabbix 监控 Nginx 状态 ? 1.获取 Nginx 状态( HTTP Stub Status ) [root@localhost ~]# /apps/product/nginx/sbin/nginx -V nginx version: nginx/ built by gcc (Red Hat -) (GCC) built with OpenSSL Feb TLS SNI support enabled configure arguments: --prefix=/a
现在我来说一下我的监控环境 zabbix-3.0.3 MySQL-5.6.23 1.首先我们要登录MySQL,创建一个监控MySQL的用户 GRANT USAGE,PROCESS,SUPER,REPLICATION CLIENT,REPLICATION SLAVE ON *.* TO 'zabbixagent'@'localhost' IDENTIFIED BY 'zabbixagent'; 2.根据zabbix监控MySQL的key改写脚本 [root@DBSlave-live etc]# c