客戶端部署: linux
下載: tcp
mkdir /usr/local/zabbix spa
cd /usr/local/zabbix .net
wget http://www.zabbix.com/downloads/2.0.4/zabbix_agents_2.0.4.linux2_6_23.amd64.tar.gz code
tar zxvf zabbix_agents_2.0.4.linux2_6_23.amd64.tar.gz server
cd conf/ 部署
cp zabbix_agentd.conf /usr/local/etc/ get
vi /etc/services 添加: it
修改配置文件: class
vi /usr/local/etc/zabbix_agentd.conf
LogFile=/tmp/zabbix_agentd.log
Server=192.168.1.234
ServerActive=127.0.0.1
Hostname=Zabbix server
啓動:
./sbin/zabbix_agentd
在服務端get下:
[root@monitor bin]# ./zabbix_get -s 192.168.1.232 -p 10050 -k agent.ping
1
獲取OK