Hi,

I've some trouble trying to get some oid translated.
Here's a console session (Windows XP, net-snmp V5.1.1):

C:\>snmptranslate .1.3.6.1.4.1.9.9.48.1.1.1.2.1
SNMPv2-SMI::enterprises.9.9.48.1.1.1.2.1

Not translated, because the MIB is not loaded. Then:

C:\>set MIBS=ALL
C:\>snmptranslate .1.3.6.1.4.1.9.9.48.1.1.1.2.1
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.1

So everything is fine up to now.
But when I try a snmpget, it's ok using the numeric oid but not with the 
stringified one (same session then before, so 'set MIBS=ALL' is still used):

C:\>snmpget -v 1 -c viv4xis 192.168.1.2 .1.3.6.1.4.1.9.9.48.1.1.1.2.1
9.9.48.1.1.1.2.1 : OCTET STRING- (ascii):       PIX system memory

C:\>snmpget -v 1 -c viv4xis 192.168.1.2 ciscoMemoryPoolName.1
snmpget: Invalid object identifier: "ciscoMemoryPoolName.1".

Same error if I try ".0" (or nothing) after 'ciscoMemoryPoolName'.

I don't think it's a configuration problem because snmptranslate does work. But 
then, what the problem can be ?



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
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

Reply via email to