插件 〉Zabbix


开发者

Grafana Labs

注册以接收偶尔的产品新闻和更新



应用程序
grafana

Zabbix

文档 →

用于 Grafana 的 Zabbix 插件

Version Change Log Docs

Dashboard

功能特性

  • 使用 正则表达式 选择多个指标
  • 使用模板变量创建交互式和可重用的仪表板
  • 使用注释在图表上显示事件
  • 使用触发器面板显示活动问题
  • 使用指标处理函数(平均值、中位数、最小值、最大值、乘法、汇总、时间偏移、别名)转换和塑造您的数据
  • 使用告警功能更快地发现问题
  • 在同一仪表板甚至图表中混合来自多个数据源的指标
  • 在官方库中发现和分享仪表板

在 Grafana-Zabbix Live demo 站点查看所有功能概述和仪表板示例。访问 插件页面 grafana.com 并查看可用的 Grafana 数据源、面板和仪表板

安装

使用 grafana-cli 安装

grafana-cli plugins install alexanderzobnin-zabbix-app

或在文档中查看更多安装选项。

入门指南

首先,配置 Zabbix 数据源。然后,您可以按照循序渐进的入门指南创建您的第一个仪表板。

文档

社区资源、反馈和支持

  • 发现错误?想要新功能?请随时打开一个issue
  • 有疑问?您也可以打开 issue,但对于问题,最好使用 Grafana 社区 门户。

在 Grafana Cloud 上安装 Zabbix

有关更多信息,请访问关于插件安装的文档。

变更日志

[5.0.0] - 2025-01-10

  • 插件现在需要 Grafana 10.4.8 或更高版本

