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

9 模版变更

此页面列出了 Zabbix 内置模板的所有变更。

注意,升级到最新的Zabbix版本不会自动升级所使用的模板。建议通过以下方式修改现有安装中的模板:

  • Zabbix Git repository下载最新模版;
  • 然后,在配置模板你可以手动导入到Zabbix。如果已经存在相同名称的模板,在导入时应该检查Delete missing选项以实现干净的导入。这样,更新后的模板中不再存在的旧项将被删除(注意,这将意味着丢失这些旧项的历史记录)。

在6.0.0中的变化

Updated template format

As of Zabbix 6.0, all templates follow an updated format, which may impact the import of pre-6.0 templates.

The updated default template name no longer contains the initial denominator 'Template' or the target application, e.g. 'Net' or 'OS'. The target application is instead specified in the template file using tags.

For example, as of Zabbix 6.0, 'Template Net TP-LINK SNMP' is named 'TP-LINK by SNMP'; 'Template OS Windows SNMP' is named 'Windows by SNMP', whereby its YAML export file contains the following tags:

      tags:
               - tag: class
                 value: os

In the new format, each template and its elements are also assigned a UUID property for looking up matching objects, for example:

  groups:
           - uuid: 846977d1dfed4968bc5f8bdb363285bc
             name: 'Templates/Operating systems'
         templates:
           - uuid: f9a59315c8944853bb91c0a9ec3056d7
             template: 'Windows by SNMP'
             name: 'Windows by SNMP'

Importing a pre-6.0 template in Zabbix 6.0 may therefore result in the old template being renamed and suggested to be merged with the updated template. To avoid any unwanted merges, consider implementing one of these options:

  • Migrating your setup to the updated template format and moving customizations (if any) to separate templates.
  • Renaming your pre-6.0 template to include a custom prefix or suffix, e.g. 'Template OS Windows SNMP custom'. In most cases, this can be done directly in the import file. If not, you can use the Zabbix frontend or API to rename and export the templates.
  • Adding a uuid tag and custom value to the template import file.

To compare templates between different Zabbix versions, you can open a given template in the Zabbix Git repository and switch between the relevant release branches.

新模版

详情查阅Zabbix 6.0.0中的new templates

