[rrd-users] RRD Graph not showing ??

J.A.J. van Belkum aukjan at gfo.nl
Tue Feb 4 17:15:27 MET 2003


Hello,

I have a lot of data stored in a MySQL database, and I pull it out to 
temporary RRD databases to create some nice graph's.... But when I see 
the picture (which it creates) I get nothing.... Just the white background.

When I do a fetch the data is also there.... Can anyone find the thing I 
am doing wrong... (since all the data is provided you can recreate my 
problem :-P

Thanx,
     Aukjan


The following are the commands which are created....

rrdtool create ./rrd/185696009.2 --start 1044370348 --step 60  \ 
      DS:used:GAUGE:600:U:U  \
         DS:free:GAUGE:600:U:U  \
         RRA:AVERAGE:0.5:1:180  \
         RRA:AVERAGE:0.5:60:48

(imagine 'rrdtool' in front of update :-) )
update ./rrd/185696009.2 1044370410:40760:344284
update ./rrd/185696009.2 1044370480:41672:343372
update ./rrd/185696009.2 1044370545:40728:344316
update ./rrd/185696009.2 1044370612:40676:344368
update ./rrd/185696009.2 1044370673:40544:344500
update ./rrd/185696009.2 1044370739:40256:344788
update ./rrd/185696009.2 1044370799:40592:344452
update ./rrd/185696009.2 1044370860:38736:346308
update ./rrd/185696009.2 1044370924:37364:347680
update ./rrd/185696009.2 1044370984:38792:346252
update ./rrd/185696009.2 1044371045:37804:347240
update ./rrd/185696009.2 1044371105:36824:348220
update ./rrd/185696009.2 1044371166:38596:346448
update ./rrd/185696009.2 1044371227:38244:346800
update ./rrd/185696009.2 1044371288:38592:346452
update ./rrd/185696009.2 1044371350:38584:346460
update ./rrd/185696009.2 1044371411:38652:346392
update ./rrd/185696009.2 1044371473:38652:346392
update ./rrd/185696009.2 1044371534:38600:346444
update ./rrd/185696009.2 1044371596:38652:346392
update ./rrd/185696009.2 1044371657:38572:346472
update ./rrd/185696009.2 1044371718:38572:346472
update ./rrd/185696009.2 1044371780:38572:346472
update ./rrd/185696009.2 1044371841:38572:346472
update ./rrd/185696009.2 1044371902:32332:352712
update ./rrd/185696009.2 1044371962:30412:354632
update ./rrd/185696009.2 1044372023:29920:355124
update ./rrd/185696009.2 1044372084:29712:355332
update ./rrd/185696009.2 1044372144:29712:355332
update ./rrd/185696009.2 1044372205:29008:356036
update ./rrd/185696009.2 1044372265:25212:359832
update ./rrd/185696009.2 1044372326:23888:361156
update ./rrd/185696009.2 1044372387:23388:361656
update ./rrd/185696009.2 1044372447:23324:361720
update ./rrd/185696009.2 1044372508:28196:356848
update ./rrd/185696009.2 1044372569:28016:357028
update ./rrd/185696009.2 1044372629:27976:357068
update ./rrd/185696009.2 1044372690:27736:357308
update ./rrd/185696009.2 1044372751:27732:357312
update ./rrd/185696009.2 1044372814:28616:356428
update ./rrd/185696009.2 1044372875:28636:356408
update ./rrd/185696009.2 1044372936:28636:356408
update ./rrd/185696009.2 1044372997:28636:356408
update ./rrd/185696009.2 1044373058:28584:356460
update ./rrd/185696009.2 1044373119:27632:357412
update ./rrd/185696009.2 1044373181:25948:359096
update ./rrd/185696009.2 1044373242:8296:376748
update ./rrd/185696009.2 1044373303:12560:372484
update ./rrd/185696009.2 1044373364:25084:359960
update ./rrd/185696009.2 1044373425:5892:379152
update ./rrd/185696009.2 1044373486:5464:379580
update ./rrd/185696009.2 1044373547:8016:377028
update ./rrd/185696009.2 1044373609:21700:363344
update ./rrd/185696009.2 1044373670:12992:372052
update ./rrd/185696009.2 1044373731:11468:373576
update ./rrd/185696009.2 1044373792:21856:363188
update ./rrd/185696009.2 1044373852:21856:363188
update ./rrd/185696009.2 1044373913:21856:363188

