[AGENT++] how to limit the value of index objects in the table?

Jochen Katz katz at agentpp.com
Wed Jan 17 23:10:58 CET 2007


Hi,

> as we know, we can implement the value_ok() to check the value range
> of MIB objects deriving from the MibLeaf, such as scalar objects and
> columnar objects. but how can i do that with the index object of a
> talbe with a rowstatus column when we create a new row by setting a
> new rowstatus value with createAndGo.

the function could_ever_be_managed() is called by agent++. Within ths
function you can check the values and return false if they are not valid.

Regards,
  Jochen



More information about the AGENTPP mailing list