-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timestamp BUG #3798
Comments
Same here, same problem... cannot use preset lower than LAST DAY... weirdly this also happen to my other cacti installation suddenly 0.8.8b, 0.8.8h, 1.1.16, and 1.2.6... is there any external resource that may impact this?? as it affecting 4 seperate cacti installation altogether... |
Same problem on all of my Cacti System: Cacti 0.8.x on Redhat 6.x |
The same on cacti 1.2.8 - #3797 |
sorry my bad.. 1.2.6 not 1.2.16 CentOS Linux release 8.0.1905 |
@netniV @TheWitness Pls check this bug . Thanks |
Guys, I solved the problem to install new cacti & spine 1.2.14 |
Same happening here, to all of our monitoring servers. It started around 18 hours ago I guess. Cacti 0.8.8b. |
Timestamp Converter seems about that time |
howto migrate rrd to other server: From cacti 0.8 to Cacti 1.2.13: 32 bits t0 64 bits. |
Any headache less solution to upgrade from 0.8.8b to 1.2.14 and above? |
Spine |
@Izmenoff you upgrade from cacti ??? to cacti 1.2.14.
|
I have Centos7 64bit. upgrade form 1.2.8 |
gonna wait a while for intermidiate solution (if any).. as need weathermap in my 0.8.8 installation.. :( |
Hmm.. quick fix for older cacti at lease working in my 1.2.6.. in graph_image.php and graph_json.php change the 1600000000 to 2600000000
|
it works on cacti 0.8.8g |
in latest cacti version, those 1600000000 value already replaced with FILTER_VALIDATE_MAX_DATE_AS_INT |
in graph_image.php Change the 1600000000 to 2600000000 for cacti 0.8.8a. Test normal now . |
in graph_image.php and graph_xport.php change the 1600000000 to 2600000000 0.88h Test normal now |
thanks... i missed the graph_xport.php.. |
found that value as well on remote_agent.php |
in graph_image.php Change the 1600000000 to 2600000000 for cacti 0.8.8c. graph_xport.php Change ok , thx! |
in 0.8.8 version donot forget also graph_xport.php |
cannot file graph_json.php on cacti 0.8.x |
yes.. graph_json.php only for cacti 1.x |
What happen after change it. Why change to 26 without other numbers. And how about if my OS is 32 bits. |
i just change the 1 to 2.. that is why i consider this a dirty fix.. |
I watch the new version 1.2.14 code, the content is So....I changed a device to the following code /* override: graph start time (unix time) */ /* override: graph end time (unix time) */ This is normal in 0.8.8c |
Nice... I want to change to that as well.. Bu I thought that FILTER_VALIDATE_MAX_DATE_AS_INT not part of prior cacti version.... Will test again |
Yes, but it is currently available in 0.8.8c. |
Correct, you need to upgrade to at least 1.2.10 to resolve this issue, you can optionally edit the following files and search for "16000" and remove the lines that lock in the date range: graph_view.php |
Such old Cacti's still running out there. Hey, I guess if it ain't broke, no reason to fix it right? |
in my installation, many still use weathermap as daily monitoring. thats why still using 0.8.8 :D... |
I use weathermap on 1.2.X :) |
MERCI BEACOUP, Arigathanks Gozaimasu, Spasibo !!!.. Help me from a lot of headache .. |
Yeah quite a few users are using Weathermaps under 1.2.x. Seems a shame that one plugin forces so many to hold back though. @howardjones is still (sometimes?) working on it but as his primary job isn't in networking anymore that's in his free and valuable family time. Whilst we are waiting I know that @thurban has a modded version that works well and is announced on the forums. |
The first thing phalek did was reformat the code, so I can't easily merge any changes back (every line shows as a "change"). As far as I'm concerned he has forked and is maintaining that 1.x version :-) I have two years worth of code that is basically dead at this point (from 0.98 onwards, I rewrote lots into more modern PHP, better input validation etc). If I spend any time on Weathermap, it'll be as I'm learning Go, most likely, and not on any Cacti compatibility. |
@howardjones ups, sorry. Wasn't intentionally but PHPStorm did this. I'm more then happy to maintain that old Weathermap for 1.x. Not sure how to get the 0.8 users to go 1.x though. Maybe starting an survey about the reasons why they still use 0.8 would help ? Or do some more marketing for using Cacti 1.x compatible plugin alternatives |
@thurban Just posted a bit of marketing on the Weathermap site for you! (and by robot-power, Twitter and Facebook) |
Hi Guys, thanks for your valuable and appreciated efforts 👍 |
Have you try this? |
This worked for me. Thanks !!! |
The bug fix works also for 0.8.8a |
0.8.8h (4 years worth of bug fixes from 0.8.8a) works on php5. The readme for Cacti 1.2 says it also supports php 5.4+ |
Yes, @howardjones is correct, 1.2.x is supported on PHP 5.4 so as long as you are able to reach 5.4 or later (later the better from a security point of view), you should be able to run it on your device. If you do have issues, those should be raised on either the forums for pre 1.2 or here if they are actually a bug (1.2.0 or above). |
Thank you for this Thread. Very important . I had issue with Cacti on Ubunut 18.04 with following versions I just happened to have been brought to notice about this same exact issue and I was wondering and scratching head for 3-4 hours. That update for unix time 16.... to 26....resolved the issue. I did check Ubuntu repositories and there is no update available so likely their packages are not fixed with this bug if it's resolved upstream at all. :) |
Describe the bug
Timestamp Greater than or equal to 1600000000 cann't zoom for graph and graph_export
Cacti Version | 0.8.8a
Cacti OS | unix
SNMP Version | NET-SNMP version: 5.5
RRDTool Version | RRDTool 1.4.x
PHP Version | 5.3.3
Screenshots
Graph Time is HK Time
The text was updated successfully, but these errors were encountered: