<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">18.02.2013 21:20, Steve Shipway пишет:<br>
</div>
<blockquote
cite="mid:7294716191A1E142B80615ED2C633BCA5788551A@uxcn10-2.UoA.auckland.ac.nz"
type="cite">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.<br>
</blockquote>
<br>
<span id="result_box" class="" lang="en"><big><span class="hps">Measured
with</span> <span class="hps">an interval of 5</span> </big><span
class="hps"><big>minutes.</big><br>
<br>
</span></span><tt>test:/tmp # snmpget -c public -v 2c
xxxxxxxxxxxxxx IF-MIB::ifOutOctets.8</tt><tt><br>
</tt><tt>IF-MIB::ifOutOctets.8 = Counter32: 103806</tt><tt><br>
</tt><tt>test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx
IF-MIB::ifOutOctets.8</tt><tt><br>
</tt><tt>IF-MIB::ifOutOctets.8 = Counter32: 103806</tt><tt><br>
</tt><tt>test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx
IF-MIB::ifOutOctets.8</tt><tt><br>
</tt><tt>IF-MIB::ifOutOctets.8 = Counter32: 103852</tt><tt><br>
</tt><tt>test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx
IF-MIB::ifOutOctets.8</tt><tt><br>
</tt><tt>IF-MIB::ifOutOctets.8 = Counter32: 103898</tt><tt><br>
</tt><tt>test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx
IF-MIB::ifOutOctets.8</tt><tt><br>
</tt><tt>
IF-MIB::ifOutOctets.8 = Counter32: 103898</tt><br>
<tt>test:/tmp # snmpget -c public -v 2c xxxxxxxxxxxxxx
IF-MIB::ifOutOctets.8</tt><tt><br>
</tt><tt>
IF-MIB::ifOutOctets.8 = Counter32: 103990<br>
<br>
</tt>
<blockquote
cite="mid:7294716191A1E142B80615ED2C633BCA5788551A@uxcn10-2.UoA.auckland.ac.nz"
type="cite">
<br>
Check that the rate of increase is not greater than AbsMax
(100Mbps), since if it is, it will be ignored.<br>
</blockquote>
<br>
<big><span id="result_box" class="" lang="en"><span class="hps">On
this interface</span> <span class="hps">can not pass</span> <span
class="hps">more than 5</span> <span class="hps">MB/s.</span>
<span class="hps">Of this I am</span> <span class="hps">sure.</span></span></big><br>
<br>
<blockquote
cite="mid:7294716191A1E142B80615ED2C633BCA5788551A@uxcn10-2.UoA.auckland.ac.nz"
type="cite">
<br>
If the device supports SNMPv2, use that by having the :::::2
suffix on the target --<br>
<br>
Targets[xxxx_8]: 8:public@xxxx:::::2<br>
<br>
Some SNMP agents support v1 or v2c correctly but not the other.<br>
<br>
Steve</blockquote>
<br>
Apparently SNMPv2 not supported by the remote device. Incidentally,
it is not CISCO device, is Linux server.<br>
<br>
<tt>test:/tmp # mrtg /tmp/mrtg.cfg --debug="snpo"</tt><tt><br>
</tt><tt>--snpo: run snmpget from
ifHCInOctets&ifHCOutOctets:public@xxxxxxxxxxxxxx</tt><tt><br>
</tt><tt>--snpo: simple If: .4</tt><tt><br>
</tt><tt>--snpo: simple If: .4</tt><tt><br>
</tt><tt>--snpo: SNMPGet from public@xxxxxxxxxxxxxx:::::2 --
ifHCInOctets.4,ifHCOutOctets.4,sysUptime,sysName</tt><tt><br>
</tt><tt>--snpo: SNMPfound -- 'undef', 'undef', '23:45:57', 'Gate'</tt><tt><br>
</tt><tt>2013-02-19 08:27:34: ERROR: Target[xxxxxxxxxxxxxx_8][_IN_]
' $target->[0]{$mode} ' did not eval into defined data</tt><tt><br>
</tt><tt>2013-02-19 08:27:34: ERROR: Target[xxxxxxxxxxxxxx_8][_OUT_]
' $target->[0]{$mode} ' did not eval into defined data</tt><br>
<br>
</body>
</html>