Thanks for reply.

I write the debug information at the beginning of the callback function,
tring to print message every time it is invoked.

In my imaginatine, this callback function is called every time when a get
request is coming. Of course, when the request is asking for the information
in the perticular table. But I can't see the information on the screen every
time.Some time it is printed, but not for sure.

I use the MIB browser to see what happens. Every time it returns a value,
which is the value set  by me in the callback function. But no debug
information printed on the screen.That is why I am curious about the
operation of Net-Snmp.

I want to know whether  the callback function is invoked when a request is
coming?

Thanks
Richard



2008/6/5, Dave Shield <[EMAIL PROTECTED]>:
>
> Sometimes.
>
> 杨伟 wrote:
>
>> I tried to print some debug information on the screen. It is strange for
>> me that the message is not printed every time when I try to get this value.
>> I am so curious about this.
>>
>
> But not curious enough to give us any details to work with, I notice.
>
> It is impossible to answer your question without more information about
> exactly
> where your debug information is, what module you are trying to monitor, how
> this has been implemented, etc.
>  *Some* modules will cache data and re-use it for subsequent requests.
> Other modules will retrieve the underlying data every time.
>
> Or there might be something else going on.   But given the minimal
> information you have provided, it's impossible to tell.
>
> Dave
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to