[ZBX-17853] "No data found" clicking on graph in a screen Created: 2020 Jun 01  Updated: 2024 Apr 10  Resolved: 2020 Jun 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.1
Fix Version/s: 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: alex dekker Assignee: Mārtiņš Tālbergs (Inactive)
Resolution: Fixed Votes: 0
Labels: frontend, graphs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

5.0.1
Firefox
PHP 7.4


Attachments: PNG File image-2020-06-01-11-26-48-176.png     PNG File image-2020-06-02-14-07-38-848.png     PNG File image-2020-06-02-14-15-31-261.png     Text File zabbix-debug-op.txt    
Issue Links:
Duplicate
is duplicated by ZBX-17876 Graphs page displays "No data found" ... Closed
is duplicated by ZBX-17881 Host filter on Monitoring-Graphs rema... Closed
is duplicated by ZBX-18055 Zabbix 5.0.1 screen/graph - no data f... Closed
Team: Team B
Sprint: Sprint 65 (Jun 2020)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Browse to Screen
  2. Click on graph in screen, this takes you to  [for example] /zabbix/zabbix.php?action=charts.view&view_as=showgraph&filter_search_type=0&filter_graphids[0]=912&from=now-7d&to=now
  3. The message "No data found" is shown

 

Expected:
To see just that one graph I clicked on.



 Comments   
Comment by Renats Valiahmetovs (Inactive) [ 2020 Jun 02 ]

Dear Alex,

I'd like to clarify a few things first:

When you navigate to Screens, do you see the graph portraying the correct data?

And if you go to monitoring>hosts and select a host with the item in question, does the graph show data then, or is it missing information as well?

Trying to narrow the possible causes for this behaviour, hope you understand.

Comment by alex dekker [ 2020 Jun 02 ]

Yes, the graphs in the screens work as expected.

If I navigate to Monitoring > Hosts > [host] > Graphs, I see all the graphs. [example zabbix.php?action=charts.view&filter_set=1&filter_hostids[0]=10277]

Comment by alex dekker [ 2020 Jun 02 ]

To be clear, the issue affects both host screens and screens created at Monitoring > Screens.

Comment by Renats Valiahmetovs (Inactive) [ 2020 Jun 02 ]

This is very difficult to replicate, but could you please confirm if on the graph that shows no data found, you switch from graph view to value view, do you see any values there?

Also, please turn on debug mode for your frontend, by adding your user to the "enabled debug mode" and going back to the graph with no data and copy the debug output for us to take a look.

Comment by alex dekker [ 2020 Jun 02 ]

If I view as values, I see values, but not from the host I was expecting. I clicked on a graph belonging to the host "westogre" and see data from a bunch of other hosts.

OK so perhaps the Filter tab is the key here. In a screen with graphs from various hosts, I click on a graph from host called "westogre". I get "No data found". On the Filter tab I see:
This is never going to work, the two filter options here are mutually exclusive. Remove the Host constraint, I see the graph as expected. Return to the Screen, then click the graph again, still working.

So I assume I must have filtered on host Deconz previously? I still consider this a bug, if the design intention of clicking on a graph in a screen is to take the user to that one graph, then the filter should be either ignored or cleared.

Comment by alex dekker [ 2020 Jun 02 ]
  • First, Monitoring > Hosts > host "dusty" > Graphs
  • Then, Monitoring > Screens > click westogre ppp0 graph in Screen, I see this:

So it looks like remembers the host from my last visit to Graphs via a Hosts screen.

Do you still want the debugging output?

 

Comment by Renats Valiahmetovs (Inactive) [ 2020 Jun 02 ]

If it's no trouble, yes, I will communicate with developers to check this.

Will let you know asap.

Comment by alex dekker [ 2020 Jun 02 ]

Debug output attached, corresponds with most recent screenshot.

Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Jun 08 ]

FIXED in development branch feature/ZBX-17853-5.0

Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Jun 12 ]

Available in:

Generated at Sun Aug 24 22:18:36 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.