[rrd-users] Working with RRD and WWW-Server

Cesare Tensi ctensi at wind.it
Thu Dec 9 15:06:55 MET 1999



Hi folks,

I'm set-up a little perl-script that take input throught a web-form and make a
gif. The RRD database is located in one directory (f.e. "/opt/RRD/Database"),
the RRD was installed on "/opt/RRD/") and the gif is written in "/opt/RRD/gif".

This is an extract from the script:

my ($graphret,$xs,$ys) = RRDs::graph "/opt/RRD/test1.gif", "${target}.rrd",
           "--title", 'Test GRAPH',
           "--start", ${time_start},
           "--end",   ${time_end},
           "DEF:usr=${target}.rrd:usr:AVERAGE",
           "LINE1:usr#00cc00";
my $ERR=RRDs::error;
die "PIPPE $ERR\n" if $ERR;


But seems that doesn't work properly, because the gif is not created... Is
possibile to launch the RRD with databases located in different location (e.g.
directory)?

Cesare

========================
Network N/SD-OSS
Wind Telecomunicazioni S.p.A.
Via C.G. Viola, 48
I-00148 Rome (Italy)
Tel:   +39 06 8311.3782
Fax:  +39 06 8311.3626
Mobile: +39 329 62.61.620
E-Mail: cesare.tensi at wind.it
====================


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