On Fri, 2006-02-03 at 11:56 +0530, Jobin Jose Sebastin wrote:

> but the next command 
>    $snmpset localhost UCD-DLMOD-MIB::dlmodStatus.1 i create 
> is not working properly it shows that the object was not wrtable..

As Wes has indicated, the most likely problem is access control.
Make sure that the settings you are using allow write access to
the agent.  Try something like

        snmpset localhost versionRestartAgent.0 i 1

and make sure that this works correctly, before trying to
use "snmpset" to set up dlmod entries.


The other thing to note is that the dlmod SET support is
*very* fussy about which index should be used.
Before trying to create a new row, do

        snmpget localhost dlmodNextIndex.0

and make sure that you use that index value when creating
the new row.



> but when I am giving  snmpset -v1 -c public localhost
> UCD-DLMOD-MIB::dlmodStatus.1 i create
> 
> it shows that no such object in this module....)

That's just the SNMPv1 way of reporting "not writable".
Stick with SNMPv2c - the error messages are much more
informative.

Dave



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to