grafana / grafana-zabbix

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

Offline Items are shown as OK #1235

Open dominikbenner opened 3 years ago

dominikbenner commented 3 years ago

I have several items with web.page.regex or agent.ping (everything active agent).

When these items go offline (e.g. web.page.regex is not able to retrieve webpage or zabbix agent is down) grafana just shows the last value. Unfortunately this is always "everything OK".

So i have a host which is offline since two weeks and zabbix agent is down. The grafana status is "OK" for zabbix agent ping.

I think zabbix just records no data when the items go offline.

How to show these nodata values in grafana? Perhaps there is something like timestamp comparison. For example: when timestamp of last value is past the item interval its marked as NULL or NODATA.

Grafana. 8.0.1 Plugin 4.1.5 Zabbix 5.4.1

dominikbenner commented 2 years ago

@alexanderzobnin Can you confirm this issue? I think the plugin has to evaluate the missing values in the date an interpret them as "NOK" or "OFFLINE".