Zabbix, Postgresql and Direct DB

Newbie here (to Grafana).

I am adding this to our Zabbix server. Grafana is installed on the same server as Zabbix, the zabbix database is on a different server.
DB is Postgresql 9.4, Zabbix 4.0
It’s working nicely using the API, but I want to use the direct db since some queries are causing the Zabbi API to run out of memory.
I configured Postgres as a data source, went into the Zabbix datasource, clicked the Direct DB Connection, and selected the Postgres datasource.
it all seems to work, but when I go into the Zabbix datasource again, the Direct DB connection is gone.

What do I need to do to have the datasource remembered?

1 Like

Same thing here, env:

  • zabbix-server-mysql-4.0.5-1.el7.x86_64
  • grafana-6.2.0-1.x86_64
  • Zabbix plugin for Grafana version 3.10.2

Steps to reproduce:

1-) I click in “enable” Direct DB Connection,
2-) Click in “save and test”, returns the messages: “Datasource updated” and “OK: Zabbix API version: 4.0.6”
3-) Click in “Back”
4-) Return to “Zabbix Datasource”
5-) The “Direct DB Connection” will NOT be enabled :confused:

I’m wondering if it’s merely a display bug. I have no way to easily test to see if it’s actually going directly to the db.

A bit disheartening. I’ve heard a lot about Grafana, but not getting any response for 2 weeks, and then it’s only a confirmation, is rather concerning.

@linuxgurugamer,

is really a bug: https://github.com/alexanderzobnin/grafana-zabbix/issues/731