Cacti Graph Preview: Suddenly The Time Filter Is Ignored

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Locked
jpospis
Posts: 1
Joined: Tue Oct 06, 2020 1:14 pm

Cacti Graph Preview: Suddenly The Time Filter Is Ignored

Post by jpospis »

I've just discovered that since a certain moment in time (September 14), the Cacti Graph preview is unable to correctly set the time range. When I open the graph preview, it automatically displays graphs for the last day (which is as it always has been), but choosing anything else like "Last 2 days", "Last 2 hours", the time in the filter reflects this correctly, but the graphs only shows the last day totally ignoring the filter setting.

Interestingly, historical data up to September 14 work perfectly fine, I can use the custom time filter to display graphs for any time range and it is correctly displayed. It is only when one of the time range definitions is past this date, it starts acting weird.

One exra example: when I set the time range as "Previous month", the start and end date in the filter is correctly set to Sep 1, 0:00 till Sep 30, 23:59, but the graphs instead show range from Sep 1, 0:00 till now (Oct 6 as of now).

It feels like when one of the time range definition points is past September 14 it changes to the last 24 hours instead (time start to now-24h, time end to now).

Otherwise all data seem to be stored correctly, it is only the time range definition that fails to be applied OK. Which of course means I cannot display the graphs I need.

I'm totally at a loss what could have gone wrong and why it started acting up exactly on that date and why historical data are displayed just fine.

Any help is greatly appreciated.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti Graph Preview: Suddenly The Time Filter Is Ignored

Post by cigamit »

You could look at the other 15 or more topics on this exact same issue, and then apply this patch.
https://github.com/Cacti/cacti/issues/3797
Locked

Who is online

Users browsing this forum: No registered users and 3 guests