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 .
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.


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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux VM 6 101
awk file 6 79
number in printf 13 33
Setup Ubuntu 16.04 to use LDAP for user login and authentication 2 90
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

821 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