werew1 发表于 2014-10-16 08:37:24

zabbix自定义监控

客户端


[*]install zabbix zabbix-agent rpm包 (http://www.zabbix.com/download.php)

[*]修改zabbix_agentd.conf Server=serverIP Hostname=clienIP

[*]zabbix_agentd.conf UnsafeUserParameters=1

[*]zabbix_agentd.conf UserParameter=nginx.tcp.estab_num,netstat -na|wc -l

服务端

[*]server测试 zabbix_get -s 192.168.1.50 -k nginx.tcp.estab_num

[*]Configuration-Hosts-Items-Create Items

[*]Configuration-Hosts-Graphs-Create Graphs


页: [1]
查看完整版本: zabbix自定义监控