1、下载对应的zabbix-agent.rpm包传至服务器

http://repo.zabbix.com/

查看操作系统(发行版)

cat /etc/redhat-release

查看操作系统位数

getconf LONG_BIT

2、安装

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、修改配置文件

vi /etx/zabbix/zabbix_agentd.conf

Server=zabbix server ip

ServerActive=zabbix server ip

Hostname=本机IP #不要用127.0.0.1

4、关闭防火墙、或者开放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、启动

service zabbix-agent start

7、关联主机

配置-》主机-》创建主机

zabbix-agent端安装配置

 

 

 

相关文章:

  • 2022-12-23
  • 2021-11-12
  • 2021-12-22
  • 2021-12-07
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2021-12-05
  • 2022-01-20
  • 2021-04-01
  • 2021-10-09
  • 2021-10-01
  • 2021-12-12
  • 2021-09-02
相关资源
相似解决方案