zabbix获取windows服务器上数据C:\zabbix_agents\conf\zabbix_agentd.win.confUserParameter=conncount,d:\\tools\\online_conncount.bat举例获取 mysql 用户数 @echo off set mysql="D:\tools\mysql.exe" %mysql% --defaults-extra-file=d:\\tools\\my.cnf --default-character-s
一. nginx编译参数 监控nginx,主要讲解监控并发数 --prefix=/usr/local/nginx --with-http_stub_status_module zabbix编译参数的查看: /usr/local/nginx/sbin/nginx -V nginx version: nginx/ built by gcc (Red Hat -) (GCC) built with OpenSSL Feb TLS SNI support enabled configure argume
原理:利用在slave上运行show slave status获取Slave_IO_Running和Slave_SQL_Running的值 1.在zabbix客户端配置文件中加入: 首先要对mysql提供一个查询主从状态的账号!(当然用root也可以.) grant replication client on *.* to 'xxx'@'localhost' identified by 'xxx'; flush privileges; UserParameter=mysql.replicate_