Child pages
  • NMIS Showing Gaps in Graphs - Upgrade RRDTOOL
Skip to end of metadata
Go to start of metadata

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

rrdtool version 1.7.1 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 - Download rrdtool version 1.7.1 from here:
https://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.2.tar.gz

Step #2 - Remove old rrdtool

apt-get purge rrdtool

or

yum remove rrdtool

Step #3 - Compile and install rrdtool 1.7.2

put rrdtool-1.7.1.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
make
 
### Install
sudo make install

Step #4 - Verification 

root@deb8:~/rrdtool-1.7.1# /path/to/rrdtool/bin/rrdtool --version
RRDtool 1.7.1  Copyright by Tobias Oetiker <tobi@oetiker.ch>
               Compiled Oct 17 2018 13:39:32

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

uselib.pm

Step #6 - Run fix perms

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

  • No labels