[rrd-users] The Y-Axis is Displaying an Incorrect Unit
Steve Shipway
s.shipway at auckland.ac.nz
Tue Apr 22 23:58:09 CEST 2014
If I were you, I'd convert the 'minutes' to a percentage, else it will not
graph well against time. After all, this is so many minutes over what time
interval? What happens when you get larger granularity graphs and the
samples are averaged over larger intervals? The graphs could be very
misleading. Multiply by 60 (to get seconds) and divide by the time interval
in question then multiply by 100 to get a percentage utilisation...
By default, rrdtool will use a 'k' prefix when the value is over 1000, and
similarly for other prefixes. So if your unit is '' (nothing) then at 1000
you will see 1k. If you don't want it to do this, then try out
'--units-exponent 0 --alt-y-grid' which prevents this behaviour (using an
exponent of 3 will make everything always display in k)
Steve Shipway
s.shipway at auckland.ac.nz
-----Original Message-----
From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
[mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On
Behalf Of mmartin
Sent: Wednesday, 23 April 2014 9:49 a.m.
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] The Y-Axis is Displaying an Incorrect Unit
Hey Steve, thanks again for the reply, much appreciated...
Ok, no problem. I've already modified my script to send bytes instead. I am
also sending "CPU-Time" as part of the PerformanceData, which is currently
sent in 'minutes'. With the unit of measure being "m". It used to be "min",
but it didn't seem to recognize it so I changed it to just "m" because I
read somewhere on oss.oetiker.ch that it recognizes *m*inutes, *s*econds...
*w*eek, *d*ay, etc... But the Y-Axis is using the Unit "k". Is there any
special option I need to use in order to use minutes as the unit of measure?
Is this also a case where I should send the data in seconds, instead of
minutes..?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5909 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140422/7ba59a0d/attachment.bin
More information about the rrd-users
mailing list