grafana-zabbix icon indicating copy to clipboard operation
grafana-zabbix copied to clipboard

Macros defined in Zabbix are not evaluated / replaced

Open derdeagle opened this issue 4 years ago • 10 comments

Describe the bug I have items defined in Zabbix which contain a macro, e.g. {$BAREOS.JOB.ERROR.HOURS} in their name.

Expected behavior The items should be displayed in Grafana with the values of the macros instead of the names.

Screenshots grafana grafana-config zabbix-data

Network data None

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
7.4.0 / 7.5.5 5.2.5 / 5.2.6 4.1.2 / 4.1.4 / 4.1.5

derdeagle avatar Mar 05 '21 08:03 derdeagle

I did some more testing and to me it appears that this is only the case for inherited macros. I have overridden the macro {$BAREOS.JOB.CREATED.HOURS} and then it get's displayed correctly.

derdeagle avatar May 22 '21 11:05 derdeagle

Hi

I also present the same problem.

image

Grafana Zabbix Grafana-Zabbix Plugin
8.1.2 5.4.3 4.1.2 / 4.1.4 / 4.1.5

giovanny07 avatar Aug 23 '21 18:08 giovanny07

Hello,

Same problem here.

Grafana Zabbix Grafana-Zabbix Plugin
8.1.2 5.4.2 4.1.2 / 4.2.2

GordonMSB avatar Sep 07 '21 12:09 GordonMSB

Find the same issue today

Grafana Zabbix Grafana-Zabbix Plugin
8.0.7 5.4.8 4.2.2

isaqueprofeta avatar Dec 16 '21 14:12 isaqueprofeta

Same issue in items names:

Grafana Zabbix Grafana-Zabbix Plugin
8.3.3 5.2.7 4.2.4

изображение

изображение

alexwirehead avatar Dec 28 '21 11:12 alexwirehead

Same issue.

Zabbix 5.0.13 Grafana 8.3.3 Plugin 4.2.4 Capturar

elinxs avatar Jan 07 '22 21:01 elinxs

Hello, same issue for me too, after upgrading from grafana v7.3.7 zabbix-plugin v4.1.2 zabbix-server v5.0.20 (it was working then) to grafana v8.4.7 zabbix-plugin v4.2.8

Example: image

jpython94 avatar May 10 '22 10:05 jpython94

Same issue ( Any updates?

anshibanov avatar Jun 07 '22 10:06 anshibanov

Boa tarde,

Tenho o mesmo problema aqui. Zabbix v6.0.9 + Grafana v8.0.7 + Plugin v4.2.6

image

image

Alguma resolução?

yuribarcellos avatar Aug 18 '23 18:08 yuribarcellos

This is still the case for

Grafana Zabbix Grafana-Zabbix Plugin
10.0.2 6.0.19 4.3.1

derdeagle avatar Aug 19 '23 14:08 derdeagle