xcp zabbix agent

сначала переводим в статус enabled=1 все нужные репозитории в /etc/yum.repo.d/

потом
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
sudo rpm -Uvh epel-release-5*.rpm
ls -1 /etc/yum.repos.d/epel*

sudo rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/5/i386/zabbix-release-2.2-1.el5.noarch.rpm
(Можно посмотреть тут http://www.alsigned.ru/?p=2463)

yum install zabbix vim

vi /etc/zabbix/zabbix_agentd.conf

diff centos & deb config

[root@srv-vm2 ~]# diff /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf_deb 
23c23
< LogFile=/var/log/zabbix/zabbix_agentd.log
---
> LogFile=/var/log/zabbix-agent/zabbix_agentd.log
34c34
< LogFileSize=0
---
> LogFileSize=10
85c85
< Server=127.0.0.1
---
> Server=192.168.x.x
110c110
< # StartAgents=3
---
> StartAgents=5
137c137
< Hostname=Zabbix server
---
> Hostname=srv-vm2
240c240
< #	Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
---
> #	Installing Zabbix will create include directory in /etc/zabbix, unless modified during the compile time.
246,249c246,248
< Include=/etc/zabbix/zabbix_agentd.d/
< 
< # Include=/usr/local/etc/zabbix_agentd.userparams.conf
< # Include=/usr/local/etc/zabbix_agentd.conf.d/
---
> # Include=/etc/zabbix/zabbix_agentd.userparams.conf
> # Include=/etc/zabbix/zabbix_agentd.conf.d/
> Include=/etc/zabbix/zabbix_agentd.conf.d/

 

Подробнее: Adguard ключ скачать бесплатно
  1. Пока комментариев нет.

  1. Пока что обратных ссылок нет.