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    


[INFO] What is this 'm' or 'u' after my numbers in graphs??

 
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's
Author Message
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5448
Location: Wisconsin, USA

PostPosted: Tue Jun 21, 2005 12:51 pm    Post subject: [INFO] What is this 'm' or 'u' after my numbers in graphs?? Reply with quote

Because of the amount of resent post I have been seeing, and past, I have decided this is sticky information.

Basically, if you see a letter after a number on your graphs, it is an unit that rrdtool has converted that value to. This is done for readability. The following table gives you an idea of the possible units that will follow a number in your graphs.

Code:
10^-18  a - atto
10^-15  f - femto
10^-12  p - pico
10^-9   n - nano
10^-6   u - micro
10^-3   m - milli
0    (no unit)
10^3    k - kilo
10^6    M - mega
10^9    G - giga
10^12   T - tera
10^15   P - peta


Last edited by rony on Fri Mar 09, 2007 9:54 am; edited 6 times in total
Back to top
spex



Joined: 19 May 2005
Posts: 16

PostPosted: Fri Nov 17, 2006 5:17 am    Post subject: Reply with quote

If you have value's based on 1024 e.g. from storage devices the values shown are wrong. Can you tell cacti to handle that correct, or is a cdef the only solution.
Regards Spex
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5448
Location: Wisconsin, USA

PostPosted: Sun Nov 19, 2006 12:03 pm    Post subject: Reply with quote

In the data source, base value should be changed from 1000 to 1024.
Back to top
spex



Joined: 19 May 2005
Posts: 16

PostPosted: Wed Nov 22, 2006 6:44 am    Post subject: Reply with quote

I could not find the place where you can change the base value.
Looked at datasource and datatemplate and at rrd with rrdeditor.
Can you please explain a little more....
Regards Spex
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5448
Location: Wisconsin, USA

PostPosted: Wed Nov 22, 2006 9:43 am    Post subject: Reply with quote

I should really consider sleeping more, it might help me to answer questions right.

It's actually a graph value not a data source value.

Sorry...
Back to top
spex



Joined: 19 May 2005
Posts: 16

PostPosted: Fri Nov 24, 2006 3:14 am    Post subject: Reply with quote

rony wrote:
It's actually a graph value not a data source value.


I can not find the desired item.
Maybe you talk about a definition of cdef's or gprints.
But the scaling is as far as I know be done automatically by rrdtool.
So cdefs or gprints are not the right way.

Regards Spex
Back to top
jt72



Joined: 14 Jul 2008
Posts: 5
Location: Cork, Ireland

PostPosted: Tue Jul 15, 2008 5:07 am    Post subject: Limit to x decimal places or specific notation? Reply with quote

I am reading/graphing a value reported in tenths - eg 101 is value given back which equals 10.1 dBmV.

This works fine unless the value is between -9 to +9 (so -.9 to +.9 dBmV). In this case I get 900m instead of .9

Is it possible to restrict the values to one decimal place or to use a specific notation? It's not a big deal, but the data is represented in a way users are not familiar with.
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 6769
Location: WA, USA

PostPosted: Tue Jul 15, 2008 12:21 pm    Post subject: Reply with quote

This is an rrdtool issue, so if you figure out how to do it (maybe reading through the manual), then yes, it can be possible .
Back to top
DervMan



Joined: 29 Apr 2008
Posts: 4

PostPosted: Thu Nov 20, 2008 4:47 am    Post subject: Reply with quote

Did you find a solution to this?

I too am getting 200m on the y axis when I want .20.

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group