Page 2 of 2
Re: rrdcached errors: found extra data
Posted: Mon Oct 12, 2015 10:23 pm
by rajasegar
Box293 wrote:So everything looks OK.
Let's check the version of rrdtool:
rajasegar wrote:I noticed this in /var/log/messages, segfault for rrdcached but it started normally when I executed service rrdcached start. It is running
Just to double check, if you enable the RRD_DAEMON_OPTS in the /usr/local/nagios/etc/pnp/process_perfdata.cfg and restart the npcd service does the same problem occur?
I'm interested in seeing the logs output with RRD_DAEMON_OPTS enabled.
Code: Select all
[nagios@nagiosprodxi1 initkeys]$ rrdtool
RRDtool 1.3.8 Copyright 1997-2009 by Tobias Oetiker <[email protected]>
Compiled Feb 20 2014 11:59:48
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
You have new mail in /var/spool/mail/nagios
It was working fine for ages, it was just when I installed the script and its dependency and ran it , it stopped.
yum install perl-RRD-Simple -y could be the culprit.
Will try to send you the logs later.
Re: rrdcached errors: found extra data
Posted: Mon Oct 12, 2015 10:30 pm
by Box293
OK so it's reporting rrdtool 1.3.8 and it needs to be 1.4.4.
Following this document:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
For some reason rrdtool-1.4.4.tar.gz is not being downloaded/upgraded.
Line 114 in the xi-rrdcached.sh script is downloading this file:
wget
http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz
If for some reason the server cannot download this file, download it and transfer it to the XI server into the same directory as the xi-rrdcached.sh script. Comment out line 114 and then re-run the script and it should fix the problem.
Re: rrdcached errors: found extra data
Posted: Mon Oct 12, 2015 10:54 pm
by rajasegar
Box293 wrote:OK so it's reporting rrdtool 1.3.8 and it needs to be 1.4.4.
Following this document:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
For some reason rrdtool-1.4.4.tar.gz is not being downloaded/upgraded.
Line 114 in the xi-rrdcached.sh script is downloading this file:
wget
http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz
If for some reason the server cannot download this file, download it and transfer it to the XI server into the same directory as the xi-rrdcached.sh script. Comment out line 114 and then re-run the script and it should fix the problem.
Please escalate to have this script fixed
wget
http://assets.nagios.com/downloads/nagi ... dcached.sh
Problems
1) rrdtool-1.4.4.tar.gz is not a .gz file, it is actually a tar file
2) Line 143: tar -xzf rrdtool-1.4.4.tar.gz fails because it is expecting a gz file.
3) Line 145: directory /tmp/rrdtool-1.4.4 is hard coded so it fails when it is run from anywhere else.
Thanks.
It is working fine now.
Re: rrdcached errors: found extra data
Posted: Tue Oct 13, 2015 12:49 pm
by tmcdonald
I'll pass this along to QA and see what all else might need to be updated.
Other than that are we clear to close this?
Re: rrdcached errors: found extra data
Posted: Wed Oct 14, 2015 6:16 pm
by rajasegar
tmcdonald wrote:I'll pass this along to QA and see what all else might need to be updated.
Other than that are we clear to close this?
Thanks. Please close the case.