Re: MIB for Dummies

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZZC0qn-cUj6GRUa09ToGDnTf5Cd9rnuNbTe4fV3wqiPA@mail.gmail.com>
On 14 December 2011 17:00, Simon Chamlian <[email protected]> wrote:
> Now I copied my MIB file MPBC-RMH-MIB into same directory.

Into which directory?   /usr/share/mibs/netsnmp ?



> $ snmptranslate -m +MPBC-RMH-MIB -IR -On mpbcRMH-Mon-HPU-State
>
> MIB search path: /home/schamlian/.snmp/mibs:/usr/local/share/snmp/mibs

Note the search path that the library is using.
This mentions /usr/local/share/snmp/mibs
but not  /usr/share/mibs/netsnmp

Try copying the MIB file into /usr/local/share/snmp/mibs




> One difference between the embedded and the PC is that on the embedded
> system, the mib file is called: MPBC-RMH-MIB.txt while on the PC, it is
> called: MPBC-RMH-MIB

No - that probably doesn't matter.
The Net-SNMP MIB parser doesn't care about the names of files,
or their extensions - it works purely on the contents of the file.

You could put the MPBC-RMH-MIB definitions in a text file called
GUESS-WHO-IS-COMING-TO-DINNER.jpg   and it would
work in exactly the same way.   :-)

Dave

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
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.