upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
upgrading cacti 0.8.8 to 1.1.36 broke time graph view
So, a lot of things broke when I was forced to upgrade cacti after another program (on debian) upgraded to php7, which in turn broke phh-mysql that cacti was 0.8.8 was relying on.
For now, my main problem is time graph view
It used to show me graphs at different time intervals with 0.8.8
Now it shows me a page full of the same graph at the same timescale
Example, go to http://graphs.merlins.org/graphs/graph. ... raph_id=14
Suggestions welcome.
Thanks
For now, my main problem is time graph view
It used to show me graphs at different time intervals with 0.8.8
Now it shows me a page full of the same graph at the same timescale
Example, go to http://graphs.merlins.org/graphs/graph. ... raph_id=14
Suggestions welcome.
Thanks
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
This is bad, one of my main reasons to use cacti is now gone with that feature broken.marcmerlin wrote:So, a lot of things broke when I was forced to upgrade cacti after another program (on debian) upgraded to php7, which in turn broke phh-mysql that cacti was 0.8.8 was relying on.
For now, my main problem is time graph view
It used to show me graphs at different time intervals with 0.8.8
Now it shows me a page full of the same graph at the same timescale
Example, go to http://graphs.merlins.org/graphs/graph. ... raph_id=14
Suggestions welcome.
Thanks
Is there a fix?
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Perhaps upgrade Cacti?
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
If you are talking about graphs over a period of time. You can use the breadcrumbs next to any graph to see a time-based view over a period of time.
It should look like
https://github.com/Cacti/cacti/blob/dev ... meview.png
It should look like
https://github.com/Cacti/cacti/blob/dev ... meview.png
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
@netniV: http://graphs.merlins.org/graphs/graph. ... raph_id=14 used to give me 4 time based views, and now it's broken after the upgrade.
@camerabob, upgrading cacti was how I got in this world of pain. I would never have upgraded it if it hadn't broken when I was forced to upgrade php due to another package, which in turn broke cacti, forced me to upgrade (non trivial upgrade given how much changed) it and now gave me this version that is not showing time graphs per time interval, like the old ones always did.
A new version just came out in debian:
Unpacking cacti (1.1.38+ds1-1) over (1.1.36+ds1-1) ...
same problem though.
Please look at http://graphs.merlins.org/graphs/graph. ... raph_id=14
Do you see how it's the same graph 4 times?
It used to be the same graph at 4 different time intervals with the old cacti. Now, it's not.
Is the default template/config broken by default and somehow I can fix this anyway?
Thanks, Marc
@camerabob, upgrading cacti was how I got in this world of pain. I would never have upgraded it if it hadn't broken when I was forced to upgrade php due to another package, which in turn broke cacti, forced me to upgrade (non trivial upgrade given how much changed) it and now gave me this version that is not showing time graphs per time interval, like the old ones always did.
A new version just came out in debian:
Unpacking cacti (1.1.38+ds1-1) over (1.1.36+ds1-1) ...
same problem though.
Please look at http://graphs.merlins.org/graphs/graph. ... raph_id=14
Do you see how it's the same graph 4 times?
It used to be the same graph at 4 different time intervals with the old cacti. Now, it's not.
Is the default template/config broken by default and somehow I can fix this anyway?
Thanks, Marc
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
I did a 'yum update' on my test 0.8.8h box and it upgraded my cacti (and all packages) to 1.1.37. I wasn't planning on upgrading that server so I could work with the older stuff, but it is what it is. It upgraded without any errors and all worked as designed after the more than two dozen software levels it went through. Nothing at all was broken. Some tweaking was needed due to the SQL/MariaDB swap, but that was minor. This is on CentOS 7.4 I believe. The version is in my signature.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Ok, good for you, but again, are you getting this screen with 4 time views at the same scale, or not?camerabob wrote:I did a 'yum update' on my test 0.8.8h box and it upgraded my cacti (and all packages) to 1.1.37. I wasn't planning on upgrading that server so I could work with the older stuff, but it is what it is. It upgraded without any errors and all worked as designed after the more than two dozen software levels it went through. Nothing at all was broken. Some tweaking was needed due to the SQL/MariaDB swap, but that was minor. This is on CentOS 7.4 I believe. The version is in my signature.
http://graphs.merlins.org/graphs/graph. ... raph_id=14
They should not be at the same scale, and they are for me since I upgraded.
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Sorry if I wasn't clear, but yes, I have the four different scales, as designed. This was a glitch somewhere during your upgrade, not the Cacti software. Have you tried editing the template, making no changes and saving it? Sometimes that will reset things.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Thanks, camerabob. So, by "template", which template are we talking about?camerabob wrote:Sorry if I wasn't clear, but yes, I have the four different scales, as designed. This was a glitch somewhere during your upgrade, not the Cacti software. Have you tried editing the template, making no changes and saving it? Sometimes that will reset things.
All my graphs have templates, but those graphs are fine. Are we talking some kind of new cacti 1.x display template, as in skin or somesuch?
If I go to http://graphs.merlins.org/graphs/graph. ... aph_id=100 what controls what 4 graphs are being displayed and their zoom level?
The part that is vexing is that the captions are correct, see for yourself by loading the page, it does say
Daily (5 Minute Avg for 30Y) / 2 days range
Weekly (30 Minute Avg/Max for 30Y) / 7 day range
Monthly (2 Hour Min/Avg/Max for 30Y) / 1 month range
Yearly (1 Day Min/Avg/Max for 30Y) / 1 year range
except it totally does not display those 4 zoom levels, it displays one fully zoomed out graph (the same one) in all 4 windows :-/
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Mine look correct using the same method that you do, so it would need to be investigate more
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
I was referring to the 'All Temperatures' template you are using. I'm assuming it is home baked. That shouldn't matter, but edit it, make no changes, then save it again.marcmerlin wrote:Thanks, camerabob. So, by "template", which template are we talking about?camerabob wrote:Sorry if I wasn't clear, but yes, I have the four different scales, as designed. This was a glitch somewhere during your upgrade, not the Cacti software. Have you tried editing the template, making no changes and saving it? Sometimes that will reset things.
All my graphs have templates, but those graphs are fine. Are we talking some kind of new cacti 1.x display template, as in skin or somesuch?
If I go to http://graphs.merlins.org/graphs/graph. ... aph_id=100 what controls what 4 graphs are being displayed and their zoom level?
The part that is vexing is that the captions are correct, see for yourself by loading the page, it does say
Daily (5 Minute Avg for 30Y) / 2 days range
Weekly (30 Minute Avg/Max for 30Y) / 7 day range
Monthly (2 Hour Min/Avg/Max for 30Y) / 1 month range
Yearly (1 Day Min/Avg/Max for 30Y) / 1 year range
except it totally does not display those 4 zoom levels, it displays one fully zoomed out graph (the same one) in all 4 windows :-/
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: upgrading cacti 0.8.8 to 1.1.36 broke time graph view
Hi, I experiencing the same problem on every single graph regardless of the used template. But I migrated from 0.8.8b to 0.8.8h, from a CentOS 5 to a CentOS 7 server. I think the problem is the update of the used sql. I had mysql-5.0.95, from where I dumped the old data and exported it to a MariaDB 10.2.15 instance.
But I don't know how to fix that. When starting the new instance for the first time, I remember, that it did run a db update script or similar. Maybe it didn't do a perfect job??
So I think you should also focus on the database, because I think there was another topic, with this same problem, where the used mysql dabase was just moved to another server.
Anybody with ideas?
But I don't know how to fix that. When starting the new instance for the first time, I remember, that it did run a db update script or similar. Maybe it didn't do a perfect job??
So I think you should also focus on the database, because I think there was another topic, with this same problem, where the used mysql dabase was just moved to another server.
Anybody with ideas?
Who is online
Users browsing this forum: No registered users and 1 guest