[ZBX-12820]  Graphs for period larger than 3d are empty! Created: 2017 Oct 04  Updated: 2017 Oct 17  Resolved: 2017 Oct 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.2.7
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Marko Kelava Assignee: Unassigned
Resolution: Workaround proposed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File 1.jpg     JPEG File 2.jpg     JPEG File 3.jpg    

 Description   

I have problem that any graph in Zabbix when i choose period 7d, 14d 1m or All is EMPTY.

Zabbix has values for those period, it just doesnt want to show it on graph (2.JPG). For all smaller periods it works (1.JPG).

I double checked if Zabbix get values for period more than 3d in the way that I have choosen 3d graph and period for month before and graphs works perfectly (3.JPG).



 Comments   
Comment by Ingus Vilnis [ 2017 Oct 04 ]

Hi Marko,

Apparently your Zabbix is not collecting trend data. See the bottom right corner of the graphs. There is a line telling whether the data is from history or trends tables.

So the question is - why there are no trends? Check if you are actually collecting them. It can be done by opening the list of items on the host you have in the graph. There is a column for trends. Another place to look is Administration -> General -> Housekeeping (in top right dropdown) There is a section for trends as well and maybe Override item trend period is selected with a very low value (less than 3 days).

If you want to check it on the database level then run the following SQL on the Zabbix database:

select count(*) from trends

To answer the question why there are no graphs displayed without trends even if there is history - the answer is performance. The longer time period you will choose the more data will be selected from the database thus making the query very heavy. Therefore Zabbix is not selecting too much data to avoid overloading the database.

Comment by Marko Kelava [ 2017 Oct 17 ]

Hello Ingus!

You were right, for some reason all those idems in "Trends" section had 0 days configured... Probably that is the reason, thank you for your support!

Best Regards,

Marko

Comment by Ingus Vilnis [ 2017 Oct 17 ]

Hi Marko,

Glad you got this solved. There is nothing to fix in Zabbix code, it works as configured.

I am closing the issue.

Ingus

Generated at Sun Apr 06 03:51:44 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.