Re: RRD confusion



In article <42b766db$0$26758$afc38c87@xxxxxxxxxxxxxxxxxxxx>,
"Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx> wrote:

> "Stan Brown" <stanb@xxxxxxxxx> wrote in message
> > >Not sure if it's available on CPAN, but according to the FAQ for
> > >webminstats[*] on SF, you need rrdtool:
....
> > Mmm, that's the rrdtool libraries themselves. I;ve got them, thanks to
> > ports, but I need the perl module to use them. Or at leas that's what I
> > _think_.

Depending on how you installed rrdtool itself, you might/should already
have RRDs.pm - it just won't be in your PERL5LIB path. The perl modules
were installed as part of the rrdtool installation. On my system the
perl modules are in /usr/local/rrdtool/lib/perl:

dev:/usr/local/rrdtool/lib/perl $ ls
total 24
drwxr-xr-x 3 root root 4096 Oct 10 2004 .
drwxr-xr-x 3 root root 4096 Oct 10 2004 ..
-rw-r--r-- 1 root root 4514 Oct 10 2004 RRDp.pm
-rw-r--r-- 1 root root 3514 Oct 10 2004 RRDs.pm
drwxr-xr-x 3 root root 4096 Oct 10 2004 auto


e.g. if I run this command:

$ PERL5LIB=/usr/local/rrdtool/lib/perl perldoc RRDs

I get the docs. If you want to use the module you can of course alter
PERL5LIB, "use lib", etc. according to taste.

P

--
pkent 77 at yahoo dot, er... what's the last bit, oh yes, com
Remove the tea to reply
.