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!
xi and rrdcached v1.4.9
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: xi and rrdcached v1.4.9
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)
EDIT: Include the output of this as well:
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
Code: Select all
rpm -qa |grep -i rrd
-
- Posts: 3
- Joined: Tue Sep 03, 2019 1:30 pm
Re: xi and rrdcached v1.4.9
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.
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.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: xi and rrdcached v1.4.9
Take a VM snapshot (if a VM)/xi backup first just in case.
Then try this:
If that fails, you should be able to just do this again to install the old version:
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
Code: Select all
rm -rf xi-rrdcached.sh
wget https://assets.nagios.com/downloads/nagiosxi/scripts/xi-rrdcached.sh
bash xi-rrdcached.sh
-
- Posts: 3
- Joined: Tue Sep 03, 2019 1:30 pm
Re: xi and rrdcached v1.4.9
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!
Thank You!
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: xi and rrdcached v1.4.9
That's great to hear, glad to help! Let us know when we're okay to lock this up and mark it as resolved.