load avg y-axis units a bit odd
I have several servers who's load avg is often below 1.0 for days at a time. This morning I happened to check their larrd graphs and noticed that they all had rather odd (at least in the load average sense of things) Y-axis scaling. Instead of a fractional value like 0.2, 0.8, they read 200m, 800m. My BB server with larrd-0.43c, which is graphing the same data (it uses BBRELAY to send it to hobbit), uses the fractional units and I verified my hobbitgraphs.cfg la rrd definitions (seen below) matched those in BB/larrd. Is this something hobbit does? I used the same rrdtool tarball to build both my BB & hobbit servers, so I don't think it's the rrd toolkit.
Tom
[la] TITLE CPU Load YAXIS Load DEF:avg=la.rrd:la:AVERAGE CDEF:la=avg,100,/ AREA:la#00CC00:CPU Load Average GPRINT:la:LAST: \: %5.1lf (cur) GPRINT:la:MAX: \: %5.1lf (max) GPRINT:la:MIN: \: %5.1lf (min) GPRINT:la:AVERAGE: \: %5.1lf (avg)\n
On Fri, Jan 28, 2005 at 07:50:13AM -0500, Tom Georgoulias wrote:
I have several servers who's load avg is often below 1.0 for days at a time. This morning I happened to check their larrd graphs and noticed that they all had rather odd (at least in the load average sense of things) Y-axis scaling. Instead of a fractional value like 0.2, 0.8, they read 200m, 800m.
There's a "-u 1.0" missing in the hobbitgraph.cfg config for the "la" graph, causing it to dynamically adjust the Y-axis graph when your load is low. Changing it as follows should fix it:
[la] TITLE CPU Load YAXIS Load DEF:avg=la.rrd:la:AVERAGE CDEF:la=avg,100,/ AREA:la#00CC00:CPU Load Average -u 1.0 GPRINT:la:LAST: \: %5.1lf (cur) GPRINT:la:MAX: \: %5.1lf (max) GPRINT:la:MIN: \: %5.1lf (min) GPRINT:la:AVERAGE: \: %5.1lf (avg)\n
Henrik
participants (2)
-
henrik@hswn.dk
-
tgeorgoulias@nandomedia.com