码迷,mamicode.com
首页 > 其他好文 > 详细

Zabbix 客户端安装教程

时间:2015-11-17 16:31:56      阅读:126      评论:0      收藏:0      [点我收藏+]

标签:

Zabbix 客户端安装教程

blog地址:http://www.cnblogs.com/caoguo

 

[root@localhost ~]# yum install -y gcc make
[root@localhost ~]# cd /usr/local/src
[root@localhost ~]# wget http://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.10/zabbix-2.2.10.tar.gz

[root@localhost src]# tar zxvf zabbix-2.2.10.tar.gz
[root@localhost zabbix-2.2.10]# ./configure --prefix=/usr/local/zabbix --enable-agent
[root@localhost zabbix-2.2.10]# make install
[root@localhost zabbix-2.2.10]# cp misc/init.d/fedora/core/zabbix_agentd /etc/init.d/
[root@localhost ~]# ln -s /usr/local/zabbix/etc /etc/zabbix
[root@localhost ~]# ln -s /usr/local/zabbix/sbin/zabbix_agentd /usr/local/sbin/

[root@localhost ~]# cp /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf-$(date +%Y%m%d)
[root@localhost ~]# vi /etc/zabbix/zabbix_agentd.conf
PidFile=/tmp/zabbix_agentd.pid
LogFile=/tmp/zabbix_agentd.log
EnableRemoteCommands=1
Server=192.168.55.132
ServerActive=192.168.55.132
Hostname=Zabbix server
UnsafeUserParameters=1

[root@localhost ~]# /etc/init.d/zabbix_agentd start

技术分享

Zabbix 客户端安装教程

标签:

原文地址:http://www.cnblogs.com/caoguo/p/4971880.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!