If you have been seeing unexplained gaps in graphs or maybe whole datasets missing you should upgrade RRDTool.
rrdtool version 1.7.1 2 needs to be installed. The following steps are just an example. These worked in the Opmantek servers, but the commands may not be the same for various versions of Linux.
Step #1 - cat /etc/os-release
Step #2 - Download rrdtool version 1.7.1 2 from here:
https://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.2.tar.gz
http://archive.ubuntu.com/ubuntu/pool/main/r/rrdtool/rrdtool_1.7.2.orig.tar.gz
Step #2#3 - Remove old rrdtool
apt-get purge rrdtool
or
Step #3yum remove rrdtool
Step #4 - Compile and install rrdtool 1.7.12
put rrdtool-1.7.12.tar.gz in the /root directory.
where would you like to install RRD Tool? Some people prefer /opt/rrdtool, while others might want /usr/local/rrdtool
Install to /opt/rrdtool
Code Block |
---|
mkdir /opt/rrdtool cd /root tar -zxvf rrdtool-1.7.2.tar.gz cd rrdtool-1.7.2 ### Configure ./configure --enable-shared --prefix=/opt/rrdtool ### Compile make ### Install make install |
Install to /usr/local/rrdtool
Code Block |
---|
tar -zxvf rrdtool-1.7.2.tar.gz cd rrdtool-1.7.12 ### Configure ./configure --enable-shared --prefix=/usr/optlocal/rrdtool ### Compile (just from the prompt) make ### Install sudo make install |
Step #4#5 - Verification
root@deb8:~/rrdtool-1.7.1#2# /path/optto/rrdtool/bin/rrdtool --version
RRDtool 1.7.1 2 Copyright by Tobias Oetiker <tobi@oetiker<tobi@oetiker.ch>
Compiled OctMar 1718 20182021 1314:3929:3200
Step #5#6 - Point NMIS at new rrdtoolInstall the attached uselib.pm in /usr/local/nmis8/lib/NMIS
If you chose to use /opt/rrdtool, you will need to tell NMIS where it is, so
View file name uselib.pm height 250
Step #6 - Run fix perms
/usr/local/nmis8/admin/fixperms.pl