[hobbit] load avg y-axis units a bit odd

Henrik Stoerner henrik at hswn.dk
Fri Jan 28 14:29:41 CET 2005


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



More information about the Xymon mailing list