Loading a new MIB

Ran Shalit <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJ2oMh+HwpuafWJmT=s_XiYy4Sgn3bP_k2fJDBcYvmMb4Zy=dw@mail.gmail.com>
Hello,

I'm new with net-snmp.
I've managed to cross compile and install net-snmp 5.6.2 on my device.
I also manage to start snmpd, and snmpwalk.
I than tried to add MIB:
I added the following to /usr/share/snmp/mibs
https://opensource.apple.com/source/net_snmp/net_snmp-10/net-snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt

I can use snmptranslate with the new MIB:
root@dm814x-evm:/usr/share/snmp/mibs#
root@dm814x-evm:/usr/share/snmp/mibs# snmptranslate -m
+NET-SNMP-EXAMPLES-MIB -IR -On netSnmpExamples
.1.3.6.1.4.1.8072.2

Yet, trying to snmpget or snmpwalk with this MIB keeps failing:

# snmpget -m +NET-SNMP-EXAMPLES-MIB -v 1 127.0.0.1 -c public
NET-SNMP-EXAMPLES-MIB::1.3.6.1.4.1.8072.2
No log handling enabled - using stderr logging
NET-SNMP-EXAMPLES-MIB::1.3.6.1.4.1.8072.2: Unknown Object Identifier

adding the MIB to snmpd.conf didn't help:
root@dm814x-evm:/usr/share/snmp/mibs# cat /home/root/.snmp/snmpd.conf
# this will make snmpd listen on all interfaces
agentAddress  udp:161

# open to all network (not secured)
rocommunity public

mibdirs /usr/share/snmp/mibs/
mibs +NET-SNMP-EXAMPLES-MIB
mibs +DEMO-MIB



Is there any idea what's wrong ?

Thank you!
ranran

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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.