[drraw-users] Unable to graph with VDEF operators LSLSLOPE, LSLINT, and LSLCORREL
Nokes, Sam X
nokess at upmc.edu
Thu Jul 19 08:59:04 MDT 2007
We have drraw v2.2a3 implemented on Red Hat and are successful in
generating graphs that depict Data Sources from RRAs that we have
captured. Typical CDEFs and VDEFs such as Average and 95th percentile
also produced graphs as one would expect. However, we are having
difficulty displaying a projection with the Least Squares Line VDEF
operators LSLSLOPE, LSLINT, and LSLCORREL. We suspect a usage issue,
however we are also questioning whether the operators are usable with
the 'beater' code. Here is the rrd invocation from drraw we have at the
moment:
rrdtool graph - \
--start=end-86400 \
--title=CPU Projection \
--vertical-label=Utilization \
--imgformat=PNG \
--width=600 \
--base=1000 \
--height=200 \
--interlaced \
DEF:a=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:
UserPct:AVERAGE \
DEF:b=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:
SysPct:AVERAGE \
DEF:c=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:
WaitPct:AVERAGE \
CDEF:G=a,b,c,+,+ \
VDEF:D=G,LSLSLOPE \
VDEF:H=G,LSLINT \
VDEF:F=G,LSLCORREL \
LINE1:G#FFA500: Usr+Sys+Wait \
LINE1:D#000080:Slope \
LINE1:H#FF0000: \
LINE1:F#008000:
and the graph that is generated:
Realizing v2.2a3 is beta, and noting a comment by Alex: "In RRDtool 1.2
I made a start with VDEF processing. VDEFs aren't arrays like CDEFs are,
they are single values. The work is far from finished, however certain
functions are already usable."(
http://www.vandenbogaerdt.nl/rrdtool/total.php ), the questions follow:
(1) Are the VDEF operators LSLSLOPE, LSLINT, and LSLCORREL usable in
drraw v2.2a3?
(2) Should the vnames be placed into a linear equation:
y=LSLSLOPE*LSLCORREL+LSLINT ?
We tried to add a CDEF definition substituting VDEF vnames in a vpn
format (D,F,*,H,+) and
received an error from drraw stating "rpn expressions without DEF or
CDEF variables are not supported"
(3) Has anyone generated a least squares projection with rrdtool similar
to the following? If so what is the rrd invocation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20070719/54edde9d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 34984 bytes
Desc: ATT16011.gif
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20070719/54edde9d/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 206976 bytes
Desc: Outlook.jpg
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20070719/54edde9d/attachment.jpe>
More information about the drraw-users
mailing list