[mrtg] Re: smc 8024L2 - not reporting bandwidth
Randy Katz
randyk at ccsales.com
Tue Sep 19 04:25:46 MEST 2006
MrPaul,
Thank you, however I am slightly lost:
1. What do you mean to "load the MIB in MRTG"?
2. How do I use the "full numeric OID" in this case or know how to get it?
3. What is |Length2Int that you put after @mydevice?
4. I tried it and it says this:
Monday, 18 September 2006 at 19:19: ERROR:
Target[switch1.la1.iohost.com_101][_IN_]
'SNMPv2-SMI::mib-2.16.1.1.1.5.101&SNMPv2-SMI::mib-2.16.1.1.1.9.
$target->[2]{$mode} ' (warn): Ambiguous use of & resolved as operator &
at (eval 15) line 1.
Monday, 18 September 2006 at 19:19: ERROR:
Target[switch1.la1.iohost.com_101][_OUT_]
'SNMPv2-SMI::mib-2.16.1.1.1.5.101&SNMPv2-SMI::mib-2.16.1.1.1.9.
$target->[2]{$mode} ' (warn): Ambiguous use of & resolved as operator &
at (eval 16) line 1.
Not sure what else to do, my config looks like this:
Target[switch1.la1.iohost.com_101]:
SNMPv2-SMI::mib-2.16.1.1.1.5.101&SNMPv2-SMI::mib-2.16.1.1.1.9.101:public at switch1.la1.iohost.com:
SetEnv[switch1.la1.iohost.com_101]: MRTG_INT_IP="" MRTG_INT_DESCR="Port-#1"
MaxBytes[switch1.la1.iohost.com_101]: 12500000
Title[switch1.la1.iohost.com_101]: Traffic Analysis for
switch1.la1.iohost.com / 1 /
PageTop[switch1.la1.iohost.com_101]: <h1>Traffic Analysis for
switch1.la1.iohost.com / 1 / </h1>
<table>
<tr><td>System:</td><td></td></tr>
<tr><td>Maintainer:</td><td></td></tr>
<tr><td>Description:</td><td>FastEthernet 1</td></tr>
<tr><td>ifType:</td><td>ethernetCsmacd (6)</td></tr>
<tr><td>ifName:</td><td>switch1.la1.iohost.com / 1</td></tr>
<tr><td>Max Speed:</td><td>12.5 MBytes/s</td></tr>
<TR><TD>Ip:</TD> <TD>72.37.160.2</TD></TR>
</table>
Thank you in advance, I know I am a bit raw at this,
Randy Katz
MrPaul wrote:
> On 9/18/06, Randy Katz <randyk at ccsales.com> wrote:
>
>> SNMPv2-SMI::mib-2.16.1.1.1.5.101 = Counter32: 1603554
>> SNMPv2-SMI::mib-2.16.1.1.1.5.102 = Counter32: 802290
>> SNMPv2-SMI::mib-2.16.1.1.1.5.103 = Counter32: 108779
>> SNMPv2-SMI::mib-2.16.1.1.1.5.104 = Counter32: 883371
>>
>> and here:
>>
>> SNMPv2-SMI::mib-2.16.1.1.1.9.101 = Counter32: 1616382
>> SNMPv2-SMI::mib-2.16.1.1.1.9.102 = Counter32: 790433
>> SNMPv2-SMI::mib-2.16.1.1.1.9.103 = Counter32: 99653
>> SNMPv2-SMI::mib-2.16.1.1.1.9.104 = Counter32: 891584
>>
>> How do I get MRTG to track it?
>>
>
> You'll need to manually set the targets as follows (assuming you are
> loading the MIB in MRTG).
>
> Target[MySwitch]:
> SNMPv2-SMI::mib-2.16.1.1.1.5.101&SNMPv2-SMI::mib-2.16.1.1.1.9.101:public at mydevice|Length2Int
>
> However, I would recommend that you use the full numeric OID for ease
> of conversion should you ever need to move to another platform/server.
> One less thing to worry about.
>
> Paul
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://lists.ee.ethz.ch/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>
>
>
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list