Bluehost.com Web Hosting $6.95

Re: Mib Loading Problem

This is a discussion on Re: Mib Loading Problem within the SNMP Users forums, part of the Networking and Network Related category; On Thu, 2006-03-02 at 11:48 +0530, somenath.pal@wipro.com wrote: > 1) Is it possible to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2006
Dave Shield
 
Posts: n/a
Default Re: Mib Loading Problem

On Thu, 2006-03-02 at 11:48 +0530, somenath.pal@wipro.com wrote:

> 1) Is it possible to keep the mib2c generated .c .h files in some
> other directory (other than agent/mibgroup) and force the configure
> scripts to include those files while making snmpd ?
>
> 2) Is there any way to force "--with-mib-modules " to look for .c
> and .h other than agent/mibgrop directory


No.
Configure will look in 'agent/mibgroup'


>
> 3) Is it possible to implement the mibs and generate .so and while
> configuring snmpd include that .so instead of
> --with-mib-modules option and still the private mibs which
> implementation is part of .so gets loaded.


One possibility would be to load the .so file dynamically when the
agent starts - see the 'dlmod' token in snmpd.conf(5).

Alternatively, you could try tweaking the mib_module_inits.h file
(after running configure, but before make) to add a call to the
initialisation routine of your .so file. That's not something
I've tried myself, but it should work, I think.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642
_______________________________________________
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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0