Re: Regarding obsolete and not-accessible objects

Subrahmanya Hegde <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi
   One should not register both these objects with the agent.
  If I remember correctly, agent will reply with NO SUCH INSTANCE for these.
   
  Hence whether it is GET or SET, return code will be NO SUCH INSTANCE.
   
  thx
Subra
  

Pamidipati Suresh-G20238 <[email protected]> wrote:
      Hi All,
   
  What should be the error code to be returned for a set request on 
  1. an object whose STATUS is defined as obsolete
  2. an object whose MAX-ACCESS is defined as not-accessible
   
  As per my understanding of RFC 1905, not-writable is to be returned in the above 2 cases. 
   
  [From RFC 1905]
  (9)  Otherwise, if the variable binding's name specifies a variable which exists but can not be modified no matter what new value is specified, then the value of the Response-PDU's error-status field is set to `notWritable', and the value of its error-index field is set to the index of the failed variable binding.

  Please let me know if this (notWritable) is correct or noAccess has to be returned for the above 2 cases.
   
  Regards,
  Suresh.
   
-------------------------------------------------------------------------
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-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


 				
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

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