Re: How to add mib file in net-snmp to perform SET operation.

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/29 rajesh <[email protected]>:
> I added below line
> if (should_init("nstAgentModuleObject")) init_nstAgentModuleObject();
> in **mib_module_inits.h**  file,

That should be done automatically, when you configure the
agent to add your new MIB.

How *exactly* did you try to add your MIB to the agent?


> but when I am executing snmpget , it is crashing .

What is crashing?  The agent or snmpget?
Where exactly is it crashing?

See http://www.net-snmp.org/wiki/index.php/Debugger
for some simple instructions on how to find this out.

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