3、解压客户端软件
[iyunv@vhost1 ~]# tar zxvf zabbix_agents_2.0.4.linux2_6.amd64.tar.gz.gz
[iyunv@vhost1 ~]# mkdir /usr/local/zabbix
[iyunv@vhost1 ~]# mv bin /usr/local/zabbix/
[iyunv@vhost1 ~]# for i in *;do ln -s /usr/local/zabbix/bin/${i} /usr/bin/${i};done
[iyunv@vhost1 ~]# mv sbin /usr/local/zabbix
[iyunv@vhost1 ~]# for i in *;do ln -s /usr/local/zabbix/sbin/${i} /usr/sbin/${i};done
/usr/local/etc/zabbix_agentd.conf
修改以下几项
Server = 192.168.30.105
Hostname = server
我是在上传zabbix_agentd 包的时候,同时上传了zabbix的服务端的包,解压出来后直接拷贝过去,并做相应的修改
tar zxvf zabbix-2.0.5.tar.gz
cd zabbix-2.0.5
cp misc/init.d/fedora/core/zabbix_agentd /etc/init.d/
vim /etc/init.d/zabbix_agentd
找到BASEDIR=/usr/local
修改为
BASEDIR=/usr/local/zabbix