On 26/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  1.  I want to create my own MIB file and for that MIB file I want SNMP
>       agent to traverse the MIB tree, I have created a MIB file, but I want to
>       know where should I port the MIB file (at Manager as well as Agent 
> side)?

Please see the FAQ entries:
   How do I add a MIB to the tools?
and
   How do I add a MIB to the agent?

If you need to add the MIB file to another manager application (not
the Net-SNMP tools) then please see the documentation that comes with
that application.


>  2.  Also there is an example file in the folder
>      net-snmp-5.2.3\agent\mibgroup\examples and the filename are
>   example.c , example.h  .... But When I start the SNMP agent service,
>   and do the snmpget for the specified OID, it don't work and
>   do give any value, mentioning invalid name.

How did you run "configure"?
If you didn't explicitly request this to include the example module,
then this won't work.
The example module is not part of the default build.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to