[rrd-developers] Display Graph - RRDTool and Perl

ManishRoy roymanish1982 at gmail.com
Tue Jun 17 06:41:53 CEST 2008


I am new bee  in RRD. i am trying to create a graph. 
my code is:

Create RRD File


use RRDs;

# Create Database

$db = "/tmp/RRDDemo/RRDData.rrd";

print "--------------- DB Created Start \n ";


print RRDs::error();

print "\n--------------- DB Ends Start ";

Update RRD


use RRDs;

# Update Database

$db = "/tmp/RRDDemo/RRDData.rrd";

print "--------- DB UpdationStarts-------\n";

$value1= $value + 10;

print RRDs::error(),"\n";

print "--------- DB UpdationStarts-------";

Create Graph

use RRDs;

# Graph Creation

$time =  1213621589-100;
$time1=  time();
	"--title=In-Out Data",
	"LINE1:b#ff0000:Max Incoming",
print RRDs::error();

I am not able to generate graph .

Can anly one plz hel me out

View this message in context: http://www.nabble.com/Display-Graph---RRDTool-and-Perl-tp17878015p17878015.html
Sent from the RRDTool - Dev mailing list archive at Nabble.com.

More information about the rrd-developers mailing list