Re: Getnext Implementation

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/09/06, [email protected] <[email protected]> wrote:
> Is it possible to implement snmpgetnext even the agent does not contain the data.
> For example in a table where row can be created how it is possible to
> know the next index?

The agent is reporting on the information that it knows about - that
currently exists.
If it received a GETNEXT request that affects a table, it should
return the next index for the contents of the table at that particular
point in time.  Yes - other rows might be created in the future, and
that would mean different results for the same request.
   But the agent can't predict the future - all it can do is report on
what it knows about at the time.   So whether rows can be
created./deleted or not is irrelevant - take the current contents of
the table, and report one the next existing row.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.