这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.

9 开箱即用的模板

概述

Zabbix致力于提供越来越多有用的开箱即用模板列表。 开箱即用的模板已预先配置,这是加速监控作业部署的有效方法。

模板获取来源:

  • 在新安装的Zabbix中 - 前往数据收集模板;
  • 如果是从旧版本升级的Zabbix, 升级安装可能会缺少新的模板. 您可以在Zabbix的代码仓库 中找到它们- 请注意选择您对应的升级版本。 如需添加一个新的模板,首先下载模板文件,然后打开Zabbix前端页面,选择数据收集模板,然后导入相关文件

请使用侧边栏目录访问特定类型模板及操作须知。

参考资料:

Template upgrade

To upgrade existing templates or add new ones after a Zabbix upgrade:

  1. Go to the Zabbix Git repository.
  2. In the branch selector (under the Source label), choose the branch that matches your Zabbix version (e.g., release/7.0 for Zabbix 7.0).
  3. Open the template you want to upgrade (e.g., MySQL by Zabbix agent).
  4. Copy the contents of the template file (e.g., template_db_mysql_agent.yaml) and save them to a local file.
  5. In Zabbix frontend, go to Data collection > Templates and import the local file.