caoguo

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

分类:

技术点:

相关文章:

  • 2021-09-19
  • 2021-10-24
  • 2021-11-05
  • 2021-10-29
  • 2022-12-23
  • 2021-06-02
  • 2021-04-23
  • 2021-06-09
猜你喜欢
  • 2021-11-17
  • 2021-08-10
  • 2022-01-31
  • 2021-09-25
  • 2021-11-09
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案