mib2c.create-dataset.conf: how to update rows?

hjubal <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi, I've created subagent code with "mib2c -c mib2c.create-dataset.conf...".
I'm trying to update values when subagent receives a GET request.
By this way I receive updated values only at the next request.
I think this is caused by "table_handler" which is called after the subagent
has processed all requested values.. ..am I right?

In the generated code it is written:

  /*
     * perform anything here that you need to do.  The requests have
     * already been processed by the master table_dataset handler, but
     * this gives you chance to act on the request in some other way
     * if need be.
     */

Thanks again :\

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