[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Graphs, iostat, nan
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Graphs, iostat, nan
- From: "James Wade" <jkwade (at) futurefrontiers.com>
- Date: Wed, 2 Jan 2008 14:42:36 -0600
- Thread-index: AchNdyUv4wCK1GMfS8++XVhq0zou+AACKqoQ
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= (at) RRDFN@:b:AVERAGE
DEF:p (at) RRDIDX@C= (at) 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# (at) COLOR@:@RRDPARAM@ Busy
LINE2:p (at) RRDIDX@s# (at) 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