Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 15 July 2010 14:58, Randall C Grimshaw <[email protected]> wrote:
> And still when I remove RFC1213-MIB it knows the index is outdated...???

Outdated rather than missing?
That implies that there is an index file somewhere....
   (Maybe under /var/net-snmp?)
The debug flag '-Dmibindex' might help here.


Another thing to try - what happens if you explicitly load the IP-MIB?

Either
        snmpwalk -m +IP-MIB .....
or
        snmpwalk  ....  IP-MIB::ipNetToMediaPhysAddress

Maybe this MIB isn't part of the default list.

Do you have a file snmp.conf  (note - *not* snmpd.conf) somewhere?
Maybe in ~/.snmp or /usr/local/net-snmp/5.5/share/snmp/
   or  /usr/local/net-snmp/5.5/etc   ?

The debug flag '-Dinit_mib' will show the list of MIBs that is being loaded
automatically.

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.