wget http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-agent-4.0.3-1.el7.x86_64.rpm

rpm -ivh zabbix-agent-4.0.3-1.el7.x86_64.rpm
systemctl enable zabbix-agent.service
systemctl start zabbix-agent.service

vi /etc/zabbix/zabbix_agentd.conf 修改如下:

# Default:
#PidFile=/tmp/zabbix_agentd.pid
PidFile=/var/run/zabbix/zabbix_agentd.pid

LogFile=/var/log/zabbix/zabbix_agentd.log
Server=zabbix.ops.com
ServerActive=zabbix.ops.com
Hostname=172.16.1.111
HostMetadataItem=system.uname
Timeout=30
EnableRemoteCommands=1

 

相关文章:

  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2021-11-20
  • 2021-12-29
  • 2021-09-16
  • 2022-01-26
猜你喜欢
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2021-08-18
  • 2021-05-13
  • 2021-09-06
  • 2022-03-01
相关资源
相似解决方案