> From: rajesh [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 28, 2008 6:15 AM

> How to enable the logs and where the logs are written .

        Consult the "LOGGING OPTIONS" section of the snmpcmd(1) manpage for a 
complete explanation.

> I have added nstAgentModuleObject_c.c in Agent directory .
> Compiled the Library. Also Added the mib file in usr folder.
> 
> still when I am querying for snmpget i m getting
> snmpget -v 1 -c public 10.0.2.105 
> NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0
> 
> response
> ---------
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0
> 
> Plz suggest how to debug .

        The above is a start.  Most likely you'll want to add:

rwcommunity public

        to the snmpd.conf file, which will enable full MIB access - this is of 
course a config for testing only.


        HTH,

Mike

-------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to