[mrtg] Re: mrtg and CIPE

Michael Nuss nmx at fromtheshadows.net
Sat Sep 11 00:11:58 MEST 2004


Alex van den Bogaerdt wrote:

>On Fri, Sep 10, 2004 at 05:00:38PM -0400, Michael Nuss wrote:
>
>
>>>Even if the interface is detected as operationally down, it should be added
>>>to the config file.  You can edit the config and un-comment (remove the #'s)
>>>the entries that you want.  You'll probably have to enter a sensible
>>>maxbytes[target]: for each entry though because is will probably read 0
>>>meaning that no data will be logged.
>>>
>>Actually, I did uncomment them and set maxbytes to 12500000 (the same as 
>>the ethernet interface), but in all the graphs they're showing zero traffic.
>>
>
>snmpread the ifInOctet and ifOutOctet counters.  If they remain zero, there's
>nothing MRTG can do to change that.
>
>Ask a suitable mailing list or newsgroup about the subject.  IOW, you need
>to find a place with knowledge about CIPE.  This is the place with knowledge
>about MRTG.
>
>Alex
>
$ snmpwalk -v 1 vpn -c public ifInOctet
IF-MIB::ifInOctets.1 = Counter32: 242508
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 496155680
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 640414840

$ snmpwalk -v 1 vpn -c public ifOutOctet
IF-MIB::ifOutOctets.1 = Counter32: 242508
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 284662585
IF-MIB::ifOutOctets.4 = Counter32: 240
IF-MIB::ifOutOctets.5 = Counter32: 4176
IF-MIB::ifOutOctets.6 = Counter32: 3082726192

Looks right to me. 4 and 5 aren't really being used right now so a count 
of zero does make sense for those, but 6 is definitely in use. If I run 
the commands again, the counts increase.

Mike Nuss

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