NMIS Showing Gaps in Graphs - Upgrade RRDTOOL

If you have been seeing unexplained gaps in graphs or maybe whole datasets missing you should upgrade RRDTool.

rrdtool version 1.7.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.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 #3 - Remove old rrdtool

apt-get purge rrdtool

or

yum remove rrdtool

Step #4 - Compile and install rrdtool 1.7.2

put rrdtool-1.7.2.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

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

tar -zxvf rrdtool-1.7.2.tar.gz 
 
cd rrdtool-1.7.2
 
### Configure
./configure --enable-shared --prefix=/usr/local/rrdtool
 
### Compile (just from the prompt)
make
 
### Install
sudo make install

Step #5 - Verification 

root@deb8:~/rrdtool-1.7.2# /path/to/rrdtool/bin/rrdtool --version
RRDtool 1.7.2 Copyright by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mar 18 2021 14:29:00

Step #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 

Step #6 - Run fix perms

/usr/local/nmis8/admin/fixperms.pl