Thanks, that helps! A note about the general Mib index handling:
The default is to create the MIB index at the persistentDir. But the default is owned by root and readonly, or sometime as on my macbook, not readable for users. So IMHO at leased the persistendDir should be configured at users snmp.conf. // regards Claus claus-kleins-macbook-pro:net-snmp clausklein$ apps/snmpstatus -- persistendDir=~/.snmp/persist -r0 -v3 -u claus -l noAuthNoPriv - Dparse-mibs 'tcp6:[::1]:161' 2>&1 | egrep -w 'index|directory| [Ii]nterfaces|Kernel' parse-mibs: Scanning directory /Users/clausklein/.snmp/mibs parse-mibs: The index is good parse-mibs: Scanning directory /usr/local/share/snmp/mibs parse-mibs: The index is good parse-mibs: Scanning directory /usr/local/share/snmp/mibs parse-mibs: The index is good parse-mibs: Scanning directory /Users/clausklein/.snmp/mibs parse-mibs: The index is good parse-mibs: Scanning directory /usr/local/share/mibs/ietf parse-mibs: The index is good parse-mibs: Scanning directory /usr/local/share/mibs/iana parse-mibs: The index is good parse-mibs: Scanning directory /Users/clausklein/Workspace/cpp/ AgentPro/agent++/mibs parse-mibs: The index is good [TCP/IPv6: [::1]:161]=>[Darwin claus-kleins-macbook-pro.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386] Up: 4:00:39.62 Interfaces: 7, Recv/Trans packets: 178959/259367 | IP: 162732/252317 3 interfaces are down! claus-kleins-macbook-pro:net-snmp clausklein$ On 25.07.2011, at 16:24, Robert Story wrote: > On Sun, 24 Jul 2011 23:45:29 +0200 Claus wrote: > CK> When I use a snmpcmd as non root I get always errors about MIB > loading. > CK> > CK> How can I prevent this? > CK> What has been changed with V5.7 about mib index handling? > > It's a bug.. Here's a temporary patch that can be applied to the > source... > > http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=blobdiff;f=snmplib/parse.c;h=905763c566e82743b76fdd76d62c860f2fc469a3;hp=c2e4d3f9ffe49f77d63e472c693741fc670fddcc;hb=2edccc9be064dc4d669f31d4dc0c571f648ad34d;hpb=994baa9f2032815a46b0f812149e6ab82aa8d381 ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
