[mrtg] MRTG and RRD

Sean Cheesman scheesman at caeveo.com
Wed Jun 10 04:56:32 CEST 2009


With RRD enabled, MRTG doesn't generate graphs.  It strictly generates RRD log files.  You will need a RRD front end to generate graphs.

Sean
________________________________________
From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of Chris Henderson [henders254 at gmail.com]
Sent: Tuesday, June 09, 2009 10:13 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] MRTG and RRD

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.

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



More information about the mrtg mailing list