On 26 January 2011 21:45, Sorrell, Al <[email protected]> wrote:
> I have two different servers, one with 5.4.2.1 and the other with 5.6.1rc2....
> On both, I have the same set of MIB files in /usr/local/share/snmp/mibs
Silly question time:
Does this directory include the file 'ENTITY-MIB.txt' ?
> 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".
What happens if you try to retrieve the same value using the numeric OID?
i.e.
snmpget .... rta .1.3.6.1.2.1.47.1.1.1.11.5000
> Also, the output presentation of a basic snmpwalk is quite different
> between the two different versions.
It's looking suspiciously as if the two systems might be looking in
different places to find the MIB files.
Try running the following command on the two systems:
snmpget -Dparse-mibs 2>&1 | grep -i directory
What do you see in each case?
> $ /usr/local/bin/snmpget -v 2c -c ROcomm rta entPhysicalSerialNum.5000
> ENTITY-MIB::entPhysicalSerialNum.5000 = STRING: JAE1219HEWA
[or]
> entPhysicalSerialNum.5000: Unknown Object Identifier
What happens if you try
snmpget .... rta ENTITY-MIB::entPhysicalSerialNum.5000
?
Dave
------------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users