grafana / grafana-zabbix

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

Hosts not visible in grafana #1500

Open bclaeys1 opened 1 year ago

bclaeys1 commented 1 year ago

Describe the bug I can't see any Zabbix hosts in Grafana, even without filters. Group filter does work, host filter shows nothing.

Expected behavior Host filter shows hosts.

Screenshots Group filter works as expected: image

Filtering on hosts shows nothing, even though hosts exist: image

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
9.1.2 6.2.1 4.2.10
hermanekt commented 1 year ago

I guess but this problem is maybe reworks groups in zabbix for host and templates.

Separate groups for templates

Previously, host groups were used to organize both hosts and templates. Now this functionality has been split into template groups, which may contain templates only, and host groups, which may contain hosts only.

A new subsection Template groups has been added to the Configuration menu.

User role and user group permissions are now defined separately for host groups and template groups.

bclaeys1 commented 1 year ago

Thanks for the info, didn't notice that change yet.

However, doesn't seem to be the cause of the issue. User now has full read access, and even when the user is given Super Admin role, still only the groups are visible in grafana. Host list stays empty.

SteaNM commented 1 year ago

Same problem

krajster commented 1 year ago

Same problem, Grafana Cloud 9.1.3, Zabbix 5.0.26, Grafana plugin 4.2.10

BrunoRobertoSales commented 1 year ago

Has anyone managed to solve this problem yet? In the installation that I did, only the groups appear, the hosts do not appear...

bclaeys1 commented 1 year ago

Hi Bruno, After downgrading the zabbix plugin to 4.2.9, hosts appeared again. So a working setup for me were the following versions:

Grafana | Zabbix | Grafana-Zabbix Plugin -- | -- | -- 9.1.2 | 6.2.1 | 4.2.9