Adding and removing columns to a MibTable object dynamically

Simpson, Gary Gary.Simpson____primark.com
Mon Mar 5 09:32:58 CET 2001


Hello,

I am developing an SNMP agent that dynamically implements SNMP variables
defined in shared memory from other applications.  Because of this it is
possible that columns will be added and removed to the MIB tables through
the life of the table.  Is it possible to use the
'MibTable::add_col(MibLeaf*)' and 'MibTableRow::remove(int)' methods to do
this (the remove method on the generator row of the table).

I understand that I may have to clear the table of all values before doing
this but this is not a problem as I was thinking of clearing the table and
then adding the values after the table structure has changed.  If I can't do
this then another option is to remove the MibTable whenever the structure
changes and to recreate it.  Is this a safer method of doing this?

Thanks for your help,
Gary.


This e-mail, its content and any files transmitted with it are intended solely for the addressee(s) and are confidential and may be legally privileged.  Access by any other party is unauthorised without the express prior written permission of the sender.  If you have received this e-mail in error you may not copy, disclose to any third party or use the contents, attachments or information in any way.  Please destroy it and contact the sender via the Thomson Financial switchboard on (44) 207 369 7000 or via e-mail return.  Internet communications are not secure unless protected using strong cryptography.  This e-mail has been prepared using information believed by the author to be reliable and accurate, but Thomson Financial does not accept responsibility for the timeliness, accuracy or completeness of the information provided or for any changes to this e-mail, howsoever made, after it was sent.  [The content of this e-mail and files transmitted with it is  (c) TFSL - 2000] 



More information about the AGENTPP mailing list