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 .
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

752 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