[rrd-users] generating PRINT, no graph. start time on "graph" vs start time in DEF

Jack Tavares j.tavares at F5.com
Mon Mar 24 10:02:06 CET 2008


I am calling the graph functionality, but I am not actually generating the graph, I just want to generate PRINT output
 
I specify the start and end times for all DEFs
 
I have 2 identical calls, 
 
one I also specify the start and end time for "the graph" and one that I do not.
 
I get different results for the exact same time frames.
Why would this be?
I assumed that setting the start and end on the DEFs would be the definitive setting.
 
Here are the commands and the outputs
with start end time specified
command=/shared/tools/rrdtemp/bin/rrdtool graph /usr/local/www/tmui/tmui/system/stats/images/Dummy.png  -s 1206334663 -e 1206345463 DEF:Ruser=/var/rrd/rollupcpu:Ruser:AVERAGE:start=1206334663:end=1206345463 DEF:Rsystem=/var/rrd/rollupcpu:Rsystem:AVERAGE:start=1206334663:end=1206345463 CDEF:Utilizationcdef=Ruser,Rsystem,+ VDEF:UtilizationcdefLAST=Utilizationcdef,LAST PRINT:UtilizationcdefLAST:%.2lf%s VDEF:UtilizationcdefAVERAGE=Utilizationcdef,AVERAGE PRINT:UtilizationcdefAVERAGE:%.2lf%s VDEF:UtilizationcdefMAXIMUM=Utilizationcdef,MAXIMUM PRINT:UtilizationcdefMAXIMUM:%.2lf%s
0x0
1.02k
3.66k
103.63k
 
 
without start end time specified
command=/shared/tools/rrdtemp/bin/rrdtool graph /usr/local/www/tmui/tmui/system/stats/images/Dummy.png DEF:Ruser=/var/rrd/rollupcpu:Ruser:AVERAGE:start=1206334663:end=1206345463 DEF:Rsystem=/var/rrd/rollupcpu:Rsystem:AVERAGE:start=1206334663:end=1206345463 CDEF:Utilizationcdef=Ruser,Rsystem,+ VDEF:UtilizationcdefLAST=Utilizationcdef,LAST PRINT:UtilizationcdefLAST:%.2lf%s VDEF:UtilizationcdefAVERAGE=Utilizationcdef,AVERAGE PRINT:UtilizationcdefAVERAGE:%.2lf%s VDEF:UtilizationcdefMAXIMUM=Utilizationcdef,MAXIMUM PRINT:UtilizationcdefMAXIMUM:%.2lf%s
0x0
1.03k
3.49k
20.57k

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080324/1dc4f16e/attachment.html 


More information about the rrd-users mailing list