zabbix-agent terminal installation configuration

1, download the corresponding packet is transmitted to the server zabbix-agent.rpm

http://repo.zabbix.com/

Check your operating system (release)

cat /etc/redhat-release

View operating system-digit

getconf LONG_BIT

2, installation

chmod 777 zabbix-agent-4.0.2-1.el5.x86_64.rpm

rpm -ivh zabbix-agent-4.0.2-1.el5.x86_64.rpm

3, modify the configuration file

we /etx/zabbix/zabbix_agentd.conf

Server=zabbix server ip

ServerActive=zabbix server ip

Hostname = Do not use the machine IP # 127.0.0.1

4, turn off the firewall or open ports 10050,10051

service iptables status

-A INPUT -m state --state NEW -m udp -p udp --dport 10050 -j ACCEPT  
-A INPUT -m state --state NEW -m tcp -p tcp --dport 10050 -j ACCEPT  
-A INPUT -m state --state NEW -m udp -p udp --dport 10051 -j ACCEPT  
-A INPUT -m state --state NEW -m tcp -p tcp --dport 10051 -j ACCEPT  

6, start

service zabbix-agent start

7, the host association

Configuration - "Host -" Create Host

 

 

 

Guess you like

Origin blog.csdn.net/weixin_37565541/article/details/91550512