Gradient Graphs for Cacti
Moderators: Developers, Moderators
Re: Gradient Graphs for Cacti
Greetings everyone am new to this Cacti software so forgive me for asking dumb question but when i log in through SSH and browse to nano /path/to/cacti/lib/rrd.php the file is blank. should i just add the code or the graph template ?
Re: Gradient Graphs for Cacti
How can download and install the rrd.php file in the correct directory since mine is blank.
Re: Gradient Graphs for Cacti
found the location of the file however when i apply the code all my graphs are gone. any idea what might cause that?
/usr/share/cacti/site/lib
/usr/share/cacti/site/lib
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Gradient Graphs for Cacti
What Cacti version are you using ?
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: Gradient Graphs for Cacti
Cacti Version 0.8.8b
Re: Gradient Graphs for Cacti
Hello
How to make that color grading was only in the area, and did not fill line?
How to make that color grading was only in the area, and did not fill line?
- Attachments
-
- cacti_online.jpeg (218.66 KiB) Viewed 4758 times
Re: Gradient Graphs for Cacti
Someone should do a pull request against the Github release for this.
Before history, there was a paradise, now dust.
-
- Posts: 6
- Joined: Tue Feb 19, 2013 3:44 pm
Re: Gradient Graphs for Cacti
I just backed up the original rrd.php and dropped this in place. All my graphs look sexy now! Nice add on
-
- Posts: 16
- Joined: Wed Mar 22, 2017 3:31 pm
- Location: Saint Louis, MO
- Contact:
Re: Gradient Graphs for Cacti
Dragging this back to the top to see if this might be updated to work with the new 1.x version? Very cool...
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Gradient Graphs for Cacti
Updated for Cacti 1.x.x : https://www.urban-software.com/2015/06/ ... ti-graphs/
Also created a pull request: https://github.com/Cacti/cacti/pull/1029
Also created a pull request: https://github.com/Cacti/cacti/pull/1029
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
-
- Posts: 16
- Joined: Wed Mar 22, 2017 3:31 pm
- Location: Saint Louis, MO
- Contact:
Re: Gradient Graphs for Cacti
Thank you!! Love it!! Did forget about the fact that transparency goes away - but I'll adjust my graphs to make those work. Thank you so much!!
phalek wrote:Updated for Cacti 1.x.x : https://www.urban-software.com/2015/06/ ... ti-graphs/
Also created a pull request: https://github.com/Cacti/cacti/pull/1029
- Attachments
-
- Graph showing gradient...
- graph_image.png (60.51 KiB) Viewed 2901 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Gradient Graphs for Cacti
You can change this line:
to this, to get transparency working ( it may look ugly though ... ? there was a reason why i disabled this ... )
Code: Select all
// We don't use alpha blending for the area right now
$alpha = 'ff';
to this, to get transparency working ( it may look ugly though ... ? there was a reason why i disabled this ... )
Code: Select all
// We don't use alpha blending for the area right now
//$alpha = 'ff';
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
-
- Posts: 16
- Joined: Wed Mar 22, 2017 3:31 pm
- Location: Saint Louis, MO
- Contact:
Re: Gradient Graphs for Cacti
Was also just checking out an odd behavior with the autoscaling of using the Area graph item type. With the gradient applied, the "auto scale options" don't seem to be working.
Using Area:
Using Lines:
Using Area (without gradient patch)
Just curious if it's a bug or just the nature of getting the gradients to work...
Thanks!
_dave
Using Area:
Using Lines:
Using Area (without gradient patch)
Just curious if it's a bug or just the nature of getting the gradients to work...
Thanks!
_dave
-
- Posts: 16
- Joined: Wed Mar 22, 2017 3:31 pm
- Location: Saint Louis, MO
- Contact:
Re: Gradient Graphs for Cacti
Ha! Yeah - now I can see what transparency isn't a real good option here... At least with the type of graph I'm using... Even with everything at 10% it's still very hard to see...
Thanks for the details though - still may be able to design the graph in a way to make it work!!
_dave
Thanks for the details though - still may be able to design the graph in a way to make it work!!
_dave
phalek wrote:You can change this line:
Code: Select all
// We don't use alpha blending for the area right now $alpha = 'ff';
to this, to get transparency working ( it may look ugly though ... ? there was a reason why i disabled this ... )
Code: Select all
// We don't use alpha blending for the area right now //$alpha = 'ff';
Who is online
Users browsing this forum: No registered users and 3 guests