[4.6.1] - 2025-01-07

  • Bug fix: 修复了与 zabbix 7 的兼容性问题。(修复了 #1935 )

[4.6.0] - 2024-12-16

  • Feature: 添加了对 Zabbix 7 的支持。(修复了 #1914 )
  • Feature: 主机 ID 别名函数 $__zbx_host_id (#1913)
  • Bug Fix: 修复了混合数据源与变量引用不工作的错误 #1909
  • Bug Fix: 修复了多个 SLA 查询未正确处理的错误 #1910
  • Chore: 更新了 grafana 插件 SDK

[4.5.7] - 2024-10-30

  • Chore: Bump uplot to 1.6.31
  • Chore: Bump grafana-plugin-sdk-go from 0.250.0 to 0.251.0

[4.5.6] - 2024-10-21

  • Fix: AlertList 在 grafana 11.0.0 中的样式问题
  • Chore: 从已弃用的面板迁移示例仪表板

[4.5.5] - 2024-09-30

  • Chore: Bump dompurify from 3.1.0 to 3.1.6
  • Chore: Bump grafana-plugin-sdk-go from 0.250.0 to 0.251.0
  • Chore: Bump grafana-plugin-sdk-go from 0.247.0 to 0.250.0

[4.5.4] - 2024-09-12

  • Chore: Bump path-to-regexp from 1.8.0 to 1.9.0
  • Chore: Bump grafana-plugin-sdk-go from 0.236.0 to 0.247.0

[4.5.3] - 2024-09-03

  • Chore: Bump fast-loops from 1.1.3 to 1.1.4
  • Chore: Bump webpack from 5.88.2 to 5.94.0
  • Chore: Bump micromatch from 4.0.5 to 4.0.8
  • Docs: 更新了关于别名函数的文档

[4.5.2] - 2024-07-01

  • Chore: 嵌套插件所需的更改
  • Chore: 更新了可执行路径

[4.5.1] - 2024-06-14

  • Fix: Problems queries not working before zabbix version 7

[4.5.0] - 2024-06-10

  • Add support for Zabbix version 7

[4.4.9] - 2024-04-30

  • Fix: Improve compatibility with the scenes framework (#1822)
  • Chore: Update dependencies

[4.4.8] - 2024-04-15

  • Chore: Update dependencies

[4.4.7] - 2024-04-08

  • Chore: Bump grafana-plugin-sdk-go from v0.193.0 to v0.220.0
  • Chore: Update plugin keywords

[4.4.6] - 2024-03-07

  • Fix: API token reset not working (#1797)
  • Chore: Build with go 1.22

[4.4.5] - 2024-01-10

[4.4.4] - 2023-11-21

Feature

  • 更新配置页面以遵循最佳实践

Fix

  • 仪表板未在配置中显示

Chore

  • 添加了 lint github 工作流程
  • 将 grafana-plugin-sdk-go 更新到最新版本
  • 移除旧版表单样式

[4.4.3] - 2023-10-10

Chore

  • Don't track requests on dashboard #1707

[4.4.2] - 2023-10-09

Chore

文档

  • Fix broken link in query editor and doc #1701

[4.4.1] - 2023-08-30

Fixed

[4.4.0] - 2023-08-17

Added

  • 支持安全 socks 代理,#1653
  • 可以使用 API 令牌进行身份验证,#1513
  • Problems: 能够选择 AND/OR 标签评估规则,#1600

Fixed

  • Application filter does not work in some cases, #1597
  • Application filter in the triggers query, #1643
  • Problems: 分页在页脚不起作用 #1649
  • Single host items contain the hostname in the legend, #1335
  • IT Services: 显示多个 SLA,#1603

[4.3.1] - 2023-03-23

Fixed

  • Cannot create or edit variables (unexpected error happened), #1590
  • Item tag filter not working properly, #1594
  • SLA dates differ in Grafana and Zabbix, #1595
  • Problems panel: invalid problem lastchange time for list layout, #1596
  • Problems panel: tags filter doesn't work in history mode, #1592

[4.3.0] - 2023-03-21

Added

  • SLA support in Zabbix 6.0, #1437
  • Build for FreeBSD, #1301
  • Problems panel: add operational data, #1260
  • Problems panel: allow HTML in problem description, #1557
  • Problems panel: show acknowledge author in message, #1281
  • Problems panel: query problems with particular severity, #572
  • Show non-suppressed problems from maintenance hosts when "Show Maintenance Hosts" is not selected, #830
  • Set data frame name in triggers query mode, #1441
  • Use trends by graph, #1442
  • Improved performance of item tags, #1315
  • Triggers query mode: add time range switcher, #918

Fixed

  • Zabbix authentication does not work in 6.4, #1544
  • Error json: invalid use of ,string struct tag, trying to unmarshal into float64, #1325
  • Triggers: acknowledged filter doesn't work, #985

[4.2.10] - 2022-09-01

Fixed

  • Perl regex syntax no longer accepted in any filter, #1264
  • InfluxDB direct DB connection error (this.influxDS._seriesQuery(...).then is not a function), #1255

[4.2.9] - 2022-07-12

Fixed

  • Plugin is not working with Zabbix 6.2.0, #1470

[4.2.8] - 2022-05-06

Fixed

  • setAlias() doesn't work in some cases, #1444
  • Trend data displayed incorrectly when direct DB connection enabled, #1445

[4.2.7] - 2022-05-04

Fixed

  • IT Services not working with Zabbix 6.0, #1408
  • Problems panel: Cannot read properties of undefined (reading 'trim') error when tag has only name, #1420
  • Dashboards not included into plugin, #1407
  • Missing labels in response, #1352
  • Query returns all application data when host not found, #1427
  • Basic Auth is not working (401 Unauthorized), #1327
  • Show disabled items option is not working, #1249

[4.2.6] - 2022-04-04

Fixed

  • Problems panel: incorrect problem name when PROBLEM event generation mode set to multiple, #1403

[4.2.5] - 2022-02-17

Fixed

  • Problems panel: error when attempting to click on info button, #1357
  • Error parsing regexp: invalid or unsupported Perl syntax, #1318
  • json: cannot unmarshal number into Go struct field TimeSeriesData.series.TS of type int64, #1320
  • json: cannot unmarshal number into Go struct field QueryModel.queryType of type string, #1342
  • Grafana does not get units from Zabbix in 4.2, #1321

[4.2.4] - 2021-09-27

Fixed

  • Time series is cut on certain conditions, #1309
  • groupBy/aggregateBy handles interval improperly, #1310
  • top() function returns incorrect set of series, #1313
  • Some data alignment/stacking issues

[4.2.3] - 2021-09-21

Fixed

  • Different collection intervals compatibility (stacked graph issue), #1211
  • Graph broken when trend data used, #1300
  • Zabbix API request error "EOF", #1295
  • Item tag does not accept variables, #1283
  • Failed to query data, rpc error, #1262
  • Error Cannot read property 'isZabbix54OrHigher' of undefined when creating a variable template query, #1282

[4.2.2] - 2021-08-25

Fixed

  • Different item intervals compatibility (stacked graph issue), #1211
  • Random "Failed to call resource" errors and plugin restarts, #1269
  • Top function does not work if number of series less than provided N, #1267
  • Host names are not displayed on multiple selection (regular expression), #1265
  • Cannot unmarshal number into Go struct field ZabbixDatasourceSettingsDTO.timeout of type string, #1254
  • sortSeries() does not sort by series name, #1274

[4.2.1] - 2021-08-10

Fixed

  • No data on queries with aggregation function
  • Wrong percentile aggregation

[4.2.0] - 2021-08-10

Added

  • Support functions on the backend (alerting with functions), #869
  • Support item tags instead of application in Zabbix 5.4, #1258

Fixed

  • Direct DB connection - No data in Grafana 8.0, #1221
  • Error when attempting to acknowledge problems in Grafana 8.0, #1239
  • Explore button in Problems view doesn't work (redirects to 404), #1240
  • Zabbix value mapping doesn't work in Grafana 8.0, #1222
  • Unable to see acknowledges if problem has tags, #1233
  • Ack button is not visible on narrow layouts, #1252

[4.1.5] - 2021-05-18

Fixed

  • Fix compatibility with Zabbix 5.4, #1188

[4.1.4] - 2021-03-09

Fixed

  • Field/Standard options/Display name stopped working in 4.1 release, #1130
  • Functions: trendsValue(sum) is not working, #935

[4.1.3] - 2021-03-05

Fixed

  • Explore: Error "Unexpected field length", #1150
  • Problems: item last value truncated text, #1145
  • Problems: minor UI bug, #1149
  • Option to disable zabbix value mapping translation in query, #1128

[4.1.2] - 2021-01-28

Fixed

  • Item ID query mode doesn't work, #1148
  • IT Services: a.round_interval is not a function, #1142
  • Problems: Text overlap between the tooltip and description boxes, #1138
  • Problems: expanded row overwritten on refresh, #1143

[4.1.1] - 2020-12-30

Fixed

  • Graphs with dependent items failed to render, #1123

[4.1.0] - 2020-12-28

Added

  • 数据帧 支持, #10820. 这解决了以下各种问题
  • 如果可能,使用 Zabbix 中配置的单位
  • 使用来自 Zabbix 的值映射
  • 对齐每个系列中的点以防止堆叠图表问题
  • 用空值填充缺失点,#1109
  • Problems: 按时间范围过滤问题,#1094
  • ARM 构建(ARM64 和 ARM v6),#1028

Fixed

  • Grafana 不会阻止保存带有模板变量的告警,#1100
  • 查询检查器无法工作,#1097
  • Problems panel query editor issues, #988
  • Problems: 无法将严重程度更改为“未分类”,#1104
  • Problems: ack 消息限制为 64 个字符,#1122

[4.0.2] - 2020-11-13

Fixed

  • Query mode Text 返回最后一个值时无数据,#1062
  • 能够配置 API 请求超时,#1046
  • 支持后端请求的基本身份验证,#1048
  • Problems: 修复了使用空值作为过滤器时问题列表为空的问题
  • Problems: 修复了长项目值显示问题

[4.0.1] - 2020-09-02

Fixed

  • 插件未签名,#1038
  • Datasource: "Parse error Invalid JSON. An error occurred on the server while parsing the JSON text" , #1004
  • Datasource: Skip TLS Verify button does not work, #1029
  • Config: can't select Direct DB Connection in Grafana 7.1.5, #1027
  • Problems: trigger dependencies not resolved, #1024

[4.0.0] - 2020-08-25

4.0 功能亮点

Grafana-Zabbix 4.0 带来了许多底层更改。引入的最重要的事情是后端,这带来了许多好处

  • 告警支持(有限,尚不支持数据处理功能)。
  • 修复了与将数据源凭据暴露给 Grafana 前端以及将密码存储为数据库中的纯文本相关的安全问题。
  • 改进的性能(插件可以缓存查询并在后端处理数据)。
  • 随着安全性的提高,添加操作(执行脚本、关闭问题等)变得更加容易。

安装

先决条件:插件需要 Grafana 7.0 才能运行。

使用 grafana-cli 工具从命令行安装 Zabbix

  1. grafana-cli plugins install alexanderzobnin-zabbix-app
  2. 默认情况下,未签名的插件不会加载,因此请在 Grafana 配置文件中允许它
    allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
    
  3. 重启 Grafana 服务器

有关更多信息,请参阅 allow_loading_unsigned_plugins 选项描述。

安全性

  • Zabbix 凭据对每个可以查看仪表板的人都可用,#380
  • 加密存储密码,#800

Added

  • 告警支持(有限,尚不支持数据处理功能) , #801
  • Problems: 执行脚本,#978
  • Problems: 带有问题描述的工具提示
  • Problems: 使用面板选项中的严重程度过滤器

Fixed

  • Problems: 问题历史记录
  • Problems: 按严重程度排序,#921
  • Datasource: 在请求错误时重新连接
  • Problems: 按标签过滤
  • Problems: 排序顺序
  • Problems: 性能改进(删除不必要的查询)
  • Problems: 空问题列表,#955
  • Problems: 面板选项未打开时面板迁移(重新加载后未保存选项)
  • Problems: 项目值工具提示位置

Removed

  • 旧版告警功能(在面板上显示心形图标),已替换为 Grafana 告警

[4.0.0-alpha4] - 2020-07-21

Fixed

  • Problems: 按标签过滤
  • Problems: 排序顺序
  • Problems: 性能改进(删除不必要的查询)

[4.0.0-alpha3] - 2020-07-17

Fixed

  • Problems: 空问题列表,#955

[4.0.0-alpha2] - 2020-06-18

Fixed

  • Problems: 面板选项未打开时面板迁移(重新加载后未保存选项)
  • Problems: 项目值工具提示位置

Added

  • Problems: 使用面板选项中的严重程度过滤器

Removed

  • 旧版告警功能(在面板上显示心形图标),已替换为 Grafana 告警

[4.0.0-alpha1] - 2020-06-04

4.0 功能亮点

Grafana-Zabbix 4.0 带来了许多底层更改。引入的最重要的事情是后端,这带来了许多好处

  • 告警支持(有限,尚不支持数据处理功能)。
  • 修复了与将数据源凭据暴露给 Grafana 前端以及将密码存储为数据库中的纯文本相关的安全问题。
  • 改进的性能(插件可以缓存查询并在后端处理数据)。
  • 随着安全性的提高,添加操作(执行脚本、关闭问题等)变得更加容易。

安装

先决条件:插件需要 Grafana 7.0 才能运行。

版本 4.0 目前处于 alpha 状态,尚未在 grafana.com 上发布。为了安装它,请按照以下步骤操作

  1. 转到 GitHub releases 并找到最新的 4.0.0 版本。
  2. 从发布资产下载带有插件的 .zip 包(资产名称为 grafana-zabbix-4.0.0-<alphaX|betaX>.zip)。
  3. 解压它并放入 grafana 插件文件夹。
  4. 默认情况下,未签名的插件不会加载,因此请在配置中允许它
    allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
    
  5. 重启 Grafana 服务器

有关更多信息,请参阅 allow_loading_unsigned_plugins 选项描述。

安全性

  • Zabbix 凭据对每个可以查看仪表板的人都可用,#380
  • 加密存储密码,#800

Added

  • 告警支持(有限,尚不支持数据处理功能) , #801
  • Problems: 执行脚本,#978

[3.12.2] - 2020-05-28

Fixed

  • Annotations feature doesn't work, #964
  • Alias variables do not work with direct DB connection enabled, #965

[3.12.1] - 2020-05-25

Fixed

  • Problems: panel fails with error (cannot read property 'description' of undefined) , #954
  • Problems: problem name filter doesn't work, #962
  • Problems: acknowledged filter doesn't work, #961

[3.12.0] - 2020-05-21

Added

  • Variables: 能够查询项目值,#417
  • Functions: expose host, item, app to the alias functions, #619
  • Problems: navigate to Explore and show graphs for the problem, #948
  • Problems: able to show Problems/Recent problems/History, #495
  • Problems: icon with acknowledges count, #946
  • IT Services: support SLA intervals, #885

Fixed

  • Explore doesn't work with Zabbix datasource, #888
  • SLA value is incorrect, #885
  • Graph panel randomly shows no data, #861
  • Variables: unable to edit variables in Grafana 7.0.0, #949
  • Variables: wrong variable scope inside repeated rows, #912
  • Problems: resolve macros in URLs, #190
  • Problems: unable to acknowledge resolved problem, #942
  • Problems: resolved problems color and severity set to Not classified, #909
  • Problems: can't acknowledge alert in panel with a single problem, #900
  • 注解:在注解中,ITEM.VALUE 的行为类似于 ITEM.LASTVALUE#891
  • 面板上的告警状态(心形图标)在 Grafana 6.7 中不起作用,#931
  • 使用直接数据库连接时,综合平均值不准确,#752

已更改

  • 问题面板使用新的 problem.get API,该 API 与 Zabbix 3.x 不兼容,#495
  • 问题面板现在是指标面板,问题查询编辑器已移至数据源。
  • Zabbix 版本现在自动检测,#727

[3.11.0] - 2020-03-23

Added

  • 改进变量查询编辑器,#705
  • 转换/百分位数函数,#868

Fixed

  • 问题面板:在 Grafana 6.7.0 中停止工作,#907
  • 问题面板:事件严重性更改,#870
  • 问题面板:即使只有消息而没有确认,颜色也更改为已确认,#857
  • 百分位数函数返回不正确的结果,#862

[3.10.5] - 2019-12-26

Added

  • SLA 随时间变化的图表,#728
  • 函数中的其他时间范围,#531

Fixed

  • 问题面板:查询编辑器在 Grafana 6.4 中损坏,#817
  • 数据源:函数编辑器不起作用,#810
  • 数据源:无法从预输入中向查询添加函数,#468
  • 数据源:注解编辑器在 Grafana 6.x 中损坏,#813
  • React 插件问题,#823

[3.10.4] - 2019-08-08

Fixed

  • 问题面板:查询编辑器在 Grafana 6.3 中损坏,#778
  • 问题面板:缺少一些心形图标,#754

[3.10.3] - 2019-07-26

Fixed

  • 直接数据库连接:无法保持启用状态,#731
  • 触发器查询模式:计数不适用于 Singlestat,#726
  • 查询编辑器:函数编辑器在 Grafana 6.x 中看起来很奇怪,#765
  • 告警:Grafana 6.x 中面板上的心形图标,#715

[3.10.2] - 2019-04-23

Fixed

  • 直接数据库连接:配置的数据源加载失败,#711
  • 函数:sumSeries 与其他聚合函数一起使用时不起作用,#530
  • 问题面板:性能和内存问题,#720 , #712
  • 问题面板:为只读用户隐藏确认按钮,#722
  • 问题面板:字体大小增加时,“无数据”与表头重叠,#717
  • 问题面板:问题描述未调整问题栏的大小,#704
  • 触发器查询模式:问题未按选定的组过滤,#709

[3.10.1] - 2019-03-05

Fixed

  • 问题面板:无法在 Grafana 6.0 中编辑面板,#685
  • 问题面板:数据源选择器为空,#692
  • 问题面板:“已确认”过滤器无法正常工作,#678 #691
  • 问题面板:已确认颜色不起作用,#676
  • 问题面板:在列表视图中,突出显示背景对于已解决的事件无法正常工作,#681
  • 问题面板:重复的页面大小条目,#696
  • 直接数据库连接:无法从 InfluxDB 获取趋势数据,#675
  • 当时间设置为整天/周/月时,不显示注解,#680
  • 启用直接数据库连接的数据源配置失败 #688
  • 函数:offset 函数在 Singlestat 面板中返回 NaN#683
  • 函数:median()aggregateBy(median) 不对应,#690
  • 文档:添加关于安装方法的警告,#693

[3.10.0] - 2019-02-14

Added

  • 问题(以前的触发器)面板的类似表格的布局,#673
  • 问题面板:能够显示仪表板时间范围内的最新问题,#550
  • 问题面板:按事件标签过滤问题,#487
  • 问题面板:用于显示组和代理的选项,#418
  • 支持 InfluxDB 作为直接数据库连接数据源,#640,与 Gleb Ivanovsky aka @i-ky 合作
  • 支持启用直接数据库连接的数据源配置,#614
  • 函数:offset 函数,#387,感谢 @drakosha
  • 函数:removeAboveValueremoveBelowValuetransformNull 函数,#562,感谢 @gelonsoft

Fixed

  • 添加新指标时出现t.replace is not a function 错误,#661
  • 问题面板:在 Zabbix 4.0 中确认问题时出错,#629
  • 问题面板:直接链接渲染图像,#605
  • 直接数据库连接:当没有返回序列时,出现Cannot read property 'name' of null 错误,#571
  • 直接数据库连接:consolidateBy(sum) 无法正常工作,#603
  • 直接数据库连接:consolidateBy() 影响面板中的其他指标,#602

已更改

  • 禁用 Zabbix/Linux 服务器仪表板的自动创建(仍然可以从数据源配置页面导入),#422
  • 使用 Webpack 构建插件,#632
  • dist/ 文件夹已从仓库中删除,从 github 仓库安装不再起作用,#693

[3.9.1] - 2018-05-02

Fixed

  • 启用“直接数据库连接”时,数据源失败 #564
  • 面板上的告警和健康图标 #556
  • 告警阈值错误 #549

[3.9.0] - 2018-03-23

Added

  • 文本数据的表格格式支持 #492
  • 启用触发器背景高亮的选项 #532
  • 为只读用户禁用确认的选项 #481

Fixed

  • 触发器面板在 Grafana 5.0 中样式损坏 #522
  • 确认中未定义的用户名 #393

[3.8.1] - 2017-12-21

Fixed

  • 触发器面板多个目标错误(在一个目标中键入会影响其他目标)
  • 触发器面板事件源图标

[3.8.0] - 2017-12-20

Added

  • 触发器面板的多数据源支持,#431

已更改

  • 触发器面板已完全重新设计,关闭了一系列问题:#431、#488、#299、#485、#412、#157、#483、#487、#248
  • 测试已迁移到 Jest

Fixed

  • 触发器面板刷新问题
  • aggregateBy() 函数错误,#498

[3.7.0] - 2017-10-24

Added

  • PostgreSQL 支持直接数据库连接。
  • 触发器 查询模式,允许按组、主机和应用程序计数活动告警,#141
  • sortSeries() 函数,允许按名称对多个时间序列进行排序,#447,感谢 @mdorenkamp
  • percentile() 函数,感谢 @pedrohrf
  • Zabbix 系统状态 示例仪表板。

已更改

  • 包含的仪表板已移动到数据源。转到数据源配置以导入它。

Fixed

  • 直接数据库连接在启用 ONLY_FULL_GROUP_BY 选项时不起作用,#445
  • 应用程序选择不起作用,#352
  • 当没有数据点且使用聚合函数时,出现“时间范围外的数据点”错误
  • Grafana 4.5+ 中缺少最大数据点选项
  • Grafana 4.5+ 中缺少查询编辑器帮助
  • 带有 <= >= = 运算符的告警阈值检测,感谢 @akotynski

[3.6.1] - 2017-07-26

Fixed

  • 升级后出现cannot read property 'enable' of undefined 错误,#436

[3.6.0] - 2017-07-26

Added

  • 直接数据库连接,允许使用现有的 SQL 数据源直接从 Zabbix 数据库查询历史数据。
  • 文档:直接数据库连接参考和配置。
  • consolidateBy 函数,允许为时间序列数据指定聚合函数。
  • movingAverageexponentialMovingAverage 函数。
  • 项目 ID 编辑器模式,用于按 ID 查询项目。

已更改

  • IT 服务查询编辑器。现在用户可以使用正则表达式选择多个服务,#415

Fixed

  • 注解和触发器面板(触发器名称字段)中的模板变量支持,#428
  • 解析带有大括号的模板变量查询,#432
  • sumSeries() 函数错误,#286

[3.5.1] - 2017-07-10

Fixed

  • 使用模板查询时出现告警错误,#424

[3.5.0] - 2017-07-05

Added

  • rate() 函数,用于计算增长计数器的每秒速率。
  • 时间序列函数的基准测试。使用了 Benchmark.js 库。

已更改

  • 模板查询格式。新格式为 {group}{host}{app}{item}。它允许使用带点的名称。已更新 模板文档#254
  • 更新包含的仪表板。添加模板化的 Zabbix 数据源并将其用于所有指标。
  • 改进了 groupBy() 函数的性能(比旧版本快 6-10 倍)。
  • 当使用聚合时,用null填充空间隔,#388

Fixed

  • 当键在带引号的参数中包含逗号时,项目名称展开,例如 my_key["a=1,b=2",c,d]
  • 使用趋势时点顺序不正确 #202
  • 浅色主题的触发器面板样式
  • 当 Singlestat 或表格显示 NaN 时,文本指标出现错误,#325

[3.4.0] - 2017-05-17

Added

  • 告警:突出显示包含触发告警指标的面板。
  • 告警:从 Zabbix 触发器向面板添加阈值。
  • 文档:添加来自 @v-zhuravlev 的 setAliasByRegex() 文档
  • 支持图表上的毫秒分辨率。来自 Jay Dawes 的补丁 [email protected]
  • 求和与计数聚合。
  • 在项目中展开用户宏 #212
  • replaceAlias() 函数 #287
  • 趋势的其他 Range 配置选项 #364

已更改

  • 向下拉指标列表添加模板变量 #310
  • 向主机下拉列表添加所有值正则表达式 /.*/
  • 用 lodash 替换原生 map() 和 forEach() 方法。

Fixed

  • 没有返回值时的模板问题 #354
  • 为多个文本指标添加主机名。
  • 具有 timeshift() 的多个目标的 Timeshift 问题(时间范围外的数据点),#338

[3.3.0] - 2017-02-10

Added

  • 触发器面板:允许隐藏维护中的主机 #186
  • 触发器面板:允许更改字体大小 #351
  • 触发器面板:表格分页 #229
  • 触发器面板:添加“启用滚动”控件和页面大小输入。

已更改

  • 触发器面板:重新排列选项。

Fixed

  • Grunt:修复 watch 任务。

[3.2.1] - 2017-02-02

Added

  • 文档:添加构建说明。
  • setAliasByRegex() 函数

已更改

  • 文档:弃用带有已构建插件的特殊仓库。
  • 触发器面板:从数据源列表中删除“default”(导致错误),问题 #340
  • 添加 dist/ 目录到仓库以符合开发指南 http://docs.grafana.org/plugins/development/

Fixed

  • 触发器面板:指标建议。
  • 触发器面板:事件确认。
  • 触发器面板:面板样式。
  • 查询编辑器:选项样式。
  • 文档:修复了 timeShift() 文档
  • 新空面板的错误 #337
  • 检查查询中的变量。

[3.2.0] - 2017-02-02 [已撤回]

Added

  • timeShift() 函数 #307