1 创建zabbix 用户
groupadd zabbix;
useradd -g zabbix zabbix;
passwd zabbix;
两次输入密码
2 下载获得zabbix的包,然后解压
tar zxvf zabbix-2.2.3.tar.gz;
3 安装
cd /home/zabbix/zabbix-2.2.3;
./configure --with-net-snmp --with-libcurl --enable-agent --prefix=/usr/local/zabbix
su root
make && make install
4 将zabbix_agentd设置为服务
cp /home/zabbix/zabbix-2.2.3/misc/init.d/fedora/core5/zabbix_agentd /etc/init.d/
vim /etc/init.d/zabbix_agentd
修改
ZABBIX_BIN="/usr/local/sbin/zabbix_agentd"
为
ZABBIX_BIN="/usr/local/zabbix/sbin/zabbix_agentd"
5 启动zabbix_agentd
service zabbix_agentd start
6 将zabbix_agentd添加为开机自启动
chkconfig zabbix_agentd on
zabbix 客户端安装配置运行,布布扣,bubuko.com
原文地址:http://blog.csdn.net/lovemelovemycode/article/details/27791505