配置说明
对于同一类型的服务器,一般监控的东西都差不多,为了监控项能够复用而不用每次都去添加,就有了模板的概念,只需要配置好模板,然后关联给服务器即可。
管理模板
Zabbix 自带了 Linux 系统监控模板,所以只需要搜索一下就能找到:
一般都是使用 agent 收集数据:
我们将该模板绑定到我们的 服务器(Linux)主机组上面去,这样服务器向使用该模板直接去改组下面绑定即可:
添加:
此时返回主机群组就能看到刚刚绑定的监控模板:
主机绑定模板
我们新增了主机,但是 Zabbix 并不知道我们想监控啥,所以需要给这个主机绑定相应的监控模板:
绑定刚刚的 OS 模板:
更新:
此时可以看到改主机绑定了很多监控项:
这些监控项都是作用于 Linux 监控的。变成绿色说明数据传输正常:
可以前往最新数据查看获取到的监控数据: