[ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On Thu, 2006-01-05 at 10:37 +1100, Tony de Souza-Daw wrote:

> >  a)  What does:
> >           snmpwalk -v 2c -c public 10.2.128.50  IF-MIB::ifType
> >               display?
> 
> [EMAIL PROTECTED] ~ $  snmpwalk ....  IF-MIB::ifType
> IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)

OK - so enumerations *are* being displayed (in general).
It's a specific problem, not a general one.


> >  b)  What does:
> >           snmpget -v 2c -c public -m ALL -M "/home/tony/mibs"
> >                   --printNumericEnums=no ADSL-SWITCH-MIB::unitType.1
> >               display?
> 
> [EMAIL PROTECTED] ~ $  snmpget ... --printNumericEnums=no 
> ADSL-SWITCH-MIB::unitType.1
> ADSL-SWITCH-MIB::unitType.1 = INTEGER: 128

So it's not a problem with configuration settings.
(Though that would have affected the first test too).


> This suggests that the MIB definition does not have enumerator.

<nods>
Or at least, that value 128 does not have an enumerated value.



> I checked the MIB definition using snmptranslate;-
> Under LINUX System
> ...
>   SYNTAX        INTEGER {ciu2(1), ciu6(2), ..., ltu32Shdsl2(113),
> ltu32Adsl4(114)}
> ...
> Under Window System
> ...
>  SYNTAX        INTEGER {ciu2(1), ciu6(2), ..., ltu32Shdsl2(113),
> ltu32Adsl4(114), ... igu2e1000(150)}
> ...

Hmmm... Interesting.

> The linux version seem to stop short at 114 enumerator. Hence I seem to have
> a platform issue. The MIBs defintions are identical (in text). Do you have
> any idea what can cause this?

Not offhand.

I couldn't find a copy of the ADSL-SWITCH-MIB on the Web.
Any chance of posting a copy here?  I'll see if I can reproduce
the problem on my system.

Which version of RedHat are you working with?
It's probably not relevant, but just in case....

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to