<br /> Using MRTG to graph Exim stats – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters

These are important Debian sites one should not be without!

  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Debian Weekly News — excellent news source!
  • Unofficial APT sources:

  • Developers’ Corner
  • Community
    Need help? You’re not alone on this planet.

  • debianHELP
    (User support site)

  • Debian International
  • DebianForum.de

  • DebianForum.dk

  • EsDebian

  • DebianWorld

  • Debian-Fr

  • MaximumDebian

  • DebianUsers

  • Debian-BR
  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    General feedback should be sent to staff@debianplanet.org

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.oftc.net.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.


    DP is sponsored by Xinit Systems.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.


    Using MRTG to graph Exim stats
    Submitted by igloo on Saturday, January 12, 2002 – 09:32
    DebianI’ve been using MRTG to graph stats from Exim for a little more than a
    year now. People have asked how to set this up, and now
    I’ve written a little HOWTO and posted it on my site, but I must first say that I didn’t write the scripts myself. If my memory is correct, they were part of MRTG on potato, in an examples section; however I can’t find them now. I feel bad that I can’t thank and give credit to the person who created them. How I set it up can be found here in my HOWTO.
    Category: HOWTOs

    Control panel

    Comment viewing options:

    Select your prefered way to display the comments and click ‘Update settings’ to active your changes.

    Subject: Re: Using MRTG to graph Exim stats
    Author: Anonymous
    Date: Wednesday, 2002/01/16 – 20:41
    I am new to MRTG, but I thought it was very cool, so I just apt-get installed mrtg. And then i did not understand much, I cant make the makecfg-script to work, and I find the documentation hard.

    I have a simple Internet router (woody). Eth0 for local network and eth1 for Internet. Now – how do I set up mrtg to make a graph of Internet traffic on the Intranet?

    [ return ]


    Subject: Re: Using MRTG to graph Exim stats
    Author: Joy
    Date: Monday, 2002/01/21 – 13:27
    Install mrtgutils and put this in your /etc/mrtg.cfg:

    Target[yourhostname.eth0]: `/usr/bin/mrtg-ip-acct`
    Target[yourhostname.eth0]: 600
    YSize[yourhostname.eth0]: 180
    MaxBytes[yourhostname.eth0]: XXXXXX
    Title[yourhostname.eth0]: yourhostname: eth0
    PageTop[yourhostname.eth0]: Traffic Analysis for eth0
    Interface: eth0 via /proc/net/dev
    Max speed: X Mbit/s

    Fill in the Xs and yourhostname. Tune the other things to your liking according to the reference file (it’s somewhere in /usr/doc/mrtg).

    For web display, use mrtgindx.cgi from the mrtg-contrib package (this one has to be tweaked massively, sucks).

    Feel free to e-mail me if you’d like more examples.

    [ Please login, or register ]

    Search articles

    ·News (128)
    ·Features (1)
    ·Site News (8)
    ·HOWTOs (29)
    ·Tips (3)
    ·Opinion (11)
    ·Q & A (15)

    Log in


    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-221 mhonarc
    DSA-220 squirrelmail
    DSA-219 dhcpcd
    DSA-218 bugzilla
    DSA-217 typespeed
    DSA-216 fetchmail
    DSA-215 cyrus-imapd
    DSA-214 kdnetwork
    DSA-213 libpng
    DSA-212 mysql

    Latest poll: Favorite holiday pastime
    Various celebrations (IRL)
    Good food etc
    Frozen Bubble
    Moon Buggy
    Something else (comment…)
    Holidays? What holidays?

    home · archives · news feeds · about · polls · search · sections · user account

    Powered by the amazing Drupal

    Debian Planet is not officially related to the Debian Project.
    Debian and the Debian logo are trademarks of Software in the Public Interest, Inc.