I had configured net-snmp-5.4.1 for mycomp mib and copy the mib to /usr/local/share/snmp/mibs. However, I still need to prefix mib node name (e.g. hwNonCriticalEvents.0) with mib name (e.g. MYCOMP-MIB) for snmp transactions. Is there a way to avoid prefixing mib node name with mib name for snmp transactions?
$ ./configure --with-libs=/usr/local/lib/libsensors.a --with-defaults --with-openssl=/ --with-mib-modules="mibs/mycomp ucd-snmp/lmSensors" --with-out-mib-modules="agent_mibs utilities" agent: # cp MYCOMP-MIB.mib /usr/local/share/snmp/mibs/ manager: $ snmpget -v 3 -u admin -l authPriv -a MD5 -A 12345678 -x DES -X 87654321 mypc MYCOMP-MIB::hwNonCriticalEvents.0 MYCOMP-MIB::hwNonCriticalEvents.0 = Counter64: 28 $ snmpget -v 3 -u admin -l authPriv -a MD5 -A 12345678 -x DES -X 87654321 mypc hwNonCriticalEvents.0 hwNonCriticalEvents.0: Unknown Object Identifier (Sub-id not found: (top) -> hwNonCriticalEvents) Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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