Zabbix 客户端安装教程
blog地址:http://www.cnblogs.com/caoguo
[[email protected] ~]# yum install -y gcc make [[email protected] ~]# cd /usr/local/src [[email protected] ~]# wget http://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.10/zabbix-2.2.10.tar.gz [[email protected] src]# tar zxvf zabbix-2.2.10.tar.gz [[email protected] zabbix-2.2.10]# ./configure --prefix=/usr/local/zabbix --enable-agent [[email protected] zabbix-2.2.10]# make install [[email protected] zabbix-2.2.10]# cp misc/init.d/fedora/core/zabbix_agentd /etc/init.d/ [[email protected] ~]# ln -s /usr/local/zabbix/etc /etc/zabbix [[email protected] ~]# ln -s /usr/local/zabbix/sbin/zabbix_agentd /usr/local/sbin/ [[email protected] ~]# cp /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf-$(date +%Y%m%d) [[email protected] ~]# 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 [[email protected] ~]# /etc/init.d/zabbix_agentd start
时间: 2024-10-13 11:59:00