系统:Linux Centos 7.3 x64web
服务:Zabbix_agent 3.0.16vim
一.安装Zabbix_agent 服务spa
1.安装zabbix 3.0 yum源3d
rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
2.安装Zabbix_agentcode
yum install zabbix-agent -y
3.修改配置文件server
vim /etc/zabbix/zabbix_agentd.confblog
# zabbix server端IP Server=127.0.0.1 # zabbix server端IP ServerActive=127.0.0.1 # zabbix客户端主机名 Hostname=Zabbix server
4.启动zabbix_agent服务it
systemctl start zabbix-agent.service
二.web端添加操做io
登录zabbix-server Web界面,Configuration-->Hosts-->Create host模板
点击Templates 设置关联模板Template OS Linux 并add。
如今去Configuration--> Hosts中查看刚刚新加的主机,availability已经变成绿色了,表明成功了。以下:
完成!!!