In the Mrtg tutorial, install the network traffic statistical analysis tool MRTG.

Source: Internet
Author: User
Tags mrtg

Network traffic is an important indicator for network administrators. Observe the traffic to learn the newest symptoms of the network. Here is the Mrtg tutorial for installing the network traffic statistical analysis tool MRTG.

Mrtg tutorial By SeeLinux

Installing network traffic statistical analysis tool MRTG in FreeBSD-4.7
Original URL: http://www.webrj.com/read.php? Id = 323
MRTG (MultiRouter Traffic Grapher, router), available from http://people.ee.ethz.ch /~ Oetiker/webtools/mrtg/pub/mrtg-2.9.25.tar.gz (get ).

Practice Notes organized by seelinux in, Email: seelinux@webrj.com URL: www.webrj.com
System Environment: FreeBSD-4.7 mini, hostname is (. com)

Install the software required by the network traffic statistical analysis tool MRTG under the FreeBSD-4.7:
Mrtg-2.9.25.tar.gz http://people.ee.ethz.ch /~ Oetiker/webtools/mrtg/pub/mrtg-2.9.25.tar.gz zlib-1.1.4.tar.gz http://www.gzip.org/zlib/zlib-1.1.4.tar.gz libpng-1.2.5.tar.gz http://www.gzip.org/zlib/zlib-1.1.4.tar.gz gd-1.8.3.tar.gz

Create a new/usr/local/src directory and put the relevant files in some directories. Of course, you can place them in their locations to see your hobbies ^. ^
# Mkdir-p/usr/local/src
# Cd/usr/local/src

1. Set zlib in Mrtg tutorial
# Tar zxvf zlib-1.1.4.tar.gz
# Mv zlib-1.1.4 zlib
# Cd zlib
#./Configure
# Make
# Cd ..

2. Set zlib in Mrtg tutorial
# Tar zxvf libpng-1.2.5.tar.gz
# Music libpng-1.2.5 libpng
# Cd libpng
# Make-f scripts/makefile. std CC = gcc ZLIBLIB = ../zlib ZLIBINC = ../zlib
# Cd ..

3. Set gd in Mrtg tutorial
# Tar zxvf gd-1.8.3.tar.gz
# Mv gd-1.8.3 gd
# Cd gd
# Make INCLUDEDIRS = "-I.-I ../zlib-I ../libpng"
LIBDIRS = "-L ../zlib-L.-L ../libpng"
LIBS = "-lgd-lpng-lz-lm"
# Cd ..

4. Install Mrtg in the mrtg tutorial
# Tar zxvf mrtg-2.9.25.tar.gz
# Cd mrtg-2.9.25
#./Configure -- prefix =/usr/local/mrtg-2
-- With-gd =/usr/local/src/gd
-- With-z =/usr/local/src/zlib
-- With-png =/usr/local/src/libpng
# Make
# Make install

The MRTG-related installation is complete. For details about APACHE and MRTG () usage, refer to their articles or www.linuxaid.com, www.linuxcn.org, www.webrj.com, www.linuxforum.net ..

This article from: huajun sky Software Park (www.m888888.com) Detailed reference: http://www.m888888.com/dirss/html/179977.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.