[hobbit] Graphs, iostat, nan

James Wade jkwade at futurefrontiers.com
Wed Jan 2 21:42:36 CET 2008


I've been looking at the rrd manual, and it looks like I should

be able to use a VDEF command to tell the graph to only

plot values above a certain percentage.

 

Here's my iostat rrdgraph description below. Any help would

be appreciated. I want to tell it to graph iostat values only when

the exceed 5% as an example.

 

 

[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

 

  _____  

From: James Wade [mailto:jkwade at futurefrontiers.com] 
Sent: Wednesday, January 02, 2008 1:39 PM
To: hobbit at hswn.dk
Subject: [hobbit] Graphs, iostat, nan

 

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 has 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.

 

James

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080102/a27446ca/attachment.html>


More information about the Xymon mailing list