How to install MRTG (multi router traffic grapher)
Here’s steps to install Multi Router Traffic Grapher
MRTG is a kind of tool that let you get data from SNMP.
What you have to prepare before installing MRTG:
1. gd …a graphic library
2. libpng …library needed by GD
3. zlib …library to compress data that is needed by libpng
—————————————–
First, we will install zlib, you could get the file from http://www.gzip.org/zlib/
Download the zlib package.
extract the tarball
# tar xzvf zlib-1.2.2.tar.gz
change the directory name
# mv zlib-1.2.4 zlib
Enter to directory that has just created
# cd zlib
# ./configure
compile the source
# make
install the binary
# make install
—————————-
Now, install libpng…http://www.libpng.org
Download the libpng ..
# tar zxvf libpng-1.2.5.tar.gz
Change the directory name
# mv libpng-1.2.5 libpng
Enter to the directory
# cd libpng
Copy the makefile.std script from scripts directory and rename it
# cp scripts/makefile.std makefile
install the binary
# make
#make install
Tags: mrtg, multi router traffic grapher