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

Zabbix Datasource Mapping Metrics "undefined", could not save.

Open tuanld89 opened this issue 3 years ago • 37 comments

Hi, I’m trying to use flowcharting 0.9.0 with Zabbix Datasource in Grafana 7.5.1 . But when I map Metrics I see Metrics and the Column field in the Mapping section, but the metrics only options are "undefined". flowchart I can select undefined, and select the Column. It works while Im editing, but once I click save or apply all my changes get deleted, Im assuming this issue is related to the undefined in the metric. Is there any way fix this issue?

image

tuanld89 avatar Mar 31 '21 02:03 tuanld89

Hi ! I also had problems using Flowcharting 0.9.0 with Zabbix Datasource in Grafana 7.4.5. When I try to display on the map in Flowcharting problems on some object through the Data Source "Zabbix" Query Mode "Problems". Flowcharting I choose to select only the "undefined" option and after I click save or apply, all my changes are deleted. Is it possible to fix this problem? Zabbix problems

Ryuras2012 avatar Apr 02 '21 07:04 Ryuras2012

I have the same problem. It can work in edit-mode. But there is no modification after APPLY.

Grafana version-v7.4.5 Flowcharting version - 0.9.0 Datasource - Zabbix

neil-yen avatar Apr 16 '21 08:04 neil-yen

I have the same problem. It can work in edit-mode. But there is no modification after APPLY.

Grafana version-v7.4.5 Flowcharting version - 0.9.0 Datasource - Zabbix

I have the same problem. If i set up only 1 rule, i haven't the problem, but, when i setup more than one rule, the problem occur. Any one encounter a solution??

aluiss avatar Apr 19 '21 12:04 aluiss

I have the same problem, in the edit preview it works, but after applying the changes it doesn't work...

image

GustavoStingelin avatar May 10 '21 12:05 GustavoStingelin

Hi,

I solved this problem by choose option to disable data alignment, please try it:

image

tuanld89 avatar May 11 '21 01:05 tuanld89

Hi,

I solved this problem by choose option to disable data alignment, please try it:

image

@tuanld89 I tried this, it only worked in edit mode.

GustavoStingelin avatar May 11 '21 20:05 GustavoStingelin

I'm trying in alpha 1.0.0, but I also have a problem. In metrics I tweeted with and without alias, same problem.

image

GustavoStingelin avatar May 12 '21 12:05 GustavoStingelin

I has enabled the "Disabled data alignment" and has work!

Thanks a lot!

aluiss avatar May 12 '21 13:05 aluiss

I has enabled the "Disabled data alignment" and has work!

Thanks a lot!

Please give me a screenshot or JSON config of this, it doesn’t work here.

GustavoStingelin avatar May 12 '21 13:05 GustavoStingelin

I has enabled the "Disabled data alignment" and has work! Thanks a lot!

Please give me a screenshot or JSON config of this, it doesn’t work here.

GRAFANA

aluiss avatar May 12 '21 15:05 aluiss

After configuring some items the problem recurs. But, when i refresh de page, it works.

This is kinda of crazy!

aluiss avatar May 12 '21 15:05 aluiss

Same issue on influxDB as datasource

anilsagar avatar Jun 03 '21 09:06 anilsagar

For me it depends on the selected time range: <=6h works, when it is more I see the same "undefined" in "Apply to metrics" and values are not shown anymore for existing rules. "Disabled data alignment" did not change anything for me.

FlowCharting 0.9.1 / Grafana v7.5.4 / Zabbix data source 4.1.4

juge2 avatar Jun 16 '21 12:06 juge2

I have the Similar problem.

I performed transformations such as "Merge" and "Group By". But I can only select "undefined" on "apply to metrics" menu of flowcharting.

It seems to work well when I select "undefined" and procced. But, When reloading the page after saving, it encounters "Blank" on "apply to metrics" field and does not work.

If you know a solution to this issue, please share it.

My Grafana v7.3.7 (1e261642f4) Flowcharting version - 0.9.0 Datasource - Json API

takhyun-ko avatar Aug 03 '21 03:08 takhyun-ko

It seems any type of backend transformation is no longer compatible with the new dataframe formats. Someone will need to open the flowcharting code and make it compatible. As @algenty is not currently available to work on it, someone will need to open a PR for this.

