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 Fri, 2005-10-07 at 08:17 -0400, Giulianelli, Danilo (Danilo) wrote:
> > But if there are no rows in the table, why don't you
> > just unregister that table from the master agent?
> > 
> 
> Well most of my tables contain a RowStatus column, so it is a
> catch 22 situation: in order to create the first row you need
> to have the table registered with the Master agent. If I don't
> I will never get the SET request.

Fair point.

Hmmm....
This is getting slightly obscure, but you could start by
registering the RowStatus column (only).  Then when the
first row is created, you register the whole table as well.

When the last row is deleted, you unregister the table
(but leave the RowStatus registration).   That way, the
master agent would only have to query each table once
to discover that it was empty - rather than every column
of each table.

Any use?

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.