Grafana-Zabbix 4.0 comes with a bunch of changes under the hood. The most important thing introduced is a backend, which brings a number of benefits:
- Alerting support (limited, data processing functions are not supported yet).
- Fixed security issues related to exposing data source credentials to the Grafana frontend and storing password as a plain text in database.
- Improved performance (plugin can cache queries and process data on the backend).
- With improved security it makes easier to add actions (execute scripts, close problems, etc).
Prerequisites: plugin requires Grafana 7.0 to run.
Version 4.0 is currently in alpha state and not published at grafana.com. In order to install it, follow these steps:
- Go to the GitHub releases and find latest
4.0.0
release. - Download
.zip
package with plugin from release assets (asset name isgrafana-zabbix-4.0.0-<alphaX|betaX>.zip
). - Unpack it and put into grafana plugins folder.
- Unsigned plugins are not loading by default, so allow it in config:
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
- restart Grafana server
Refer to allow_loading_unsigned_plugins
option description for more information.
- Zabbix credentials available for everyone who can see dashboard, #380
- Store password encrypted, #800
- Alerting support (limited, data processing functions are not supported yet), #801
- Problems: execute scripts, #978
- Annotations feature doesn't work, #964
- Alias variables do not work with direct DB connection enabled, #965
- 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
- Variables: able to query item values, #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
- 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
- Annotations:
ITEM.VALUE
behaves likeITEM.LASTVALUE
in annotations, #891 - Alert state on the panel (heart icon) doesn't work in Grafana 6.7, #931
- Consolidated average is not accurate with direct DB connection, #752
- Problems panel uses new
problem.get
API which is not compatible with Zabbix 3.x, #495 - Problems panel is metrics panel now, problems query editor moved to the data source.
- Zabbix version is auto detected now, #727
- Problems panel: stopped working in Grafana 6.7.0, #907
- Problems panel: event severity change, #870
- Problems panel: color is changed to acknowledged even if there is only message without acknowledgment, #857
- Percentile function returns incorrect results, #862
- Problems panel: query editor broken in Grafana 6.4, #817
- Datasource: function editor is not working, #810
- Datasource: cannot add a function to query from typeahead, #468
- Datasource: annotations editor broken in Grafana 6.x, #813
- React plugins issue, #823
- Problems panel: query editor broken in Grafana 6.3, #778
- Problems panel: some heart icons are missing, #754
- Direct DB Connection: can't stay enabled, #731
- Triggers query mode: count doesn't work with Singlestat, #726
- Query editor: function editor looks odd in Grafana 6.x, #765
- Alerting: heart icon on panels in Grafana 6.x, #715
- Direct DB Connection: provisioned datasource fails to load, #711
- Functions:
sumSeries
doesn't work in couple with other aggregation functions, #530 - Problems panel: performance and memory issues, #720, #712
- Problems panel: hide acknowledge button for read-only users, #722
- Problems panel: "no data" overlaps table header when font size increased, #717
- Problems panel: problem description does not resize problem bar, #704
- Triggers query mode: problems not filtered by selected groups, #709
- Problems panel: unable to edit panel in Grafana 6.0, #685
- Problems panel: datasource selector is empty, #692
- Problems panel: "acknowledged" filter doesn't work correctly, #678 #691
- Problems panel: acknowledged color isn't working, #676
- Problems panel: highlight background doesn't work correctly for resolved events in List view, #681
- Problems panel: duplicated page size entries, #696
- Direct DB Connection: unable to get trends data from InfluxDB, #675
- Annotations are not displayed when time set to a full day/week/month, #680
- Datasource provisioning with direct DB connection enabled failed #688
- Functions:
offset
function returnsNaN
in singlestat panel, #683 - Functions:
median()
doesn't correspond toaggregateBy(median)
, #690 - Docs: add warnings about installation methods, #693
- Table-like layout for Problems (former Triggers) panel, #673
- Problems panel: able to show last problems from dashboard time range, #550
- Problems panel: filter problems by event tags, #487
- Problems panel: option for displaying groups and proxy, #418
- Support InfluxDB as Direct DB Connection datasource, #640, collaboration with Gleb Ivanovsky aka @i-ky
- Support datasource provisioning with direct DB connection enabled, #614
- Functions:
offset
function, #387, thanks to @drakosha - Functions:
removeAboveValue
,removeBelowValue
,transformNull
functions, #562, thanks to @gelonsoft
- t.replace is not a function error when adding new metric, #661
- Problems panel: error when acknowledging problems in Zabbix 4.0, #629
- Problems panel: direct link rendered image, #605
- Direct DB Connection: Cannot read property 'name' of null error when no series returned, #571
- Direct DB Connection:
consolidateBy(sum)
does not work correctly, #603 - Direct DB Connection:
consolidateBy()
affects other metrics in a panel, #602
- Disable auto-creation of Zabbix/Linux Server dashboards (still can be imported from datasource config page), #422
- Use Webpack for building plugin, #632
dist/
folder removed from repo, installation from github repo doesn't work anymore, #693
- Datasource fails when "Direct DB connection" enabled #564
- Alerting and health icons on panels #556
- Alerting threshold error #549
- Table format support for text data #492
- Option to enable triggers background highlighting #532
- Option to disable acknowledges for read-only users #481
- Triggers panel multiple targets bug (typing in one target affects other)
- Triggers panel event source icon
- Multiple data sources support for triggers panel, #431
- Triggers Panel fully redesigned, closed a bunch of issues: #431, #488, #299, #485, #412, #157, #483, #487, #248
- Tests migrated to Jest
- Triggers panel refreshing issues
- aggregateBy() function bug, #498
- PostgreSQL support for Direct DB Connection.
- Triggers query mode which allows to count active alerts by group, host and application, #141
sortSeries()
function that allows to sort multiple timeseries by name, #447, thanks to @mdorenkamppercentil()
function, thanks to @pedrohrf- Zabbix System Status example dashboard.
- Included dashboards moved to data source. Go to the data source config to import it.
- Direct DB connection doesn't work with
ONLY_FULL_GROUP_BY
option enabled, #445 - Application selection doesn't work, #352
- "data points outside time range" error when there is no datapoints and aggregation function is used
- Missed Max data points option in Grafana 4.5+
- Missed query editor help in Grafana 4.5+
- Alert threshold detection with
<=
>=
=
operators, thanks to @akotynski.
- cannot read property 'enable' of undefined error after upgrade, #436
- Direct DB Connection, which allows to use existing SQL data source for querying history data directly from Zabbix database.
- Docs: Direct DB Connection reference and configuration.
consolidateBy
function, which allows to specify aggregation function for time series data.movingAverage
andexponentialMovingAverage
functions.- Item ID editor mode for querying items by id.
- IT Services query editor. Now user able to select multiple services by using regex, #415
- Template variables support in annotations and triggers panel (trigger name field), #428
- Parsing of template variable query with braces, #432
sumSeries()
function bug, #286
- Bug with alerting when template queries are used, #424
- rate() function, which calculates per-second rate for growing counters.
- Benchmarks for time series functions. Used Benchmark.js library.
- Template query format. New format is
{group}{host}{app}{item}
. It allows to use names with dot. Updated templating docs, #254 - Update included dashboards. Add templated zabbix datasource and use it for all metrics.
- Improved performance of groupBy() functions (at 6-10x faster than old).
- Fill empty intervals by null when aggregations are used, #388
- Item name expanding when key contains commas in quoted params, like my_key["a=1,b=2",c,d]
- Incorrect points order when trends are used #202
- Triggers panel styles for light theme
- Bug with text metrics when singlestat or table shows NaN, #325
- Alerting: highlight panel contained metrics with fired triggers.
- Alerting: add thresholds to panels from zabbix triggers.
- Docs: add docs for setAliasByRegex() from @v-zhuravlev
- Support millisecond resolution on graphs. Patch from Jay Dawes [email protected].
- Sum and count aggregations.
- Expand user macros in items #212
- replaceAlias() function #287
- Additional
Range
config option for trends #364
- Add template variables to dropdown metric list #310
- Add all value regex
/.*/
to host dropdown. - Replace native map() and forEach() methods by lodash.
- Templatig issue when no values returned #354
- Add host name for multiple text metrics.
- Timeshift issue (Datapoints outside time range) for multiple targets with timeshift(), #338
- Triggers panel: allow to hide hosts in maintenance #186
- Triggers panel: allow to change font size #351.
- Triggers panel: table pagination #229
- Triggers panel: add 'enable scroll' control and page size input.
- Triggers panel: rearrange options.
- Grunt: fix watch task.
- Docs: add building instructions.
- setAliasByRegex() function
- Docs: deprecate special repo with built plugins.
- Triggers panel: remove 'default' from datasources list (cause error), iss #340
- Add dist/ directory to repo to correspond development guide http://docs.grafana.org/plugins/development/
- Triggers panel: metrics suggestion.
- Triggers panel: event acknowledge.
- Triggers panel: panel styles.
- Query editor: options styles.
- Docs: fixed timeShift() docs
- Error for new empty panel #337
- Checking query for variables.
- timeShift() function #307