rrdtool graph /var/www/html/img/185696009.png --start 1044370348 --end \
     1044373948 --vertical-label "Memory" \
     --lower-limit "0" --upper-limit "400" \
     DEF:fr=./rrd/185696009.2:free:AVERAGE \
     DEF:us=./rrd/185696009.2:used:AVERAGE \
     AREA:us:#ff0000:"used" \
     STACK:fr:#0000ff:"free"


rrdtool fetch 185696009.2 AVERAGE --start 1044370348 --end 1044373948
                      used          free

1044370320: nan nan
1044370380: 4.0760000000e+04 3.4428400000e+05
1044370440: 4.1216000000e+04 3.4382800000e+05
1044370500: 4.1357333333e+04 3.4368666667e+05
1044370560: 4.0715000000e+04 3.4432900000e+05
1044370620: 4.0658400000e+04 3.4438560000e+05
1044370680: 4.0510400000e+04 3.4453360000e+05
1044370740: 4.0261600000e+04 3.4478240000e+05
1044370800: 3.9648533333e+04 3.4539546667e+05
1044370860: 3.9648533333e+04 3.4539546667e+05
1044370920: 3.7364000000e+04 3.4768000000e+05
1044370980: 3.8696800000e+04 3.4634720000e+05
1044371040: 3.7869866667e+04 3.4717413333e+05
1044371100: 3.6905666667e+04 3.4813833333e+05
1044371160: 3.8448333333e+04 3.4659566667e+05
1044371220: 3.8279200000e+04 3.4676480000e+05
1044371280: 3.8551400000e+04 3.4649260000e+05
1044371340: 3.8585066667e+04 3.4645893333e+05
1044371400: 3.8640666667e+04 3.4640333333e+05
1044371460: 3.8652000000e+04 3.4639200000e+05
1044371520: 3.8611266667e+04 3.4643273333e+05
1044371580: 3.8639866667e+04 3.4640413333e+05
1044371640: 3.8593333333e+04 3.4645066667e+05
1044371700: 3.8572000000e+04 3.4647200000e+05
1044371760: 3.8572000000e+04 3.4647200000e+05
1044371820: 3.8572000000e+04 3.4647200000e+05
1044371880: 3.4516000000e+04 3.5052800000e+05
1044371940: 3.1116000000e+04 3.5392800000e+05
1044372000: 3.0100400000e+04 3.5494360000e+05
1044372060: 2.9791733333e+04 3.5525226667e+05
1044372120: 2.9712000000e+04 3.5533200000e+05
1044372180: 2.9289600000e+04 3.5575440000e+05
1044372240: 2.6793666667e+04 3.5825033333e+05
1044372300: 2.4439666667e+04 3.6060433333e+05
1044372360: 2.3604666667e+04 3.6143933333e+05
1044372420: 2.3352800000e+04 3.6169120000e+05
1044372480: 2.6003600000e+04 3.5904040000e+05
1044372540: 2.8100000000e+04 3.5694400000e+05
1044372600: 2.7995333333e+04 3.5704866667e+05
1044372660: 2.7852000000e+04 3.5719200000e+05
1044372720: 2.7734000000e+04 3.5731000000e+05
1044372780: 2.8159266667e+04 3.5688473333e+05
1044372840: 2.8624666667e+04 3.5641933333e+05
1044372900: 2.8636000000e+04 3.5640800000e+05
1044372960: 2.8636000000e+04 3.5640800000e+05
1044373020: 2.8616066667e+04 3.5642793333e+05
1044373080: 2.8234933333e+04 3.5680906667e+05
1044373140: 2.7042600000e+04 3.5800140000e+05
1044373200: 2.0358200000e+04 3.6468580000e+05
1044373260: 9.5752000000e+03 3.7546880000e+05
1044373320: 1.6108466667e+04 3.6893553333e+05
1044373380: 1.9966133333e+04 3.6507786667e+05
1044373440: 5.7850000000e+03 3.7925900000e+05
1044373500: 6.0594666667e+03 3.7898453333e+05
1044373560: 1.0980866667e+04 3.7406313333e+05
1044373620: 2.0103533333e+04 3.6494046667e+05
1044373680: 1.2738000000e+04 3.7230600000e+05
1044373740: 1.3026200000e+04 3.7201780000e+05
1044373800: 2.1856000000e+04 3.6318800000e+05
1044373860: 2.1856000000e+04 3.6318800000e+05
1044373920: nan nan
1044373980: nan nan


-- 

-- 

Linux Engineer

Goodfellas Online B.V.
Postbus 5707             P: +31(0)76-5780900
4801 EC Breda            F: +31(0)76-5780909

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