zabbix-自动注册

1.安装ZabbixAgent
yum localinstall -y https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/3.4/rhel/7/x86_64/zabbix-agent-3.4.14-1.el7.x86_64.rpm

2.配置ZabbixAgent指向ZabbixProxy
[root@nfs ~]# /etc/zabbix/zabbix_agentd.conf
Server=172.16.1.8
ServerActive=172.16.1.8
Hostname=backup

3.启动zabbix-agent并加入开机自启动
[root@nfs ~]# systemctl enable zabbix-agent
[root@nfs ~]# systemctl start zabbix-agent

原文地址:https://www.cnblogs.com/fangdecheng/p/9845676.html