[rrd-users] problems with timestamps

nono nono_99_fr at yahoo.fr
Tue Dec 30 11:16:24 MET 2003


Hi,

i'm trying to graph with this command :
/usr/bin/rrdtool graph out.png \
--imgformat=PNG \
--start=-3600 \
--end=1072685876 \
COMMENT:"From 2003-12-28 18:16:26 to 2003-12-29 18:16:26\c" \
COMMENT:"Graph Generated at 2003-12-29 18:16:26\c" \
--title="Localhost - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes in the run queue" \
DEF:a="/home/cacti/cacti-0.8.4/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="/home/cacti/cacti-0.8.4/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="/home/cacti/cacti-0.8.4/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=a,UN,0,a,IF,b,UN,0,b,IF,c,UN,0,c,IF,+,+ \
AREA:a#EACC00:"1 Minute Average"  \
GPRINT:a:LAST:" Current\:%8.2lf\n"  \
STACK:b#EA8F00:"5 Minute Average"  \
GPRINT:b:LAST:" Current\:%8.2lf\n"  \
STACK:c#FF0000:"15 Minute Average"  \
GPRINT:c:LAST:"Current\:%8.2lf\n"  \
LINE1:cdefg#000000:"" 

and the resulting error is :
ERROR: start (1072775356) should be less than end (1072685876)

How rrdtool calculates that 1072685876 - 3600 = 1072775356 ???


--
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