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]