When viewing a graph, we have the option of selecting a ‘from’ and ‘to’ date, to view the graph for the timeframe we want. However, when choosing a custom to date, the result always reverts to the current date / time.
For example, if I set the from / to time like this for this graph:
I can manually add the epoch seconds to the URL at the end of the string, but not ideal. This has been happening for months at least, so not limited to a recent update. It’s been happening on all of our Ubuntu 16.04 monitoring servers, but appears to be working correctly on our Ubuntu 18.04 server.
Here’s the output from validate.php, and all affected servers return the same:
Before I click the update button, I select a ‘to’ date and time. However, when the page loads it doesn’t return the selected to time, rather the current time. The custom to variable isn’t being detected by the script and it’s not showing in the query string in the address bar.
Paying closer attention, this isn’t happening 100% of the time, but may be affecting specific graph types. The behavior is triggered looking at CCQ and TX/RX rates for other devices, but doesn’t trigger when looking at bits.
I’ll look into this closer. Thanks for the feedback.
When viewing the wireless rate and wireless ccq for a device, if I want the graphing to stop at a time / date before the current time/date, I must manually enter the to time into the query string.
I’m encountering this exact issue as well. Interestingly enough, I was able to view about 10-12 different graphs with custom “to” values until I tried one a bit further back in time, when I suddenly started encountering this problem. From that point on, all graphs I try are having the same issue.
Tested in a couple of different browsers and from a couple of different devices, and it’s the same behavior across the board for me now.
The combination of the epoch converter tool from Chas and the last update from RJackson are a successful workaround for the time being.
I’m still not sure what causes this, working ok at the moment for me, but it changes which might suggest it’s our environment, a few of us have reported similar and here’s a temp workaround here
Version21.8.0
Web Server |Apache/2.4.41 (Ubuntu)
PHP 7.3.9-1+ubuntu18.04.1+deb.sury.org+1
Python 3.8.10
MySQL 10.3.31-MariaDB-0ubuntu0.20.04.1
Laravel 8.49.2
RRDtool|1.7.2
Jut wanted to add that this is still happening for me as well. Did anyone ever find a fix or work around?
Hi Stuart,
I still also have this issue. If you need a work-around; when viewing graphs, click one of the predefined time slots (6 hours, 24 hours etc). Once the view opdates, you should see both the “from” and “to” in the web address. By modifying these numbers you can get the result you need. I’m not sure what the format is, so you need to fiddle with it.