[AGENT++] Dynamic MibTable

Pieter Janse van Rensburg pieter.jvrensburg at gmail.com
Wed Apr 22 10:16:18 CEST 2009


Thanks.

Is it possible to update the table before any requests are processed?

On Tue, Apr 21, 2009 at 9:37 PM, Frank Fock <fock at agentpp.com> wrote:

> Hi Pieter,
>
> Yes, you can realize such a table by
> subclassing MibTable.
> To update your table for each request,
> overwrite the MibTable::update(..)
> method and add/remove rows or update
> column values by MibLeaf::set_value.
>
> Best regards,
> Frank
>
>
>
>
> Pieter Janse van Rensburg wrote:
>
>> Hi,
>>
>> I would like to create a dynamic MibTable, where at startup I would create
>> the table and when needed add rows and then columns to the rows.
>>
>> Is that at all possible?
>>
>> I am aware that I can add columns and add rows later that then will
>> inherit
>> the number of columns added in the first place, but I want to adjust the
>> columns.
>>
>> Thanks.
>> _______________________________________________
>> AGENTPP mailing list
>> AGENTPP at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/agentpp
>>
>
> --
> AGENT++
> http://www.agentpp.com
> http://www.snmp4j.com
> http://www.mibexplorer.com
> http://www.mibdesigner.com
>
>



More information about the AGENTPP mailing list