Re: Regarding Table data Create and Fill

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 14/03/2008, kumar undurthi <[email protected]> wrote:
>       I have requirement in which i have to fill the table data when ever a
> request will come,....
>  when the a request come  at " i.e   "(check in code )  case MODE_GET:"
> then i want to update the table

And as I said last week, the best way to do this is to use the cache
helper.   Generate the template code using

   mib2c -c mib2c.table_data.conf  -S cache=1   ocStbHostAVInterfaceTable

and put the code for updating the table into the 'load' routine.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.