Re: how to register new mibs?

Irvs <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Dave for the reply.

Actually I have an installed net-snmp and as much as possible I don't want
to re-run the ./configure since it can create a problem. The case here is
avoiding re-running ./configure to not compromise the current
implementation. Is it possible that there are just files I need to modify to
accommodate the new mibs?

Bong

On Fri, Jun 19, 2009 at 4:41 PM, Dave Shield <[email protected]>wrote:

> 2009/6/19 Irvs <[email protected]>:
> > I am very new to using Net-Snmpd. I was able to generate newmodule.c and
> > newmodule.h using the mib2c command in linux. And I noticed that
> somewhere
> > in the code is the init_newmodule() where the new mib registration
> happens.
> > I wonder where this function must be called? What file should I edit to
> have
> > the new mibs registered during start up of net-snmpd.
>
> If you run the command
>     configure --with-mib-modules=newmodule
>
> then this will add your new module to the build framework.
> See the FAQ entry "Where should I put the files produced by 'mib2c'?"
> for more information.
>
> Dave
>

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org

_______________________________________________
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.