Page 1 of 1

Using rrdcached

Posted: Fri Oct 26, 2012 12:54 pm
by dmanem
Hello,

I have been trying to improve the performance of Nagios XI by using rrdcached. The document that explains how to set this up states " add the LibAdd directive to the mrtg.cfg, amongst the other directives. Please note that this is time you should apply the LIBDIR given by the rrdtool ./configure command in place of $LIBDIR in this example command:
LibAdd $LIBDIR"

This is the end of the configure script and I am not sure where the LIBDIR is. Should I add the libraries in the mrtg.cfg?

Thank you,

Re: Using rrdcached

Posted: Fri Oct 26, 2012 1:50 pm
by agriffin
Can you run the configure command again and post the output here? That should tell us what value you need to set it as.

Code: Select all

./configure --bindir=/usr/bin

Re: Using rrdcached

Posted: Fri Oct 26, 2012 2:05 pm
by dmanem
Here is the log file.

Thank you.

Re: Using rrdcached

Posted: Fri Oct 26, 2012 2:09 pm
by agriffin
Okay, then you should use this line in mrtg.cfg:

Code: Select all

LibAdd /opt/rrdtool-1.4.4/lib/perl/5.10.1

Re: Using rrdcached

Posted: Fri Oct 26, 2012 3:05 pm
by slansing
The documentation is now updated to reflect this as well.

Re: Using rrdcached

Posted: Fri Oct 26, 2012 3:34 pm
by dmanem
Thank you.

Re: Using rrdcached

Posted: Fri Oct 26, 2012 3:46 pm
by dmanem
This is probably not a biggie but you left out a / after Perl in the document. Thanks for updating the document, now dummies like me can pick up quickly. I am not sure how I missed that LIB even though it was right at the end.

Thank you.