Re: about the snmpagent example

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/9  <[email protected]>:
> Then i've downloaded "example mib module"(nstAgentModuleObject.c)
> and "header file"(nstAgentModuleObject.h ) and put them into the
> directory:/usr/local/src/net-snmp-5.1.4/agent/mibgroup.

Is this where you unpacked the source tarball?
[Note that this is a very old version, and no longer being maintained.
 But that shouldn't affect whether you can add a new MIB or not.]


> Secondly,I entered the commands in the terminal as follows:
> # export MIBS=ALL
> # ./configure --with-mib-modules="nstAgentModuleObject"
> # make
> # make install

This is from /usr/local/src/net-snmp-5.1.4/agent/mibgroup - yes?

Did you start the new agent?
How?

Is there a vendor-supplied version of the Net-SNMP agent already installed?
Did you stop that first?   (Or better, remove it completely before starting with
the self-compiled version).


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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.