BGmot / zabbix-module-latest-data

A Zabbix 5.4 module to group items under Monitoring -> Latest data per Tag as it used to be with Application grouping in previous versions of Zabbix
21 stars 5 forks source link

Latest data 'Configuration' host left-click link wont open up 'popup' configuration for host - Zabbix 6.0 #3

Open jamescook000 opened 1 year ago

jamescook000 commented 1 year ago

Trying to open up the host configuration by left-clicking on the host and selecting 'Configuration' in latest data wont open up the host configuration popup for the host.

BGmot commented 1 year ago

Fixed in https://github.com/BGmot/zabbix-module-latest-data/tree/v3.0.1 please test.

jamescook000 commented 1 year ago

Hi,

I tried using branch v3.0.1 for Zabbix 6.0.X and it reports 'Unable to load module'.

However I have manually put your code changes in yesterdays commits in place and can confirm they work and the host configuration will now open, so thanks.

I guess the code for 6.0.X needs to have its own branch based off tag v2.0.1 with yesterdays changes as there is some form of incompatibility.

Regards James

BGmot commented 1 year ago

Yes according to https://github.com/BGmot/zabbix-module-latest-data#readme you should be using v2.0.1 for Zabbix 6.0. I did not make these changes for this version. Will do.

BGmot commented 1 year ago

Fixed in https://github.com/BGmot/zabbix-module-latest-data/tree/v2.0.2

jamescook000 commented 1 year ago

Hi BGmot,

I tried v2.0.2 and found the same issue remains.

I put the code changes in again manually in the meantime with v2.0.1

Regards James

BGmot commented 1 year ago

I tested and everything looks good to me with Zabbix 6.0 and v2.0.2. Can you please make sure you have correct file

/usr/share/zabbix/modules/zabbix-module-latest-data# md5sum views/js/monitoring.bglatest.view.js.php
fa3b59027006a27c858354974955c174  views/js/monitoring.bglatest.view.js.php

that's the only file that needs a change to fix this issue.

jamescook000 commented 1 year ago

Hi, Sorry yes this does work. I was also checking for the specific host latest data (https://github.com/BGmot/zabbix-module-latest-data/issues/2).... Regards James