Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Scale Problems

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
Boulad



Joined: 13 Jun 2008
Posts: 27

PostPosted: Thu Jul 24, 2008 3:06 pm    Post subject: Scale Problems Reply with quote

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.



WIP Good.JPG
 Description:
 Filesize:  49.39 KB
 Viewed:  649 Time(s)

WIP Good.JPG



WIP Bad 2.JPG
 Description:
 Filesize:  51.29 KB
 Viewed:  650 Time(s)

WIP Bad 2.JPG



WIP Bad.JPG
 Description:
 Filesize:  51.32 KB
 Viewed:  652 Time(s)

WIP Bad.JPG


Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Thu Jul 24, 2008 11:16 pm    Post subject: Reply with quote

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

PostPosted: Fri Jul 25, 2008 8:56 am    Post subject: Reply with quote

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: 9723
Location: MI, USA

PostPosted: Fri Jul 25, 2008 11:37 am    Post subject: Reply with quote

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

PostPosted: Fri Jul 25, 2008 4:45 pm    Post subject: Reply with quote

(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

PostPosted: Fri Jul 25, 2008 4:45 pm    Post subject: Reply with quote

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: 9723
Location: MI, USA

PostPosted: Fri Jul 25, 2008 8:34 pm    Post subject: Reply with quote

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

PostPosted: Mon Sep 29, 2008 8:31 pm    Post subject: Reply with quote

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

PostPosted: Mon Sep 29, 2008 8:37 pm    Post subject: Reply with quote

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: 2167
Location: United Kingdom

PostPosted: Tue Sep 30, 2008 2:19 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group