Page 1 of 1

XI and rrdcached v1.4.9

Posted: Tue Nov 03, 2020 10:23 am
by spatterson30
Greetings,

We have XI version 5.6.14 installed and we are looking to apply the rrdcached performance enhancement that is recommended.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Is there a manual installation process documented anywhere? Our servers already have rrdcached version 1.4.9 installed and the script provided in the link above uses version 1.4.4. Can rrdcached version 1.4.9 be manually configured and is it compatible with our version of Nagios?

Thank You!

Re: XI and rrdcached v1.4.9

Posted: Tue Nov 03, 2020 5:35 pm
by ssax
There isn't a manual process documented at this time.

If you run this command, what version is listed? (it will say invalid argument but will show the version at the top)

Code: Select all

rrdcached --version
EDIT: Include the output of this as well:

Code: Select all

rpm -qa |grep -i rrd

Re: XI and rrdcached v1.4.9

Posted: Wed Nov 04, 2020 8:31 am
by spatterson30
The "rrdcached --version" doesn't seem to be a valid command. Its trying to use the second "-" and every letter after that as a command option. Using just a single "-" doesn't work either. I looked at the man page for rrdcached and didn't see a version option. However the error does say 1.4.4.

rrdcached: invalid option -- '-'
RRDCacheD 1.4.4
Copyright (C) 2008,2009 Florian octo Forster and Kevin Brintnall

Usage: rrdcached [options]
Valid options are:

Here is the requested output from the other command.
root@hpnxivlc106:~ # rpm -qa |grep -i rrd
rrdtool-python-1.4.9-1.el7.x86_64
rrdtool-1.4.9-1.el7.x86_64
root@hpnxivlc106:~ #

We tried installing version 1.4.4 from the provided script before realizing that rrdcached was already installed with rpm.

Re: XI and rrdcached v1.4.9

Posted: Wed Nov 04, 2020 6:45 pm
by ssax
Take a VM snapshot (if a VM)/XI backup first just in case.

Then try this:

Code: Select all

rm -rf xi-rrdcached.sh
wget https://assets.nagios.com/downloads/nagiosxi/scripts/xi-rrdcached.sh
sed -i 's/1.4.4/1.4.9/g' xi-rrdcached.sh
sed -i 's/\/configure/\/configure --disable-libwrap/g' xi-rrdcached.sh
bash xi-rrdcached.sh
If that fails, you should be able to just do this again to install the old version:

Code: Select all

rm -rf xi-rrdcached.sh
wget https://assets.nagios.com/downloads/nagiosxi/scripts/xi-rrdcached.sh
bash xi-rrdcached.sh

Re: XI and rrdcached v1.4.9

Posted: Thu Nov 05, 2020 4:06 pm
by spatterson30
That seemed to work. I went through the installation verification steps and everything is running and using rrdcached v1.4.9. I appreciate your help ssax. I'll post again if anything comes up.

Thank You!

Re: XI and rrdcached v1.4.9

Posted: Thu Nov 05, 2020 4:15 pm
by ssax
That's great to hear, glad to help! Let us know when we're okay to lock this up and mark it as resolved.