1.安装zabbix 软件源
rpm -ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
2.安装zabbix-agent
yum install zabbix-sender zabbix-agent zabbix-get
配置文件
在 /etc/zabbix/zabbix_agentd.conf 中更改:
Server=<zbx-server的ip>
ServerActive=<zbx-server的ip>
Hostname=<本机的名字>
设置启动和开机项
systemctl start zabbix-agent.service
systemctl enable zabbix-agent.service
---------------------
作者:jasonliuu
来源:优快云
原文:https://blog.youkuaiyun.com/Jas0n_Liu/article/details/77099626
版权声明:本文为博主原创文章,转载请附上博文链接!