Re: How do you tell the Master Agent it can skip over a table row?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, 2005-10-06 at 13:08 -0400, Giulianelli, Danilo (Danilo) wrote:
>  But when there are no rows in a given table, even though the
> table_dataset handler returns NOSUCHINSTANCE, the master agent
> still keeps asking for all the next columns.

That's correct.
It's quite legitimate to have "holes" in a table.
So the absence of a value in one particular column
does not necessarily mean that the row doesn't exist.
There could easily be values in some of the other
columns of this same row.

> Is there a way I can send the master agent a special error
> code so that it will skip over my entire table row instead
> of keep asking for the next column anyway?

No - not that I can think of.

But if there are no rows in the table, why don't you
just unregister that table from the master agent?


Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.