[mrtg] Trouble getting mrtg to use RRD

Patrick Bartkus patrckb at hotmail.com
Wed Aug 30 17:26:24 MEST 2000


This is a new install.

I downloaded all the packages (gd, zlib, libnpg, mrtg, rrd-tool) and got 
them to compile and install successfully.

I got mrtg to poll without the RRD integration.

When I add the three lines:

LogFormat: rrdtool
PathAdd: /usr/local/rrdtool-1.0.25/bin/
LibAdd: /usr/local/rrdtool-1.0.25/lib/perl/

and then try to run mrtg, I get the following error:
$ /usr/local/mrtg-2/bin/mrtg $HTDOCS/mrtg/mrtg.cfg
Can't locate loadable object for module RRDs in @INC (@INC contains: 
/usr/local/rrdtool-1.0.25/lib/perl/ /
usr/local/mrtg-2/bin/../lib/mrtg2 /usr/local/mrtg-2/bin 
/files0/perl5.005/lib/5.00503/sun4-solaris /files0
/perl5.005/lib/5.00503 /files0/perl5.005/lib/site_perl/5.005/sun4-solaris 
/files0/perl5.005/lib/site_perl/
5.005 .) at /usr/local/mrtg-2/bin/mrtg line 127

but ls -l of /usr/local/rrdtool-1.0.25/lib/perl/ shows:
-rw-r--r--   1 spectrum spectrum    4514 Aug 30 10:51 RRDp.pm
-rw-r--r--   1 spectrum spectrum    2809 Aug 30 10:51 RRDs.pm
drwxr-xr-x   3 spectrum spectrum     512 Aug 29 16:22 auto

What is missing?

Could I be missing DynaLoader? What is that and where should it be?

Patrick
---
Patrick Bartkus, CCNP Certified	Sr. Network Support Analyst
Fleet Mortgage Group		    Columbia, SC
If truth was not absolute, how could there be justice?

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list