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
[email protected]


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On
Behalf Of mmartin
Sent: Wednesday, 23 April 2014 9:49 a.m.
To: [email protected]
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..?


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to