grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.07k stars 457 forks source link

Problem with collecting value using stat or blendstat. #960

Open eliteacs opened 4 years ago

eliteacs commented 4 years ago

2020-05-23 15-07-23.zip

Environment: Physical server running Linux Ubuntu 18.04.4 LTS. Version of zabbix: Zabbix 4.4.8. © 2001–2020. Database version: MySQL version 5.7.30-0ubuntu0.18.04.1 Apache version: Server version: Apache / 2.4.29 (Ubuntu) Server built: 2020-03-13T12: 26: 16 PHP version: PHP 7.2.24-0ubuntu0.18.04.4 (cli) (built: Apr 8 2020 15:45:57) (NTS)

Scenario: I have an item that I collect from zabbix using the plugin, that item only has values ​​of 0 and 1. I did all the configuration to get the last value but there is a problem, if the panel has a large dimension, it works correctly, if I decrease it the dimension of the panel, it no longer shows the last, but the mean. I created and configured the item, then duplicated the item and reduced the copy size, when changing the value in the larger dimension panel, it shows the value properly, but in the smaller dimension it does not. I placed decimal places to try to understand and noticed that the big panel takes on the value immediately while the smallest one moves between decimal speakers until it changes similar to the mean function.

Comparing the panel with the zabbix plugin with the direct collection of the zabbix database, I notice that direct from the bank works correctly it is apparently a problem in the Zabbix plugin.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!