模版的变化
  • {#FSLABEL}宏已添加到对应的项目名称和描述在Windows by Zabbix agentWindows by Zabbix agent active模板中
  • vfs.file.cksum[/etc/passwd] 代理项目已经被更改成 vfs.file.cksum[/etc/passwd,sha256]
  • A new check zabbix[process,odbc poller,avg,busy] has been added to Zabbix server, Zabbix proxy, Remote Zabbix server and Remote Zabbix proxy templates. The metric is used for monitoring the average time for which ODBC processes have been busy during the last minute (in percentage).一个新的检查zabbix[process,odbc poller,avg,busy]已添加到Zabbix server, Zabbix proxy, Remote Zabbix serverRemote Zabbix proxy模板。该指标用于监视ODBC进程在最后一分钟内忙碌的平均时间(百分比)。

在6.0.2中的变化

模板Generic Java JMX现在包含两个发现规则: - Garbage collector discovery - Memory pool discovery

在6.0.3中的变化

可使用新的模板OpenWeatherMap by HTTP

对现有模板进行了以下更改:

  • 在模板Windows services by Zabbix agent, Windows services by Zabbix agent active, Windows by Zabbix agent, Windows by Zabbix agent active中 {$SERVICE.NAME.NOT_MATCHES}宏值已被更新,以过滤掉扩展的服务列表。

  • 模版PostgreSQL by Zabbix agent 2 现在将检查慢速查询的数量,如果数量超过阈值将产生问题。

在6.0.4中的变化

可用的新模版:

  • TrueNAS SNMP - 通过SNMP监控TrueNAS存储操作系统。
  • Proxmox VE by HTTP - 参见HTTP模板的设置说明。

模版 SMART by Zabbix agent 2 and SMART by Zabbix agent 2 (active) 已更新: - Attribute discovery LLD规则已被删除,而Disk discoveryLLD规则现在将基于预定义的特定厂商的属性集发现磁盘; - smart.disk.get 项现在只能返回关于特定磁盘的信息,而不是所有磁盘的信息。

模板中添加了新的宏,用于定义用于监控虚拟文件系统的文件系统利用率的警告和临界阈值。 HOST-RESOURCES-MIB storage SNMP, Linux by Prom, Linux filesystems SNMP, Linux filesystems by Zabbix agent active, Linux filesystems by Zabbix agent, Mellanox SNMP, PFSense SNMP, Windows filesystems by Zabbix agent active, Windows filesystems by Zabbix agent. 为使用这些宏文件系统利用率触发器已经更新。

6.0.5 中的变化

新模板可用:

  • CockroachDB by HTTP
  • Envoy Proxy by HTTP
  • HashiCorp Consul Cluster by HTTP
  • HashiCorp Consul Node by HTTP

请参阅 HTTP 模板 的设置说明。

6.0.6 中的变化

新模板可用:

  • HPE MSA 2040 Storage by HTTP
  • HPE MSA 2060 Storage by HTTP
  • HPE Primera by HTTP

请参阅 HTTP 模板 的设置说明。

PostgreSQL Agent 2 template has been updated:

A trigger for detecting checksum failures has been added to the Dbstat item of the PostgreSQL Agent 2 template. According to PostgreSQL documentation, you can use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent.

6.0.7 中的变化

新的模板 HPE Synergy by HTTP 可用。

模板 HashiCorp Consul Node by HTTPHashiCorp Consul Cluster by HTTP 现在支持 Consul 命名空间。

6.0.8 中的变化

一个新的模板 OPNsense by SNMP 是可用的。

6.0.13 中的变化

新模板可用:

  • AWS EC2 by HTTP
  • AWS by HTTP
  • AWS RDS instance by HTTP
  • AWS S3 bucket by HTTP

请参阅 HTTP 模板 的设置说明。

模板 Oracle by Zabbix agent 2 已经升级了:

  • 已删除以下静态监控项,这些监控项在单个查询中请求所有现有相关数据库对象的数据:
    • “Oracle:获取归档日志信息”
    • “Oracle:获取 ASM 统计信息”
    • “Oracle:获取 CDB 和 No-CDB 信息”
    • “Oracle:获取 PDB 信息”
    • “Oracle:获取表空间统计信息”
  • 以下agent监控项原型已添加到相应的发现规则中:
    • 归档日志发现规则:“Archivelog '{#DEST_NAME}':获取归档日志信息”
    • ASM 磁盘组发现:“ASM '{#DGNAME}':获取 ASM 统计信息”
    • 数据库发现:“Oracle 数据库‘{#DBNAME}’:获取 CDB 和非 CDB 信息”
    • PDB 发现:“Oracle 数据库‘{#DBNAME}’:获取 PDB 信息”
    • 表空间发现:“Oracle TBS '{#TABLESPACE}':获取表空间统计信息”

CHANGES IN 6.0.18

The template Azure by HTTP now also works with Azure Cosmos DB for MongoDB.

CHANGES IN 6.0.20

A new template AWS ECS Cluster by HTTP (along with its Serverless Cluster version) is available.

CHANGES IN 6.0.21

New template is available:

CHANGES IN 6.0.22

New template is available:

CHANGES IN 6.0.23

New template is available:

Updated templates

PostgreSQL by ODBC and PostgreSQL by Zabbix agent 2 templates now include the item and trigger for monitoring PostgreSQL version.

CHANGES IN 6.0.24

Updated templates

Integration with OpenShift has been added to Kubernetes cluster state by HTTP template.

CHANGES IN 6.0.26

Updated templates

MSSQL by ODBC template:

  • new item has been added - MSSQL DB '{#DBNAME}': Recovery model, which returns the database recovery model under the database discovery;
  • new macros, namely, {$MSSQL.BACKUP_FULL.USED}, {$MSSQL.BACKUP_DIFF.USED}, {$MSSQL.BACKUP_LOG.USED}, have been added - those can be used for disabling backup age triggers for a certain database;
  • LLD rules for quorum and quorum members discovery have been added;
  • the type of the LLD rules has been changed from “Database monitor” to “Dependent item”;
  • items with db.odbc.discovery key have been turned into items dependent on db.odbc.get item.

CHANGES IN 6.0.27

New templates

A new template is available:

  • YugabyteDB by HTTP, which includes the YugabyteDB Cluster by HTTP template for monitoring each YugabyteDB cluster.

CHANGES IN 6.0.28

New templates

A new template is available:

CHANGES IN 6.0.29

Updated templates

  • FortiGate by SNMP template has been supplemented with metrics regarding VPN, high availability (HA), wireless termination points (WTPs), SD-WAN health checks, and HW sensors.

CHANGES IN 6.0.30

New templates

The AWS ELB template set has been supplemented with the template AWS ELB Network Load Balancer by HTTP.

CHANGES IN 6.0.31

New templates

A new template is available:

CHANGES IN 6.0.32

New templates

The set of Azure by HTTP templates has been supplemented with the Azure VM Scale Set by HTTP template.

CHANGES IN 6.0.33

New templates

A new template is available:

CHANGES IN 6.0.34

New templates

A new template is available:

CHANGES IN 6.0.35

Updated templates

  • In all APC templates, the discovery rule for external defective battery packs has been supplemented with a filter to avoid creating unsupported items.
  • In the templates MSSQL by Zabbix agent 2 and MSSQL by ODBC, a timeout has been added and certain item keys have been adjusted to increase monitoring stability.

CHANGES IN 6.0.36

New templates

A new template is available:

  • Nutanix Prism Element by HTTP, a template set that also includes the templates Nutanix Cluster Prism Element by HTTP and Nutanix Host Prism Element by HTTP.

Updated templates

The template VMware Hypervisor within the VMware and VMware FQDN template sets has been updated with the option to be used as a standalone template.