Re: Procedure for adding new MIB

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, 2005-11-22 at 11:33 +0000, John Joseph wrote:
> Hi 
>     Please  check this procedure and please tell me ,
> if there is anything wrong in adding the MIB for any
> new product 

Are you talking about adding a MIB to the SNMP client
tools (i.e. being able to refer to OIDs by name rather
than number and have the results displayed sensibly) ?

Or are you talking about adding a MIB to the agent
(i.e. having it return extra information that it
didn't do before)?

> 1> Get the MIB for the product  from the vendor
> 2> copy the mib to the mibs directory 
> “/usr/share/snmp/mibs”
> 3> in snmp.conf file  add this 
>  mibdirs /usr/share/snmp/mibs
>            mibs ALL

This is the correct procedure for adding a MIB to the
client side.  See the FAQ entry

    How do I add a MIB to the tools?


> 4>Restart the daemon

That's not strictly necessary in this case, since
you're working with the client side only.


If you're talking about adding a MIB to the agent,
then this is *not* sufficient.  You need to write
some code to actually implement the MIB - just
loading the MIB file is not enough.
See the FAQ entry

    How do I add a MIB to the agent?

Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
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.