zabbix通过agent监控主机
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
服务端配置
zabbix-agent包下载地址:https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/选择和自己环境匹配的包:
rpm -qa | grep zabbix-server
zabbix-server-mysql-4.0.8-1.el7.x86_64
安装zabbix-agent,我这边是4.0.8的
rpm -ivh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-agent-4.0.8-1.el7.x86_64.rpm
修改配置文件(指定zabbix-server的地址)
vim /etc/zabbix/zabbix_agentd.conf
Server=172.16.1.62
重启服务和设置开机自启
systemctl restart zabbix-agent.service
systemctl enable zabbix-agent.service
web配置
创建主机

添加linux模板


请我喝杯水

