I have raised an issue with this installation script before, and it is still not fixed.
http://assets.nagios.com/downloads/nagi ... dcached.sh
https://support.nagios.com/forum/viewto ... ed#p156885
Please fix this, it is a very simple change.
Thanks.
rrdcached installation script issue
rrdcached installation script issue
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: rrdcached installation script issue
Our developers uploaded the updated script. It may take 10-15 min to sync. Thanks!Please fix this, it is a very simple change.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: rrdcached installation script issue
I just tested this and it's working as expected on mine, I don't see any of the issues that you've listed in the previous forum post:
- No hard code /tmp path
- wget and tar zxf works as expected
Can you run a diff on the file you're running and the one that you linked to and see if there any differences?
Thank you
- No hard code /tmp path
- wget and tar zxf works as expected
Can you run a diff on the file you're running and the one that you linked to and see if there any differences?
Thank you
Re: rrdcached installation script issue
The main problem seems to be that the tar.gz file downloaded is actually a tar file and the extraction command fails.ssax wrote:I just tested this and it's working as expected on mine, I don't see any of the issues that you've listed in the previous forum post:
- No hard code /tmp path
- wget and tar zxf works as expected
Can you run a diff on the file you're running and the one that you linked to and see if there any differences?
Thank you
The path /tmp was definitively hard coded when I downloaded it 2 days ago.
I overwritten the file with my update, see comments below
Code: Select all
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz
tar -xvf rrdtool-1.4.4.tar.gz // I changed this line and removed the z
(
cd ./rrdtool-1.4.4 // this line also, it was cd /tmp/rrdtool-1.4.4
# Use sed to pass output through but write the value of LIB to $TMPFILE
./configure --bindir=/usr/bin | sed '
/^\s*Perl Options: PREFIX=.* LIB=/ {
p
s///w '"$TMPFILE"'
d
}'
make clean
make install
)
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: rrdcached installation script issue
Looking at the code, it seems to be updated now. I confirmed that the .tar.gz is extracted correctly -
Am I missing anything at all, or are we good to close this thread?
Code: Select all
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz
tar -xzf rrdtool-1.4.4.tar.gz
(
cd rrdtool-1.4.4
Former Nagios Employee
Re: rrdcached installation script issue
rkennedy wrote:Looking at the code, it seems to be updated now. I confirmed that the .tar.gz is extracted correctly -Am I missing anything at all, or are we good to close this thread?Code: Select all
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz tar -xzf rrdtool-1.4.4.tar.gz ( cd rrdtool-1.4.4
Ok. PLease close this case.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation