Hi all,

I've added the compiled the example code from 

http://net-snmp.sourceforge.net/dev/agent/scalar__int_8c-example.html

 to my agent and if I do an SNMP walk I can see the object OK and it has the 
value I initialise it to. 

If I try to set it I get the following message:

$ snmpset -c public -v 2c 10.0.0.27 1.3.6.1.4.1.8072.2.1.1.0 i 19
Error in packet.
Reason: notWritable (That object does not support modification)

I've tried with v1, 2c and 3 and with various different users but I always get 
the same message (I've even tried a different SNMP manager). The object is 
registered exactly as in the sample code and the MIB says it is read write.

The only other thing I can thing might be relevant is that it is being compiled 
as part of a uClinux embedded system.

Can anybody give me any clues where I might need to look.

Thanks in advance

Phil Mason

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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

Reply via email to