Thursday, March 09, 2006

RRD Tool Reference

Before installing rrdtool you must installthe following module

1. Time:HiRes
2. File-Tail
3. freetype
4. libart_lgpl

Now all the libraries are set go to RRD home page and follow the instruction how to install the rrdtool applicaion in the rrd build page.
note: if you get an error on libart and freetype module not found. edit the 'configure' in the rrdtool dir and put the ff.
eg. CPPFLAGS="$CPPFLAGS -I/usr/include/libart-2.0must be: CPPFLAGS="$CPPFLAGS -I/usr/local/include/libart-2.0
same also in freetype
eg.CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2must be: CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2
In the mailgraph.pl script just the following command line
eg: use lib qw(/usr/local/rrdtool-1.2.12/lib/perl ../lib/perl );
Same also in the mailgraph.cgi
eg: use lib qw(/usr/local/rrdtool-1.2.12/lib/perl ../lib/perl );
optional:looks like it cant find the perl module RRDs.pm try looking on the box for it with this commandline:
find / -name RRDs.pm

0 Comments:

Post a Comment

<< Home