Zabbix主要采用的c/s架构,通过server端管理、采集agent端数据,然后将数据入库,在web界面实现展示。监控指标有zabbix预设的,还可以自定义脚本监控。图形化展示web端不是很丝滑,可以通过grafana的zabbix插件来实现图形化展示。
1、监控server端
# /etc/yum.repos.d/zabbix.repo,会去指定源下载最新版本
yum install zabbix-agent.x86_64 -y
# 启动服务,设置开机自启
systemctl start zabbix-agent.service
systemctl enable zabbix-agent.service
2、监控agent端
# 在清华源找到wget对应的链接,https://mirrors.tuna.tsin