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
  • 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 .
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.


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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 56
Access_log 17 121
nagios remote hosts 9 56
Reset Root Password on CentOS 6 4 55
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.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

810 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