xkilian avatar Aug 24 '21 12:08 xkilian

I was desperate trying to make this plugin work. Then I found this issue open. By reading your comments I was able to make my map work. This is exactly what I did:

  1. Started a new dashboard
  2. Added the panel
  3. Set timeframe as 30min
  4. Pasted preexisting map inside panel configuration
  5. Added Zabbix metrics one by one, ticking the "disable data alignment"
  6. When adding new rules, the fields to input the metric names will be correct.

dashboard

rodrigocastrillon avatar Sep 25 '21 03:09 rodrigocastrillon

I think I found a workaround: I'm using zabbix 5.4 with the latest version of the zabbix plugin & flowcharting alpha 1.0.0b.

Firstly, the metric should not have any special characters (apparently it is working for spaces but avoid : , ' [ ] . { } = + / \ * , etc.) because it interferes with the regex (we can see that in the browser console. it is possible to change the name by using the setalias function while modifying the query. Also, do not set any special options in the query options (everything is set to auto for me). I think that the time range helps too. Though, I don't think that 'Disable data alignment really helps, at least I'm unsure: it is only set for one metric and everything is working fine. EDIT: Only setting one metric with disable data alignment is fine (but it is necessary). underscores are working in the aliases. Time range set to 3 hours is fine.

ternium1 avatar Oct 12 '21 19:10 ternium1

I have the same issue:

Grafana 8.3.3 FlowCharting 0.9.1 Zabbix DataSource 4.2.2

zeduperes avatar Dec 21 '21 13:12 zeduperes

Has there been any update on this issues? I am having the same problem

tilsonnoc avatar May 04 '22 11:05 tilsonnoc

I'll try that on 1.0.0c, i need to install zabbix withdocker. see you soon

algenty avatar May 04 '22 12:05 algenty

Eu estava desesperado tentando fazer esse plugin funcionar. Então eu encontrei este problema aberto. Ao ler seus comentários, consegui fazer meu mapa funcionar. Isto é exatamente o que eu fiz:

  1. Iniciou um novo painel
  2. Adicionado o painel
  3. Definir prazo como 30min
  4. Mapa preexistente colado dentro da configuração do painel
  5. Adicionadas métricas do Zabbix uma a uma, marcando a opção "desativar alinhamento de dados"
  6. Ao adicionar novas regras, os campos para inserir os nomes das métricas estarão corretos.

painel de controle

Coming to thank, here it worked!

arthurbruni avatar May 05 '22 21:05 arthurbruni

@arthurbruni, thx for your help

algenty avatar May 06 '22 10:05 algenty

How do I run the latest ver from a docker container? I use bellow in the compose file but how would you specify using ver 1.0.0c as it only pulls ver 0.9.1

environment: - 'GF_INSTALL_PLUGINS=agenty-flowcharting-panel'

tilsonnoc avatar May 14 '22 08:05 tilsonnoc

Hi! Zabbix 5.4.12 grafana - v8.5.2 (90701be19c) FlowCharting 1.0.0a

Sorry for YouTube, but this is the only way I can explain what is happening: https://youtu.be/mNzht51HT34

I've tried stripping spaces and underscores from hostnames and item names, but that didn't help. What else can you try?

alakond avatar May 14 '22 17:05 alakond

Hi, After migration, i will try to reproduce it. be patient

algenty avatar May 14 '22 20:05 algenty

Is there any way to get FlowCharting 1.0.0c installed on the Grafana cloud instance?

tilsonnoc avatar May 25 '22 10:05 tilsonnoc

not yet, 1.0.0X style unstable

algenty avatar May 27 '22 10:05 algenty

I has enabled the "Disabled data alignment" and has work! Thanks a lot!

Please give me a screenshot or JSON config of this, it doesn’t work here.

It does not work for me either (grafana 9.3.2)

ftoledo avatar Dec 16 '22 20:12 ftoledo

Same issue with me. I am on Grafana 9.1.2. I did a "rows to fields" transform for Snowflake data however "apply to metrics" comes as undefined, and even after I select so manually and save and apply, the changes do not stay.

sirasao2 avatar Dec 20 '22 01:12 sirasao2

I have the same issue, I tried all the solutions above but nothing worked.

narjessel avatar Jan 16 '23 16:01 narjessel