UserParameter=nginx.handled,/usr/local/zabbix/scripts/nginx_status.sh handled UserParameter=nginx.requests,/usr/local/zabbix/scripts/nginx_status.sh requests UserParameter=nginx.connections.active,/usr/local/zabbix/scripts/nginx_status.sh active UserParameter=nginx.connections.reading,/usr/local/zabbix/s...
5.重启zabbix agnetd生效 6.在server端使用zabbix_get测试获取 zabbix_get 看看Key有没有生效 [root@localhost zabbix_agentd.conf.d]#zabbix_get -s localhost -p 10050 -k "nginx.active"zabbix_get [43993]: Get value error: cannot connect to [[localhost]:10050]: [111] Connection refused 解决方法...
zabbix-agent配置文件Hostname参数是否与web端一致 mysql用mysqladmin监控数据库的时候出现不支持key的情况,用zabbix_get获取数据的时候能正常获取到数据,但是获取到的数据内容有: connectiontodatabase'zabbix'failed: [1045] Access deniedforuser'root'@'localhost'(usingpassword:NO) 所以进行mysql配置更改,修改mysql配...