Skip to end of banner
Go to start of banner

NMIS Showing Gaps in Graphs - Upgrade RRDTOOL

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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 - Download rrdtool version 1.7.2 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.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
make
 
### Install
sudo make install

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

Step #6 - Run fix perms

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

  • No labels