WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementMarch 12, 2010
server management, apache tutorials, hosting tutorials, cpanel, server security
Home / Hosting Tutorials / Ensim Tutorials / MRTG install guide for Ensim 3.7 (RHEL & Fedora)

MRTG install guide for Ensim 3.7 (RHEL & Fedora)



Printer Friendly Printer Friendly Send to a friend Send to a friend
By : ramprage Rating : Average Rating : 4.22 From 27 Voter(s)

What is the Multi Router Traffic Grapher (MRTG)?

The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network-links. MRTG generates HTML pages containing graphical images which provide a LIVE visual representation of this traffic. Check http://www.ee.ethz.ch/stats/mrtg/ for an example. MRTG is based on Perl and C and works under UNIX and Windows NT.

Cheetaweb has made the following packages available for MRTG integration on Ensim 3.7 servers.

Downloadables:

Fedora Core 1
http://www.download.cheetaweb.com/fedora/1/mrtg/mrtg-2.10.5-1.0.rhfc1.ct.i386.rpm

RH Enterprise Linux 3
http://www.download.cheetaweb.com/redhat/EL3/mrtg/mrtg-2.10.5-1.0.rhel3.ct.i386.rpm

Installing MRTG

Article provided by WebHostGear.com

Step 1. Login to your server through SSH and su - to the root user.

Step 2. Download it to your server
wget filename - replace this with whichever version of Linux link you are running above.

Step 3. Install the RPM
rpm -Uvh mrtg-2.10.5*.rpm

Running the MRTG application

Step 1. Restart the webserver - usually
/etc/init.d/httpd restart

Step 2. You will need to start mrtg via
/etc/init.d/mrtg start

Step 3. To set MRTG to autostart run: 
chkconfig mrtg on

Suggestions

By default the config only allows access from localhost - i.e. you can links http://localhost/mrtg/ from the server itself and it will work.

If you want to change this, you edit the /etc/httpd/conf.d/mrtg file - i.e.
nano /etc/httpd/conf.d/mrtg

and change the Allow line to include your one IP address; for example, if you want it to allow anyone across the world to access it (note that has information disclosure implications), you can set it to:

Deny from none
Allow from all

Common Errors

Errors on starting the MRTG monitor, what do I do?
Restart MRTG 3 times - trust me this will fix it!
/etc/init.d/mrtg restart - wait a few minutes before repeating each one.

I'm getting locales settings errors?
Edit the file: pico /etc/sysconfig/i18n

#LANG="en_US.UTF-8"
LANG="C /usr/bin/mrtg"

should be

LANG="en_US"

Save the changes Ctrl + X then Y

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.

Rate this Article :

1

2

3

4

5

6

7

8

9

10
Poor Excellent
Sources
cheetaweb.com

Related Articles


What is Reseller Hosting?
Disable Direct Root Logins
Common SSH Commands - Linux Shell Commands
How to install PRM (Process Resource Monitor)
How to install KISS Firewall


Discuss this article with others in our new hosting forums

Comments / Feedback

aja
its good

 Add Comment
Name
Email
Image Code
Refresh Image

Comments / Feedback



Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script

Server Tutorials


WebHostGear Reviewed by Ping Zine - Click here

Links:
Lunarpages Coupon