rrdcached errors: found extra data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: rrdcached errors: found extra data

Post by rajasegar »

Box293 wrote:So everything looks OK.

Let's check the version of rrdtool:

Code: Select all

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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: rrdcached errors: found extra data

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: rrdcached errors: found extra data

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: rrdcached errors: found extra data

Post 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?
Former Nagios employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: rrdcached errors: found extra data

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked