[rrd-users] Help with rrd-graph

James Wade jkwade at futurefrontiers.com
Thu Jan 3 16:37:36 CET 2008


Hello All,

 

I'm using Hobbit to monitor iostat on some servers, and I need

some help with the graph description.

 

I have an iostat2 test that runs and graphs wait & busy

times of nfs mounts and disk mounts.

 

However, I have a lot of nan's in the data due to the

nfs mount or disk mount having no wait or busy times.

 

Is there a way when you display the graph to tell it not

to show any data with nan? It lists every partition with

the "NaN" values. I only want to see the data that has

values.

 

[iostat]

        TITLE I/O Utilization

        YAXIS Stats

        FNPATTERN iostat.(.+).rrd

        DEF:p at RRDIDX@B=@RRDFN@:b:AVERAGE

        DEF:p at RRDIDX@C=@RRDFN@:w:AVERAGE

        CDEF:p at RRDIDX@t=p at RRDIDX@B,p at RRDIDX@B,UNKN,IF

        CDEF:p at RRDIDX@s=p at RRDIDX@C,p at RRDIDX@C,UNKN,IF

        LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@ Busy

        LINE2:p at RRDIDX@s#@COLOR@:@RRDPARAM@ Wait

        COMMENT:\n

        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

        GPRINT:p at RRDIDX@C:LAST:Wait    \: %5.1lf (cur)

        GPRINT:p at RRDIDX@C:MAX: \: %5.1lf (max)

        GPRINT:p at RRDIDX@C:MIN: \: %5.1lf (min)

        GPRINT:p at RRDIDX@C:AVERAGE: \: %5.1lf (avg)\n

        COMMENT:\n

 

Thanks..James

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080103/f238f594/attachment-0001.html 


More information about the rrd-users mailing list