[rrd-users] VDEF creates different Minimums
Rothe
Rothe at albakom.de
Thu Jun 25 11:29:46 CEST 2009
Moins,
I have some data to create a graph. I create one graph with a size,
which it's the standard size. So I don't set width and height. In this
graph the VDEF for MINIMUM
is correct calculated.
Then I create a second graph, bigger than the other with the width of
1024pixel and heigth of 768 pixel. All other Definitions are the same
like the first. But here the VDEF for
MINIMUM don't calculated correct. The value is to high.
So here is a link to the little Graph:
http://www.mordur.de/0014.f83d.cd16_12.png
And the big: http://www.mordur.de/0014.f83d.cd16_12_big.png
You can see that the MINIMUM in the big pic is incorrect.
Here are the commands to create:
Normal Pic:
rrdtool graph /srv/www/htdocs/modreport/pics/0014.f83d.cd16_12.png
--start 1245813840 --end 1245921840
--title='1.3.6.1.2.1.10.127.1.1.4.1.2.3 von 0014.f83d.cd16' -X 1
--vertical-label='_' --color CANVAS#EEEEEE --color GRID#FF5000 --color
AXIS#0000A0 --color ARROW#0000A0
DEF:myoid=/srv/www/htdocs/modreport/reports/0014.f83d.cd16_12.rrd:OID_12
:AVERAGE CDEF:realoid=myoid,1,\* VDEF:min=realoid,MINIMUM
GPRINT:min:"Minimum %.2lf " VDEF:max=realoid,MAXIMUM
GPRINT:max:"Maximum %.2lf " LINE1:realoid#0000A0
Big Pic:
rrdtool graph /srv/www/htdocs/modreport/pics/0014.f83d.cd16_12_big.png
--start 1245813840 --end 1245921840
--title='1.3.6.1.2.1.10.127.1.1.4.1.2.3 von 0014.f83d.cd16' -X 1
--vertical-label='_' --color CANVAS#EEEEEE --color GRID#FF5000 --color
AXIS#0000A0 --color ARROW#0000A0 --width=1024 --height=768
DEF:myoid=/srv/www/htdocs/modreport/reports/0014.f83d.cd16_12.rrd:OID_12
:AVERAGE CDEF:realoid=myoid,1,\* VDEF:min=realoid,MINIMUM
GPRINT:min:"Minimum %.2lf " VDEF:max=realoid,MAXIMUM
GPRINT:max:"Maximum %.2lf " LINE1:realoid#0000A0
The MAXIMUM is correct calculated in both. I've check this whith a
rrdtool fetch at the real values.
regards
Sven Rothe
ALBAKOM GmbH
Streuwiesenweg 44
18119 Rostock-Diedrichshagen
Tel.: 0381-77896-30
Fax.: 0381-77896-33
e-mail: rothe at albakom.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090625/45697bb2/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3825 bytes
Desc: image001.jpg
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090625/45697bb2/attachment-0001.jpe
More information about the rrd-users
mailing list