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

"Giulianelli, Danilo (Danilo)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <6CF036121950A44C93F5DB88CF3398D40C1FA4A5@nj0117exch001u.wh.lucent.com>
> -----Original Message-----
> From: Dave Shield [mailto:[email protected]]
> Sent: Friday, October 07, 2005 4:26 AM
> To: Giulianelli, Danilo (Danilo)
> Cc: '[email protected]'
> Subject: Re: How do you tell the Master Agent it can skip over a table
> row?
> 
> 
> 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?
> 

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.
Thanks anyway for the explanation. I appreciate it.

Danilo Giulianelli


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