[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] FW: Question on RRD graph
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] FW: Question on RRD graph
- From: "Hubbard, Greg L" <greg.hubbard (at) eds.com>
- Date: Fri, 24 Mar 2006 08:54:51 -0600
- Thread-index: AcZOZjxHGsELyvo8TdqC+9q2WomLpwACevogADiCmXA=
- Thread-topic: [hobbit] FW: Question on RRD graph
You need to change from DERIVE to something else. DERIVE computes the
rate of change in each sample period, and handles rollovers pretty well.
The base value for DERIVE is "widgets per second" and the number is
scaled. Since your printers probably can't print a lot of pages per
second, you are getting fractions. One trick is to simply scale the
number back up to be what you want in the sample period. (multiply the
stored value by 300, for instance, to get back the change in the counter
during 5 minutes. The RRDTool documentation (look in Google) will
explain how to use RPN to calculate a value based on data in the RRD.
But if you simply want to graph the count as it increases over time
until it rolls over or is reset, then change from DERIVE to GUAGE. I
imagine you will have to delete your existing RRD files if you make this
change.
Good luck!
GLH
________________________________
From: Gada, Subhash [mailto:subhash.gada (at) logicacmg.com]
Sent: Thursday, March 23, 2006 5:53 AM
To: hobbit (at) hswn.dk
Subject: [hobbit] FW: Question on RRD graph
Hi,
The Graphs for the custom test is displayed wrong.
In my custom rrd script I have used DERIVE as the data source
type echo "DS:pageno:DERIVE:600:0:U"
# Data for 'pages' test reported to hobbit.
PRN317:177
PRN313:422
PRN306:3639
PRN201:2140
PRN021:2466
PRN020:1911
PRN019:4431
PRN018:410
PRN017:680
PRN016:6092
PRN015:11828
PRN014:5766
PRN013:5337
PRN012:2279
PRN011:1762
PRN010:731
PRN009:1879
PRN008:3224
PRN007:4767
PRN006:7263
PRN005:1205
PRN004:5355
PRN003:2755
PRN002:1940
PRN001:433
I would like to graph number of pages printed on YAXIS
Can any one tell me what is wrong.
I don't understand what is 100 m, 200 m ........ for the number
of pages scale.
#configuration for 'pages' test in hobbitgraphs.cfg
[pages]
FNPATTERN pages(.*).rrd
TITLE Pages printed (since restart)
YAXIS Number of pages
DEF:p (at) RRDIDX@= (at) RRDFN@:pageno:AVERAGE
LINE2:p (at) RRDIDX@# (at) COLOR@:@RRDPARAM@
GPRINT:p (at) RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:p (at) RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:p (at) RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:p (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
This e-mail and any attachment is for authorised use by the
intended recipient(s) only. It may contain proprietary material,
confidential information and/or be subject to legal privilege. It should
not be copied, disclosed to, retained or used by, any other party. If
you are not an intended recipient then please promptly delete this
e-mail and any attachment and all copies and inform the sender. Thank
you.