[mrtg] MRTG not draw outbound traffic

Victor Guk v.guk at zaz.zp.ua
Tue Feb 19 08:07:55 CET 2013


18.02.2013 21:20, Steve Shipway ?????:
> Check that the ifOutOctets counter is actually increasing - MRTG 
> graphs the rate of increase, so possibly the rate is zero.  The number 
> looks rather small.

Measured with an interval of 5 minutes.

test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8
IF-MIB::ifOutOctets.8 = Counter32: 103806
test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8
IF-MIB::ifOutOctets.8 = Counter32: 103806
test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8
IF-MIB::ifOutOctets.8 = Counter32: 103852
test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8
IF-MIB::ifOutOctets.8 = Counter32: 103898
test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8
IF-MIB::ifOutOctets.8 = Counter32: 103898
test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8
IF-MIB::ifOutOctets.8 = Counter32: 103990

>
> Check that the rate of increase is not greater than AbsMax (100Mbps), 
> since if it is, it will be ignored.

On this interface can not pass more than 5 MB/s. Of this I am sure.

>
> If the device supports SNMPv2, use that by having the :::::2 suffix on 
> the target --
>
> Targets[xxxx_8]: 8:public at xxxx:::::2
>
> Some SNMP agents support v1 or v2c correctly but not the other.
>
> Steve

Apparently SNMPv2 not supported by the remote device. Incidentally, it 
is not CISCO device, is Linux server.

test:/tmp # mrtg /tmp/mrtg.cfg --debug="snpo"
--snpo: run snmpget from ifHCInOctets&ifHCOutOctets:public at xxxxxxxxxxxxxx
--snpo: simple If: .4
--snpo: simple If: .4
--snpo: SNMPGet from public at xxxxxxxxxxxxxx:::::2 -- 
ifHCInOctets.4,ifHCOutOctets.4,sysUptime,sysName
--snpo: SNMPfound -- 'undef', 'undef', '23:45:57', 'Gate'
2013-02-19 08:27:34: ERROR: Target[xxxxxxxxxxxxxx_8][_IN_] ' 
$target->[0]{$mode} ' did not eval into defined data
2013-02-19 08:27:34: ERROR: Target[xxxxxxxxxxxxxx_8][_OUT_] ' 
$target->[0]{$mode} ' did not eval into defined data

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20130219/8f68d157/attachment.htm 


More information about the mrtg mailing list