Xymon Mailing List Archive search

IOSTAT graph patches

list Craig Cook
Mon, 23 Jul 2007 11:06:31 +1000
Message-Id: <user-a3f135a86805@xymon.invalid>

I did some recent work on the iostat graphs that did not seem to be working.  Below are some patches.  There still seems to be an outstanding issue where some graph lines do not show up.

update hobbitgraph.cfg

[iostat1]
        TITLE I/O Percent of time the disk is Busy
        YAXIS Percent
        FNPATTERN iostat\.(.*).rrd
        DEF:p at RRDIDX@B=@RRDFN@:b:AVERAGE
        CDEF:p at RRDIDX@t=p at RRDIDX@B,5,GT,p at RRDIDX@B,UNKN,IF
        LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@
        GPRINT:p at RRDIDX@B:LAST:busy  \: %5.1lf (cur)
        GPRINT:p at RRDIDX@B:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@B:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@B:AVERAGE: \: %5.1lf (avg)\n

[iostat2]
        TITLE Average Service Time of active transactions
        YAXIS Milliseconds
        FNPATTERN iostat\.(.*).rrd
        DEF:p at RRDIDX@A=@RRDFN@:asvc_t:AVERAGE
        CDEF:p at RRDIDX@t=p at RRDIDX@A,5,GT,p at RRDIDX@A,UNKN,IF
        LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@
        GPRINT:p at RRDIDX@A:LAST:asvc_t  \: %5.1lf (cur)
        GPRINT:p at RRDIDX@A:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@A:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@A:AVERAGE: \: %5.1lf (avg)\n

[iostat3]
        TITLE Average Service Time in wait queue
        YAXIS Milliseconds
        FNPATTERN iostat\.(.*).rrd
        DEF:p at RRDIDX@W=@RRDFN@:wsvc_t:AVERAGE
        CDEF:p at RRDIDX@t=p at RRDIDX@W,5,GT,p at RRDIDX@W,UNKN,IF
        LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@
        GPRINT:p at RRDIDX@W:LAST:wsvc_t  \: %5.1lf (cur)
        GPRINT:p at RRDIDX@W:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@W:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@W:AVERAGE: \: %5.1lf (avg)\n

Update bb-hosts:

0.0.0.0         hobbit-client-host   # TRENDS:*,iostat:iostat1|iostat2|iostat3


Craig Cook
--
Systems Monitoring Consulting and Support Services
http://www.cookitservices.com