I have two different servers, one with 5.4.2.1 and the other with 5.6.1rc2. In 
both cases, I built for only the applications (snmpget, walk, Perl libs, etc.) 
and don't use snmpd. On both, I have the same set of MIB files in 
/usr/local/share/snmp/mibs (I copied the files from the 5.4.2.1 system to the 
newer, since the older was giving me the behavior I wanted).

On 5.4.2.1, I can retrieve from the ENTITY-MIB as shown below; on 5.6.1.rc2, it 
gives me "Unknown Object Identifier".

Snmptranslate of "entPhysicalSerialNum" fails on both.

Also, the output presentation of a basic snmpwalk is quite different between 
the two different versions. As far as I can tell, I have no snmp.conf in any of 
the usual suspect locations on either system.

Any thoughts??
Thanks,
Al

$ /usr/local/bin/snmptranslate -V
NET-SNMP version: 5.4.2.1

$ /usr/local/bin/snmptranslate entPhysicalSerialNum
No log handling enabled - turning on stderr logging
entPhysicalSerialNum: Unknown Object Identifier (Sub-id not found: (top) -> 
entPhysicalSerialNum)

$ /usr/local/bin/snmpget -V
NET-SNMP version: 5.4.2.1

$ /usr/local/bin/snmpget -v 2c -c ROcomm rta entPhysicalSerialNum.5000
ENTITY-MIB::entPhysicalSerialNum.5000 = STRING: JAE1219HEWA


$ /usr/local/bin/snmptranslate -V
NET-SNMP version: 5.6.1.rc2

$ /usr/local/bin/snmptranslate entPhysicalSerialNum
No log handling enabled - turning on stderr logging
entPhysicalSerialNum: Unknown Object Identifier (Sub-id not found: (top) -> 
entPhysicalSerialNum)

$ /usr/local/bin/snmpget -V
NET-SNMP version: 5.6.1.rc2

$ /usr/local/bin/snmpget -v 2c -c ROcomm rta entPhysicalSerialNum.5000
No log handling enabled - using stderr logging
entPhysicalSerialNum.5000: Unknown Object Identifier (Sub-id not found: (top) 
-> entPhysicalSerialNum)


On 5.4.2.1:
$ snmpwalk -v 2c -c ROcomm rta
system.sysDescr.0 : DISPLAY STRING- (ascii):  Cisco IOS Software, Catalyst 4500 
L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(53)SG, RELEASE 
SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Thu 16-Jul-09 19:10 b
system.sysObjectID.0 : OBJECT IDENTIFIER:       
.iso.org.dod.internet.private.enterprises.cisco.ciscoProducts.cat4506
system.sysUpTime.sysUpTimeInstance : Timeticks: (158341427) 18 days, 7:50:14.27
system.sysContact.0 : DISPLAY STRING- (ascii):
system.sysName.0 : DISPLAY STRING- (ascii):  rta
system.sysLocation.0 : DISPLAY STRING- (ascii):
system.sysServices.0 : INTEGER: 6
system.sysORLastChange.0 : Timeticks: (0) 0:00:00.00
interfaces.ifNumber.0 : INTEGER: 268
interfaces.ifTable.ifEntry.ifIndex.2 : INTEGER: 2
interfaces.ifTable.ifEntry.ifIndex.3 : INTEGER: 3
interfaces.ifTable.ifEntry.ifIndex.4 : INTEGER: 4


On 5.6.1rc2:
$ snmpwalk -v 2c -c ROcomm rta
RFC1213-MIB::sysDescr.0 = STRING: "Cisco IOS Software, Catalyst 4500 L3 Switch 
Software (cat4500-ENTSERVICESK9-M), Version 12.2(53)SG, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Thu 16-Jul-09 19:10 b"
RFC1213-MIB::sysObjectID.0 = OID: CISCO-PRODUCTS-MIB::cat4506
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (158346885) 18 days, 7:51:08.85
RFC1213-MIB::sysContact.0 = ""
RFC1213-MIB::sysName.0 = STRING: "RTA"
RFC1213-MIB::sysLocation.0 = ""
RFC1213-MIB::sysServices.0 = INTEGER: 6
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
RFC1213-MIB::ifNumber.0 = INTEGER: 268
RFC1213-MIB::ifIndex.2 = INTEGER: 2
RFC1213-MIB::ifIndex.3 = INTEGER: 3
RFC1213-MIB::ifIndex.4 = INTEGER: 4
RFC1213-MIB::ifIndex.5 = INTEGER: 5


_________________________
Almon (Al) Sorrell
Corporate Network Services | Network Engineering Consultant
T. Rowe Price
4515 Painters Mill Road, TE9008
Owings Mills, MD 21117
Phone: 410-345-3042 (508-3042)  Fax:410-345-3135
Email: al_sorr...@troweprice.com





T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its 
associates do not provide legal or tax advice.  Any tax-related discussion 
contained in this e-mail, including any attachments, is not intended or written 
to be used, and cannot be used, for the purpose of (i) avoiding any tax 
penalties or (ii) promoting, marketing, or recommending to any other party any 
transaction or matter addressed herein.  Please consult your independent legal 
counsel and/or professional tax advisor regarding any legal or tax issues 
raised in this e-mail.

The contents of this e-mail and any attachments are intended solely for the use 
of the named addressee(s) and may contain confidential and/or privileged 
information. Any unauthorized use, copying, disclosure, or distribution of the 
contents of this e-mail is strictly prohibited by the sender and may be 
unlawful. If you are not the intended recipient, please notify the sender 
immediately and delete this e-mail.


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to