标签:zabbix agent zabbix agent安装 zabbix agent配置
1,准备好源码包zabbix-2.2.2.tar.gz
# pwd /usr/local/src # ls zabbix-2.2.2.tar.gz
2,编译安装
# tar -xzvf zabbix-2.2.2.tar.gz # cd zabbix-2.2.2 # ./configure --prefix=/usr/local/zabbix-2.2.2/ --enable-agent # make # make install
3,改配置文件
vim /usr/local/zabbix-2.2.2/etc/zabbix_agentd.conf LogFile=/tmp/zabbix_agentd.log Server=10.32.1.72 #配置成server端的ip ServerActive=10.32.1.72 Hostname=mysql_master_10.31.2.64
4,启动zabbix agentd
# cd /usr/local/zabbix-2.2.2/sbin ./zabbix_agentd
本文出自 “一直在路上” 博客,请务必保留此出处http://chenql.blog.51cto.com/8732050/1881470
标签:zabbix agent zabbix agent安装 zabbix agent配置
原文地址:http://chenql.blog.51cto.com/8732050/1881470