首页 > 学院 > 操作系统 > 正文

Zabbix客户端安装教程(第二篇)

2024-06-28 14:33:04
字体:
来源:转载
供稿:网友

Zabbix 客户端安装教程

blog地址:http://www.CUOXin.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.confPidFile=/tmp/zabbix_agentd.pidLogFile=/tmp/zabbix_agentd.logEnableRemoteCommands=1Server=192.168.55.132ServerActive=192.168.55.132Hostname=Zabbix serverUnsafeUserParameters=1[root@localhost ~]# /etc/init.d/zabbix_agentd start


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表