[mrtg] MRTG not draw outbound traffic

Daniel McDonald dan.mcdonald at austinenergy.com
Mon Feb 18 16:50:52 CET 2013

On 2/18/13 7:48 AM, "Victor Guk" <v.guk at zaz.zp.ua> 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

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

More information about the mrtg mailing list