Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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.
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.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
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
In the data source, base value should be changed from 1000 to 1024.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
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
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...
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
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.
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.
How your values are show below the graph is a matter of gprint settings. The predefined gprints have all a trailing %s which will "autoscale" numbers to milli, mega, peta and so on.
If you want to display your values in "real" format just define a new gprint preset (cacti console - management - graph management - gprint presets - add) named e.g. "myrealvalues" with %8.2lf as gprint text.
In your graphtemplate now all you have to do is to select "myrealvalues" as the gprint type for each graph item you want to display "real" numbers.