Help on MRTG

Posted on 2003-11-07
Last Modified: 2010-04-21
I have a RedHat 9.0 server, and I want to monitor it's traffic.

I know that I can use MRTG for this. But I have some questions :

1. Should I install SNMP ?

2. Is there any good guide for configuring MRTG to monitor ethernet traffic in a server ?

I am not an experienced linux admin :)

Question by:klompen
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Accepted Solution

brabard earned 20 total points
ID: 9706513
1. May be yes , may be not , in relation to your topologie . First  fix what type of traffic you want to monitor , all in/out , by specific ports , servers , etc . Second - where mrtg have to be placed - on the server , on other machine in the same network , on gateway machine , etc.
2. The best guide is comming with mrtg packet , but also you can access specific solutions in all the serios forums and mailing lists .

Assisted Solution

dandanio earned 20 total points
ID: 9722709
MRTG can monitor any SNMP device, so it's your choice if you want to install SNMP on the device to be monitored! OF COURSE YOU NEED TO! THen it's a piece of cake. There are plenty of different mrtg tutorials. I usually go by this one:

Thanks and I hope this helps!


Expert Comment

ID: 9722762
Let me not agree , dandanio , mrtg is a toll to display monitoring information , not an smnp tool .
You can use it to monitor devices that not accept snmp requests at all .
Three Considerations for Containers

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read our article on Experts Exchange.


Expert Comment

ID: 9723006
Let's clear that:

The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network links. MRTG generates HTML pages containing PNG images which provide a LIVE visual representation of this traffic.
Portable SNMP

MRTG Uses a highly portable SNMP implementation written entirely in Perl (thanks to Simon Leinen). There is no need to install any external SNMP package.
Devices monitored with MRTG
Note that MRTG works with virtually all SNMP capable devices ... The Gear below are just samples.
In your opinion are there any other ways to query the router on how much data it passes?!? Or a switch? They MUST be SNMP enabled devices!

Expert Comment

ID: 9723861
If you take a labour to read the original question , you'll see :
"I have a RedHat 9.0 server, and I want to monitor it's traffic."

What routers/switches ? We are talking about servers ....


Expert Comment

ID: 9724330
Fine. If you focus on other solutions than MRTG you have iptraf, ntop, etc...
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10301813
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between brabard and dandanio
Please leave any comments here within the next four days.


EE Cleanup Volunteer

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question