07.在zabbix-server中添加所要监控的zabbix agent客户端配置教程

1、linxu系统:CentOS Linux release 7.5.1804 (Core)

2、安装zabbix-agent

      yum install epel-release -y

      yum install zabbix-agent -y

3、编辑zabbix_agent.conf文件

     find  / -name zabbix_agentd.conf

     cd /etc/zabbix/

     vim zabbix_agentd.conf

     修改如下:

    Server=(zabbix server ip)

    ServerActive=(zabbix server ip)

    Hostname=kevin agent  (此处的名字,要与zabbix server中configuration --> hosts中添加主机时,名字保持一致)

    编辑完成保存,重启zabbix-agent

    systemctl restart zabbix-agent

4、编辑zabbix server 中/etc/hosts文件

      vim /etc/hosts

      添加zabbix-agent ip  kevin agent

5、测试

猜你喜欢

转载自blog.csdn.net/kevinsingapore/article/details/80418298