xi and rrdcached v1.4.9

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
spatterson30
Posts: 3
Joined: Tue Sep 03, 2019 1:30 pm

xi and rrdcached v1.4.9

Post 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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: xi and rrdcached v1.4.9

Post 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
spatterson30
Posts: 3
Joined: Tue Sep 03, 2019 1:30 pm

Re: xi and rrdcached v1.4.9

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: xi and rrdcached v1.4.9

Post 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
spatterson30
Posts: 3
Joined: Tue Sep 03, 2019 1:30 pm

Re: xi and rrdcached v1.4.9

Post 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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: xi and rrdcached v1.4.9

Post 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.