[mrtg] Re: Linux Aliased Ethernet Traffic Graphing

Greg.Volk at edwardjones.com Greg.Volk at edwardjones.com
Mon Aug 19 15:00:05 MEST 2002


}
}I am attempting to log separately (if at all) transfer usage on a
}per-aliased basis.  That is, eth0, eth0:1, eth0:2, eth0:3, 
}etc.  I seem to
}be able to log eth0 without a problem, my concern is that this 
}is not also
}logging the aliased links (up to eth0:8).
}
}If it is, is there a way to also split them on a per-alias graph basis
}only?
}

I can't say I've tried to chart aliased interfaces on a linux box,
but I think it should work. Try the following:
snmpwalk localhost <commsting> 

You should see something like:

interfaces.ifTable.ifEntry.ifIndex.1 = 1
interfaces.ifTable.ifEntry.ifIndex.2 = 2
interfaces.ifTable.ifEntry.ifDescr.1 = lo
interfaces.ifTable.ifEntry.ifDescr.2 = eth0
interfaces.ifTable.ifEntry.ifType.1 = softwareLoopback(24)
interfaces.ifTable.ifEntry.ifType.2 = ethernetCsmacd(6)
interfaces.ifTable.ifEntry.ifMtu.1 = 16436
interfaces.ifTable.ifEntry.ifMtu.2 = 1500
interfaces.ifTable.ifEntry.ifSpeed.1 = Gauge32: 10000000
interfaces.ifTable.ifEntry.ifSpeed.2 = Gauge32: 10000000


Where I have interfaces .1 (lo) and .2(eth0) you should see
.1(lo) - .10(eth0:8) or something like that. As long as there is
an entry for each interface, cfgmaker should pick them up. 
If you don't see that you may need to take a look at your 
snmpd.conf file - it might need to be modified, I'm not sure 
tho, I haven't tried polling alias'ed interfaces.


-- Attached file removed by Listar and put at URL below --
-- Type: application/ms-tnef
-- Size: 2k (2406 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/10-WINMAIL.DAT


--
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