|
|
| Author |
Message |
Boulad
Joined: 13 Jun 2008 Posts: 27
|
Posted: Thu Jul 24, 2008 3:06 pm Post subject: Scale Problems |
|
|
Hello, I got a template from a dev forum that graphs DNS requests on my BigIP devices. The person who made the template is using the exact same Cacti version.
The graphs come up but the vertical scale is wrong. I'm not even sure where it's grabbing the units from. I've spent many hours in the graph template of this DNS graph changing around in just about everything. The problem still remains.
The top pic is a screen shot from his graph using the template he posted. The bottom two are mine, using the same exact template.
Why am I getting units (m) on one and none on the other. Why are the vertical scales so different in numbers? How can I set the vertical scale so it's like his? I've already chatted with the person who made the templates, he doesn't know what I should do. He recommended that I seek the Cacti forums.
| Description: |
|
| Filesize: |
49.39 KB |
| Viewed: |
620 Time(s) |

|
| Description: |
|
| Filesize: |
51.29 KB |
| Viewed: |
621 Time(s) |

|
| Description: |
|
| Filesize: |
51.32 KB |
| Viewed: |
623 Time(s) |

|
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Thu Jul 24, 2008 11:16 pm Post subject: |
|
|
It's an auto scaling issue. If you want a fixed scale, you have to modify the Graph Template to do so. Editing Graph Templates is pretty harmless, if you know what you are doing.
TheWitness
|
|
| Back to top |
|
 |
Boulad
Joined: 13 Jun 2008 Posts: 27
|
Posted: Fri Jul 25, 2008 8:56 am Post subject: |
|
|
As I've mentioned in my initial post, I've been in the graph template for hours trying to get the vertical scale to work correctly. Sadly, haven't been able to fix it yet.
What baffles me is two things:
1) I'm using the same exact template that the author used, but yet get a different scale than him. Doesn't the graph template import his settings also when I import his template?
2) Why does one of my graphs have units (m) and my other one does not? Why is one of my graphs using totally different scaling increments than my other graph? Both my graphs are using the same exact graph template.
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Fri Jul 25, 2008 11:37 am Post subject: |
|
|
m stands for "milli", aka very little. If you disable autoscale and set the max value to, say 100, then you will not see milli, but your graphs might appear blank.
TheWitness
|
|
| Back to top |
|
 |
Boulad
Joined: 13 Jun 2008 Posts: 27
|
Posted: Fri Jul 25, 2008 4:45 pm Post subject: |
|
|
(deleted)
Last edited by Boulad on Fri Jul 25, 2008 4:47 pm; edited 1 time in total |
|
| Back to top |
|
 |
Boulad
Joined: 13 Jun 2008 Posts: 27
|
Posted: Fri Jul 25, 2008 4:45 pm Post subject: |
|
|
Sorry, but I'm still confused on why my graph scale units are all weird. I understand m if for milli, but that doesn't make any sense on the graph. There is no such thing as a milli query.
It seems to be graphing is correct, but the scale is off. How do I get the same scale as the top graph?
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Fri Jul 25, 2008 8:34 pm Post subject: |
|
|
Likely you apply a CDEF or find out what's wrong with your script.
TheWitness
|
|
| Back to top |
|
 |
eschoeller Cacti User
Joined: 13 Dec 2004 Posts: 104
|
Posted: Mon Sep 29, 2008 8:31 pm Post subject: |
|
|
Found this post while investigating the same problem. Yes turning autoscale off and setting a logical upper-limit gets rid of the "milli' units, but how do you get rid of them for your GPRINT values?
Thanks.
|
|
| Back to top |
|
 |
eschoeller Cacti User
Joined: 13 Dec 2004 Posts: 104
|
Posted: Mon Sep 29, 2008 8:37 pm Post subject: |
|
|
| Nevermind, I forgot to use the "Load Average" GPRINT preset. This gets rid of the scaling .
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Tue Sep 30, 2008 2:19 am Post subject: |
|
|
| Boulad wrote: | | There is no such thing as a milli query. |
Sure there is. Suppose you have one query every 1000 seconds. How many queries per second (your scale) is that? It's 1 milliquery/second. There's no other way Cacti could show it... 0 is wrong, and 1 is wrong.
1 every 1000 is quite low, but it's not too hard to find things with less than 1 per second, and because they are being averaged over time, you get fractions.
|
|
| Back to top |
|
 |
|