[mrtg] MRTG and RRD

Chris Henderson henders254 at gmail.com
Wed Jun 10 04:13:14 CEST 2009


I'm trying to get RRD graphs for my router. I am not sure whether I'm doing
it right because the graphs look like they used to be before.

I read http://oss.oetiker.ch/mrtg/doc/mrtg-rrd.en.html
and edited router.cfg file and added

PathAdd: /usr/bin/ - the path for rrdtool binary

If I add LibAdd: /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi/
- (the path for the RRDs.pm) I get warning "WARN: found several copies of
RRDs.pm in your path:
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi/,
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi I will be using
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi/. This could be a
problem if this is an old copy and you think I would be using a newer one!"
- I only have one copy of RRDs.pm file in the entire system - not sure why I
was getting this error so I commented out the "LibAdd:
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi/" from my
router.cfg file.

I ran /usr/bin/mrtg /etc/mrtg/router.cfg --logging /var/log/router.log
and I can see some RRD files in /var/httpd/mrtg/router directory.

But when I go to www.company.tld/mrtg/router.html I see no difference in the
graphs.



More information about the mrtg mailing list