[mrtg] Re: subinterfaces in MRTG
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Mon Mar 19 23:42:39 MET 2001
Ritch McGreevy wrote:
> I have ran into an interesting dilemma. I added a sub-interface on
> our router and went to monitor it via MRTG. I know that there was no
> traffic on this subinterface yet it shows 1.8mb traffic avg out. Is
> monitoring subinterfaces a viable option in MRTG? If not, has anyone found
> a workaround short of installing SNMP on each machine on the sub-interfaces?
> Any help would be appreciated.
MRTG can monitor what is available. The device, or rather the snmp
service running on it, is responsible for delivering the data.
If your device returns correct counters for the sub-interface then
MRTG can monitor that sub-interface. If OTOH the device returns wrong
data (for instance: same as the parent interface) you cannot blame MRTG
or change MRTG to compensate.
What you *can* do is find other means of getting that data. Sometimes
it helps to query the device from the command prompt (and thus you need
a script to query it), sometimes you can reconfigure the device, another
approach (for instance on linux) is to create access lists which allow
anything and keep counters on what is allowed.
As long as MRTG gets the numbers (see external program interface) it
can graph the data.
cheers,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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