Hi,
the problem is that my log-file shows
....CMDPHP: Poller[0] Host[0] DS[18] CMD: cat /home/............, output: 0.05
but in my graph the y-axis don´t shows the decimals value.
I can create the graph with the extension "m" (milli) or something similar.
But my goal is that the y-axis shows decimal values like 0.05
Is there a way to solve this issue?
Many thanks in advance.
emmet br0wn
i´m using Version 0.8.8a
script value vs. y-axis
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Mon Sep 02, 2013 10:52 am
script value vs. y-axis
- Attachments
-
- this is how it looks in the graph
- screenshot.JPG (13.2 KiB) Viewed 417 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: script value vs. y-axis
This is from rrdtool manuals. The first option is currently supported as Unit Exponent Value (--units-exponent) in any graph template.[-X|--units-exponent value]
This sets the 10**exponent scaling of the y-axis values. Normally, values will be scaled to the appropriate units (k, M,
etc.). However, you may wish to display units always in k (Kilo, 10e3) even if the data is in the M (Mega, 10e6) range,
for instance. Value should be an integer which is a multiple of 3 between -18 and 18 inclusively. It is the exponent on
the units you wish to use. For example, use 3 to display the y-axis values in k (Kilo, 10e3, thousands), use -6 to
display the y-axis values in u (Micro, 10e-6, millionths). Use a value of 0 to prevent any scaling of the y-axis values.
This option is very effective at confusing the heck out of the default RRDtool autoscaling function and grid painter. If
RRDtool detects that it is not successful in labeling the graph under the given circumstances, it will switch to the more
robust --alt-y-grid mode.
[-L|--units-length value]
How many digits should RRDtool assume the y-axis labels to be? You may have to use this option to make enough space once
you start fiddling with the y-axis labeling.
R.
Who is online
Users browsing this forum: No registered users and 6 guests