2008/5/19 CHAHIBI Samira <[EMAIL PROTECTED]>:
>                                                      according to net-snmp
> wiki tutorial, i must copy this files into a agent/mibgroup/leadTechDesign.h
> and agent/mibgroup/leadTechDesign.c file and make:
>
> ./configure --with-mib-modules="leadTechDesign"
> make
> make install

That's correct.
This is the normal mechanism for adding a new MIB module
to a source-compiled installation.


> I'm on fedora and I installed net-snmp with "yum install" command, I didn't
> download the net-snmp-5.4.1.tar package

OK - so you are not working with a source-based installation.
The "configure" mechanism is not appropriate for you.
(Hence the problems you are seeing).



> Where should I put my files in this case? What commands should  I perform
> to  compile  the agent with new mib module?

If you are working with a pre-compiled agent, then you have a choice
between running your MIB module as a dynamically loadable object
   
(http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Dynamically_Loadable_Object)

and running it as an AgentX subagent
  (http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent)

These two tutorial pages should provide the relevant instructions.
But "configure" is not relevant in your environment.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
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

Reply via email to