[mrtg] Re: Monitoring interfaces

Ashley M. Kirchner ashley at pcraft.com
Mon Oct 23 23:46:46 MEST 2000


Jeremiah wrote:

> The box in question is a RH Lin(s)ux 6.0 system and has
> addresses assigned to specific interfaces with the standard eth0:1,
> eth0:2, ... method.  Each interface, of course, refers to a different
> vhost.  I'm wanting to monitor each vhost's/interfaces bandwidth usage but
> am needing some insight.

    Good God.  Welcome to the snake pit.

    Um, um, um.  There are ways, I will admit that.  But, whether it
    can be configured with snmp, I don't know (although it wouldn't
    surprise me if someone knows how).

    However, there are also accounting rules that you could try and
    setup for each individual "interface" and gather your data.

    I have personally also been wanting to do this and try out
    different methods, but I haven't had the time, resources nor will
    power to dive into this (though I have to real soon here).

    Right now I'm thinking of three possible methods:
    - snmp (IF it can be configured on v-dev's (virtual devices), and
      this is what I'm not sure off)
    - accounting rules (which is probably easier than snmp)
    - Good old perl/sh/whatever script to capture some (or all) if
      what stuff like 'ifconfig' gives per device.

    If anyone else has an idea, or suggestion, I'm willing to entertain
    it, and possible test it out on my new server.

    (with that said, I'm also going to revamp what's on
http://mrtg.yeehaw.net, the info sheets rewritten with better (?)
explanations  add a small FAQ section, do other service breakdowns and
explanations of other possible methods of doing things.  and maybe, just
maybe, one day switch to rrdtool (oh what a dream) <grin>)

    AMK4

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |____________________________________________________________________
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  SysAdmin / Websmith                           .     800.441.3873 x130
  Photo Craft Laboratories, Inc.             .        eFax 248.671.0909
  http://www.pcraft.com                  .         3550 Arapahoe Ave #6
  .................. .  .  .     .               Boulder, CO 80303, USA



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list