On 15 November 2011 15:01, prashant n <[email protected]> wrote:
> 1) What is the actual purpose of using read-create as MAX-ACCESS

This says that it should be possible to create new rows in the table.
A MAX-ACCESS of "read-write" says that it is possible to amend
    existing rows, but not to create new ones.
A MAX-ACCESS of "read-only" says that it is possible to retrieve
    information from the table, but not to change it.


> 2)  Whether RowStatus can be used for creating, modifying, and deleting
> instances of the columnar objects by the  manager only?

RowStatus is concerned with manipulation of the table via SET requests.
i.e. controlling the table from the manager - yes.


> what about creating rows using agent?

The agent is simply an intermediary between the SNMP client application
(manager) and the underlying system being managed.
   It is perfectly possible (even common) for that underlying system to create
or delete "things" as part of its normal operation,  and such changes will be
reflected in the table as reported by the agent.

For example,  the Host Resources hrSWRun table provides a list of the
currently active processes.   As new processes are started, or terminate,
then new rows will appear in the hrSWRunTable or disappear from it.
   The hrSWRunStatus is effectively used by an SNMP manager to issue
a "kill" command on a particular process.    But the contents of the table
will be changing all the time anyway.



> 3)  Whether we need to set default value for RowStatus, when we are defining 
> it?

No.
The value of the RowStatus column will be either active, notInService
or notReady,
depending on the values of the other entries in that row.   You don't
need to specify
a default value for this column explicitly - the default status will
be a consequence
of the default values of the other columns.

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to