Avoid prefixing mib node name with mib name for snmp transactions

PoWah Wong <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
[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.