cycle on cacti 1.1.17 bad resolution.
Moderators: Developers, Moderators
cycle on cacti 1.1.17 bad resolution.
hey guys,
at the moment, I have two cacti systems. One system is cacti 0.8.8f, the other system is cacti 1.1.17.
I have cycle installed on both systems.
but there is a huge difference in the view.
The first pictures shows cycle on cacti 1.1.7. The setting is 150x500 and the windows and legends are very small and hard to read.
The second picture shows cycle on cacti 0.8.8f. Everything is fine here. The setting is 150x500 and the windows and legends are big and good to read.
The third picture shows cycle on 1.1.17. The setting is 300x700, and the graphs are as big as in 0.8.8f 150x500. But they are still very unclear and fuzzy.
I hope you can see that.
I'm also missing the possibility to choose a tree. It's there in 0.8.8f, but not in 1.1.17
Can someone help me?
at the moment, I have two cacti systems. One system is cacti 0.8.8f, the other system is cacti 1.1.17.
I have cycle installed on both systems.
but there is a huge difference in the view.
The first pictures shows cycle on cacti 1.1.7. The setting is 150x500 and the windows and legends are very small and hard to read.
The second picture shows cycle on cacti 0.8.8f. Everything is fine here. The setting is 150x500 and the windows and legends are big and good to read.
The third picture shows cycle on 1.1.17. The setting is 300x700, and the graphs are as big as in 0.8.8f 150x500. But they are still very unclear and fuzzy.
I hope you can see that.
I'm also missing the possibility to choose a tree. It's there in 0.8.8f, but not in 1.1.17
Can someone help me?
- Attachments
-
- cycle2.JPG (81.86 KiB) Viewed 2065 times
-
- cycle1.JPG (114.14 KiB) Viewed 2066 times
-
- cycle0.JPG (161.84 KiB) Viewed 2066 times
Re: cycle on cacti 1.1.17 bad resolution.
Settings > Cycle
Before history, there was a paradise, now dust.
Re: cycle on cacti 1.1.17 bad resolution.
oh yeah, thank you!
But what can I do about the fuzzy view?
Respectively why is it so bad in comparison to 0.8.8?
But what can I do about the fuzzy view?
Respectively why is it so bad in comparison to 0.8.8?
Re: cycle on cacti 1.1.17 bad resolution.
I'm not entirely certain.
Before history, there was a paradise, now dust.
Re: cycle on cacti 1.1.17 bad resolution.
Does someone use cycle on cacti1 and can tell me his experiences?
Re: cycle on cacti 1.1.17 bad resolution.
Did you find a solution to the fuzzy graphs?
I have the exact same problem.
I first installed Cycle on 1.1.17 and noticed the fuzzy graphs (which look perfect under Graphs - > Tree View / List View etc)
No matter what size i set the graphs to in cycle they look awful.
I've since upgraded to 1.1.19 (using EPEL7 repo) and the graphs still look really bad.
I have the exact same problem.
I first installed Cycle on 1.1.17 and noticed the fuzzy graphs (which look perfect under Graphs - > Tree View / List View etc)
No matter what size i set the graphs to in cycle they look awful.
I've since upgraded to 1.1.19 (using EPEL7 repo) and the graphs still look really bad.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: cycle on cacti 1.1.17 bad resolution.
Sure, it's a design issue where the developer assumes that setting the Image width/height of the rrd image correlates with the actual size of the image returned. But setting the height/width for the rrd is actually just setting the graph area. So the image is then squezed into the defined width, effectively bluring it due to the downsizing ...
So edit cycle_ajax.php and remove the style statement from line 125:
Original:New:
You can check this behaviour by using your posted images as well. The complete graph for the 1.1.17 cycle should exactly fit into just the graph area of the 0.8.8 cycle. See the attached file as confirmation
-- I've created a pull request for that change : https://github.com/Cacti/plugin_cycle/pull/5
So edit cycle_ajax.php and remove the style statement from line 125:
Original:
Code: Select all
. "<img style='width:" . $width . "px;height:" . $height . "px' "
Code: Select all
. "<img "
You can check this behaviour by using your posted images as well. The complete graph for the 1.1.17 cycle should exactly fit into just the graph area of the 0.8.8 cycle. See the attached file as confirmation
-- I've created a pull request for that change : https://github.com/Cacti/plugin_cycle/pull/5
- Attachments
-
- cycle1_check.JPG (115.81 KiB) Viewed 1958 times
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: cycle on cacti 1.1.17 bad resolution.
phalek wrote:Sure, it's a design issue where the developer assumes that setting the Image width/height of the rrd image correlates with the actual size of the image returned. But setting the height/width for the rrd is actually just setting the graph area. So the image is then squezed into the defined width, effectively bluring it due to the downsizing ...
So edit cycle_ajax.php and remove the style statement from line 125:
Original:New:Code: Select all
. "<img style='width:" . $width . "px;height:" . $height . "px' "
Code: Select all
. "<img "
You can check this behaviour by using your posted images as well. The complete graph for the 1.1.17 cycle should exactly fit into just the graph area of the 0.8.8 cycle. See the attached file as confirmation
-- I've created a pull request for that change : https://github.com/Cacti/plugin_cycle/pull/5
Thanks Phalek, that worked a treat, much more pleasing to the eye and much easier to read.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: cycle on cacti 1.1.17 bad resolution.
Now keep in mind that when you show the legend, the graphs are not common in size as the height varies by graph then.
I fixed that Legend issue as well ( Issue #3 in github: https://github.com/Cacti/plugin_cycle/issues/3 )
I fixed that Legend issue as well ( Issue #3 in github: https://github.com/Cacti/plugin_cycle/issues/3 )
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: cycle on cacti 1.1.17 bad resolution.
Hey phalek,
I'm confused.
I finally got an update to cacti version 1.1.25, so I was able to install the newest cycle version.
But I do still have the same problem.
And there isn't a file called cycle_ajax.php
What am I doing wrong?
Thank you!
I'm confused.
I finally got an update to cacti version 1.1.25, so I was able to install the newest cycle version.
But I do still have the same problem.
And there isn't a file called cycle_ajax.php
What am I doing wrong?
Thank you!
Re: cycle on cacti 1.1.17 bad resolution.
that's what it looks like:
- Attachments
-
- cacti.JPG (94.2 KiB) Viewed 1773 times
Who is online
Users browsing this forum: No registered users and 1 guest