RE: SNMP reporting wrong max bandwidth

"Tim Donnelly" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <2aeb01c832a8$77a6e520$66f4af60$@org>
>On 28/11/2007, Tim Donnelly <[email protected]> wrote:
>> Manually walking the remote servers from Isis using the command:
snmpwalk
>> -v1 -c public grdb ifSpeed snmpwalk -v2c -c public grdb ifhighspeed gives
>> the following output:
>>
>> IF-MIB::ifSpeed.1 = Gauge32: 10000000
>> IF-MIB::ifSpeed.2 = Gauge32: 100000000
>> IF-MIB::ifSpeed.3 = Gauge32: 0
>> IF-MIB::ifSpeed.4 = Gauge32: 0

>That's the output of walking the ifSpeed column.

>What is the output of walking 'ifHighSpeed' ?
>(Note the capitalisation).

Walking with 'ifHighSpeed' gives me this:

isis:/home/tdonnelly # snmpwalk -v1 -c public grdb ifHighSpeed
IF-MIB::ifHighSpeed.1 = Gauge32: 10
IF-MIB::ifHighSpeed.2 = Gauge32: 100
IF-MIB::ifHighSpeed.3 = Gauge32: 0
IF-MIB::ifHighSpeed.4 = Gauge32: 0

>Try running the agent using '-DmibII/interfaces'
>That should display some debugging information relating to the IF-MIB
>processing.  What does this report when you walk the ifSpeed column.

>Dave

Perhaps I am doing something wrong, but running:

isis:/home/tdonnelly # snmpwalk -v1 -c public grdb ifSpeed
-DmibII/interfaces

gives me:

No log handling enabled - turning on stderr logging
registered debug token mibII/interfaces, 1
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifSpeed.4 = Gauge32: 0

Also, I appreciate John Hardins' suggestion for "hard coding" the speed.  My
concern is, if snmp is reporting the wrong value for the max speed, is it
giving me the correct values for the current bandwidth used?

Thanks for the help.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.