[mrtg] integrating rrdtool with MRTG on Solaris 10

anjini shukla anjinishukla at gmail.com
Fri Sep 5 00:40:33 CEST 2008


Hello Steve,

Yes, I did this to begin with:
I added these lines to my mrtg.cfg

*PathAdd: /usr/local/rrdtool-1.2.19/bin
LibAdd: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/
LogFormat: rrdtool*

and got the error::
Can't locate loadable object for module RRDs in @INC (@INC contains:
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/
/usr/local/mrtg-2/bin/../lib/mrtg2 /usr/local/mrtg-2/bin
/usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
/usr/local/mrtg-2/bin/mrtg line 342
Compilation failed in require at /usr/local/mrtg-2/bin/mrtg line 342

i have read a thread<http://www.mail-archive.com/rrd-users@lists.oetiker.ch/msg13513.html>on
this issue, but the solution of copying all RRDs. RRDp ...... is not
convincing to me.

I tried to reinstall rrd from a tar ball, but make gives me an error:
*/usr/ucb/cc:  language optional software package not installed
*** Error code 1*

which gcc: /usr/local/bin/gcc
which cc: /usr/ucb/cc
echo $PATH:
/bin:/usr/bin:/usr/sbin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/ucb

I have all the library packages installed, and just want to get this thing
working..:|


Thanks,
Anjini


On Thu, Sep 4, 2008 at 2:40 PM, Steve Shipway <s.shipway at auckland.ac.nz>wrote:

>  You should download and install the following packages from
> sunfreeware.com :
>
>
>
> rrdtool-1.2.19
>
> libart_lgpl
>
> zlib
>
> libpng
>
> freetype
>
> libgcc-3.4.6 OR gcc-3.4.6 (if not already installed)
>
>
>
> This gives you the RRDtool binary and libraries, but the Perl library which
> you require for MRTG is in the application path, not the site_perl path.
> Therefore, you will need to use
>
>
>
> LibAdd: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7
>
> LibAdd: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris
>
>
>
> in your MRTG configuration files to specify how to access it (and in the
> routers2.conf , if you use routers2 as your frontend).  This is the default
> install location from the sunfreeware package; if you have changed it then
> change the directive appropriately.
>
>
>
> Steve
>
>
>
>
>   ------------------------------
>
> *From:* mrtg-bounces at lists.oetiker.ch [mailto:
> mrtg-bounces at lists.oetiker.ch] *On Behalf Of *anjini shukla
>
> **
>
> I am trying to install rrd tool on my Solaris 10 machine.
> I tried installing from the sunfreeware website, installation goes fine and
> i was able to use commands like  create, update and get a speed.png
> I try to integrate my working MRTG with RRD, but I am not able to execute
> the command: ppm install rrds.ppd
> because there is no rrds.ppd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080904/73a3e99f/attachment.html 


More information about the mrtg mailing list