[rrd-users] newbie question

Rick Spanbauer rick at orion.cvnet.com
Mon Oct 4 15:05:55 MEST 1999

Folks, I am new to rrdtool and having a bit of trouble getting my first
plot going.  The tests in the tutorial worked ok, but the enclosed script
does not:

#!/bin/csh -f

/bin/rm -f test.rrd

rrdtool create test.rrd                 \
        --step 300                      \
        --start 938919600               \
        DS:in:GAUGE:600:U:U             \

nawk 'BEGIN {for(i=1; i<100; i++){      \
     c=sprintf("rrdtool update test.rrd %d:%d",(938919600+(300*i)),400+i);\
     system(c);                         \
     } exit }'

rrdtool graph test.gif -a GIF           \
        --start 938919900               \
        --end 938949300                 \
        DEF:d=test.rrd:in:AVERAGE       \

The environment here is Solaris 2.6, gcc 2.95, MSIE 5 to view the .gif
file.  Symptom is that the test.gif file is generated, but it contains
no plot lines.  The x/y axis settings look right for the range of data
in the RRD, and I can see proper data in the RRD via rrdtool fetch/dump.
Why no plot?  Tnx Rick Spanbauer, Cablevision

* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch

More information about the rrd-users mailing list