22 Aug, 2018

ZABBIX agent install Centos 6/7

Centos 6

yum install http://repo.zabbix.com/zabbix/3.4/rhel/6/x86_64/zabbix-release-3.4-1.el6.noarch.rpm

yum install zabbix-agent zabbix-sender

vi /etc/zabbix/zabbix_agentd.conf
->Server=
->ServerActive=
->Hostname=

service zabbix-agent start
chkconfig zabbix-agent

iptables -A INPUT -p tcp -s 192.168.**.** --dport 10050 -m state --state NEW,ESTABLISHED -j ACCEPT

Centos 7

sudo yum install http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm

yum install zabbix-agent zabbix-sender

vi /etc/zabbix/zabbix_agentd.conf
->Server=
->ServerActive=
->Hostname=

systemctl start zabbix-agent
systemctl enable zabbix-agent

iptables -A INPUT -p tcp -s 192.168.**.** --dport 10050 -m state --state NEW,ESTABLISHED -j ACCEPT

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *