Re: MRTG not draw outbound traffic

Daniel McDonald <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <CD47A9FC.5C3AA%[email protected]>


On 2/18/13 7:48 AM, "Victor Guk" <[email protected]> wrote:

>    Hi,
>  Config:
>  
>  WorkDir: /srv/www/mrtg
>  Options[_]: bits,growright
>  EnableIPv6: no
>   
>  test:/etc/mrtg # snmpget -c public -v 2c xxxxxxxxxxxx IF-MIB::ifInOctets.8
>  IF-MIB::ifInOctets.8 = Counter32: 295138047
>  
>  test:/etc/mrtg # snmpget -c public -v 2c xxxxxxxxxxxx IF-MIB::ifOutOctets.8
>  IF-MIB::ifOutOctets.8 = Counter32: 102886

Your config doesn't show snmp version 2.  It's sanitized, so you might have
just skipped it, but you probably need to show it.

If using snmp v2, the relevant counters are ifHCInOctets and ifHCOutOctets

You currently have maxbytes as 5mb/s and absmax as 100mb/sec.  If all of the
traffic is over 100mb/sec then MRTG will ignore it.

Have you tried taking several snapshots of ifHCOutOctets to see if it is
incrementing?  

Cisco subinterfaces (like eth0.10) have a long history of bad mibs...  Might
be a bug in whatever version of code you are running.


-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.