[rrd-users] Re: Y Axis problem with some rrd files

Gellatly, Laurie Laurie.Gellatly at vodafone.com.au
Thu Dec 20 21:50:11 MET 2001


Mike,
I think you find the m stands for milli so 600m is actually .6 !
You are probably doing averages and the numbers you are seeing are
mostly zero so the average over longer periods tends towards zero.

HTH			...Laurie :{)

-----Original Message-----
From: Mike Rowen [mailto:rowen at berbee.com]
Sent: Friday, 21 December 2001 4:27
To: RRD users
Subject: [rrd-users] Y Axis problem with some rrd files



I am confused by a a scaling problem. I have about 200 rrd dbase files.
Each one contains only a single data variable that represents the
percent active of a disk drive. The percentage is passed as an integer
to the rrdtool update command. This value is always between 0 and 100.
Out of the 200 files, there are a handful that are giving me trouble
when I graph them. The file I'm using for an example has a high point
under 2%. 

If I graph against the rrd for a short period, it correctly displays the
Y axis with a max of 2.0. If I look beyond a week or so worth of data,
the Y axis scale shows the same data point as 600 m. Can anyone help me
figure out why this is happening? When I do a dump of the rrd file, the
values look correct.

This command gives the correct scale that I expect:

/usr/local/bin/rrdtool graph grafX.gif \
--start 1006223200 --end 1006502804 \
--title "DISK ACTIVITY" \
--vertical-label "Percent Active" \
DEF:hdisk57=hdisk57.rrd:active:AVERAGE LINE2:hdisk57#AA0000:hdisk57


This command causes the scale to leap to 600 m.

/usr/local/bin/rrdtool graph grafX.gif \
--start 1005223200 --end 1006502804 \
--title "DISK ACTIVITY" \
--vertical-label "Percent Active" \
DEF:hdisk57=hdisk57.rrd:active:AVERAGE LINE2:hdisk57#AA0000:hdisk57


The rrd file was created using the following:

/usr/local/bin/rrdtool create hdisk57.rrd --step 900 \
        --start $START \
        DS:active:GAUGE:1800:U:U \
        RRA:AVERAGE:.5:1:52560



Mike Rowen
<rowen at berbee.com>
-- 


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


**********************************************************************"
This correspondence is for the named person's use only. It may
contain confidential or legally privileged information or both. "
No confidentiality or privilege is waived or lost by any "
mistransmission.  If you receive this correspondence in error, please
immediately delete it from your system and notify the sender.  You 
must not disclose, copy or rely on any part of this correspondence 
if you are not the intended recipient. 

Any views expressed in this message are those of the individual sender,
except where the sender expressly, and with authority, states them to
be the views of Vodafone.

This email has been checked for viruses.
**********************************************************************************************


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list