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@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@xxxxxxxxxxxxxx
--snpo: simple If: .4
--snpo: simple If: .4
--snpo: SNMPGet from public@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
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg