On Wed, 2005-06-15 at 03:16, Steve S. Law wrote: > My MIB is a > table generated by mib2c tool using iterate.conf. One > row in the table corresponds to one application > process being monitored.
How do the iterator 'get_{first,next}' hook routines obtain the list of entries to work with? Do you have an internal list, or something similar? How is this generated? > If a process I am > moitoring is down, I want to delete the row for that > process. Right now, If I "snmpwalk" again after some > process dies, I got errors for those "dead" rows Then the iterator hook routines need to omit that entry from the list that they return. > My MIB table > does not have RowStatus column. (I read somewhere that > RowStatus has to do with deleting the row.. but not > quite sure how to use it). RowStatus is the standard mechanism for having a management client application instruct the agent to delete a row from the table (together with removing whatever that row refers to). In this case, that would probably correspond to shutting down the corresponding process. If you're just trying to monitor the existing state of the system, then RowStatus control is not relevant. Concentrate on the iterate hook list. Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users