Hi,
I want to implement snmp sub-agent to my application, which manages some
group of processes (tells them to reconfigure, startning or shutting down
them). In Snmp I imagine one read-only process table which will contains
current information about managed processes (proc code, process name, status
and some description).
I've already had working solution. As I read tutorial I used
table_iterator API. Everything works fine, but at this moment I have static
internal process table (static means that no changes is made all the time). But
as I explains above I need to handle this problem with table which is
dynamically changing. But I am unable to determine when some snmp client begins
to read my table and when this client finished it's retrieval. I receiving only
events in "get_first_data_point", "get_next_data_point" and in table handler.
When I use "snmp_table" to retrieve my table, for every row
"get_first_data_point" handler is called firstly and secondly
"get_next_data_point" is called n-times where n is number of currently
retrieved row. Finally my table handler is called. In this scenario I am unable
to distinguish if somebody run snmp_get or if only some row is obtaning during
snmp_table run.
So I want to ask you if there is any way how to get information about
begin and end of the table retrieval or if there is some workaround?
Thanks and have a nice day, Jiri Humpolicek
-------------------------------------------------------------------------
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