Graph Legend Help
Moderators: Developers, Moderators
Graph Legend Help
Hello everyone!
I'm hoping that you guys would be able to help me out on little nagging issue.
I have a graph as below:
I'm graphing SIP errors in the ranges 4xx, 5xx and 6xx.
Positive for errors sent out, negative for errors received.
Originally, I mistakenly entered the text in the "area" instead of the "line1" for the 5xx.
When I corrected the mistake, it is now showing the square color box with no text.
How do I remove that square color box altogether?
I've checked and rechecked, there is no "space" in the text box that could represent a blank legend.
I've recreated the area and the line on all 4 graph item entries, but still unsuccessful.
Any pointers greatly appreciated!
Regards,
~Theiss
I'm hoping that you guys would be able to help me out on little nagging issue.
I have a graph as below:
I'm graphing SIP errors in the ranges 4xx, 5xx and 6xx.
Positive for errors sent out, negative for errors received.
Originally, I mistakenly entered the text in the "area" instead of the "line1" for the 5xx.
When I corrected the mistake, it is now showing the square color box with no text.
How do I remove that square color box altogether?
I've checked and rechecked, there is no "space" in the text box that could represent a blank legend.
I've recreated the area and the line on all 4 graph item entries, but still unsuccessful.
Any pointers greatly appreciated!
Regards,
~Theiss
Last edited by theiss on Fri Jan 13, 2023 6:37 pm, edited 1 time in total.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Graph Legend Help
Can you post a screenshot of how you defined the graph template ?
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: Graph Legend Help
Here's the graph template that I used to create the graph:
Cheers,
~Theiss
Cheers,
~Theiss
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graph Legend Help
This might be a RRDtool ISM. I'm just scratching my head as to why the other AREAS are not rendering on the legend as well. Very odd. You might benefit from putting the graph into debug mode and posting the RRDtool graph syntax and stating your RRDtool version.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Graph Legend Help
Hi Witness,
TIA - I'll try to remember to get that graph debug for your tomorrow.
As for your question why the rest of the graph legends are not rendering, I found that if I don't add the description (4xx, 5xx, 6xx), the legends don't show.
That particular errored legend contained 5xx IN (I think), and I deleted/removed the text, and put it on the 5xx OUT, to keep it the same as the others (ie: 4xx label was on 4xx OUT, etc).
Regards,
Theiss
TIA - I'll try to remember to get that graph debug for your tomorrow.
As for your question why the rest of the graph legends are not rendering, I found that if I don't add the description (4xx, 5xx, 6xx), the legends don't show.
That particular errored legend contained 5xx IN (I think), and I deleted/removed the text, and put it on the 5xx OUT, to keep it the same as the others (ie: 4xx label was on 4xx OUT, etc).
Regards,
Theiss
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graph Legend Help
Glad you figured it out.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Graph Legend Help
Hi Witness,
I think you misunderstood me.
My logic/approach was, if there is no text, it doesn't show the legend.
So, if I remove the text it would also remove the legend entry.
This is not the case.
I mistakenly entered the description text for the "5xx IN".
So, I removed the text and place it in "5xx OUT" field.
but it will not remove the legend entry for the "5xx IN", which is now contains no text.
Cheers
~Theiss
I think you misunderstood me.
My logic/approach was, if there is no text, it doesn't show the legend.
So, if I remove the text it would also remove the legend entry.
This is not the case.
I mistakenly entered the description text for the "5xx IN".
So, I removed the text and place it in "5xx OUT" field.
but it will not remove the legend entry for the "5xx IN", which is now contains no text.
Cheers
~Theiss
Re: Graph Legend Help
I'm thinking that line 54 in the text file:
AREA:f#FF240099:'\n' \
Is the culprit; but not sure. Also if I was right, how do I remove that newline character manually?
Cheers,
~Trev.
AREA:f#FF240099:'\n' \
Is the culprit; but not sure. Also if I was right, how do I remove that newline character manually?
Cheers,
~Trev.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graph Legend Help
Look to the <HR> items.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Graph Legend Help
Thank you, Witness!
I have a <HR>, Hard Return, on the last area graph.
I removed the <HR>, and inserted a comment after the area graph with a Hard Return.
Fixed the problem!
Thanks again!
Cheers,
~Theiss
I have a <HR>, Hard Return, on the last area graph.
I removed the <HR>, and inserted a comment after the area graph with a Hard Return.
Fixed the problem!
Thanks again!
Cheers,
~Theiss
Who is online
Users browsing this forum: No registered users and 0 guests