On Fri, 20 Aug 2004 18:34:27 +0530 Kurapati wrote: KMG> If the SNMP Agent does not get responses from SNMP SubAgent for a KMG> preconfigured number of times with in a specied of time, SNMP Agent will KMG> declare that SubAgent as dead/not responding. When I digged into the KMG> code, I observed that, at the SNMP Agent, it is releasing the session KMG> information. It is not sending AGENTX_CLOSE message to the SubAgent. But KMG> SNMP Agent will not forward any SNMP requests to this SubAgent. Is this KMG> understanding correct?
Right. The idea being that sending a CLOSE to a non-responsive subagent is probably a waste of time. KMG> 2. But the SNMP Agent continues to respond to the PING PDUs of the KMG> SubAgent. Is there any way that a SubAgent can detect the above KMG> mentioned scenario (that SNMP Agent has marked me as NOT RESPONDING/DEAD)? Doesn't the agent close the connection to the sub-agent? It should get a SIGPIPE, close the file descriptors, and start trying to re-connect to the agent. This may not work correctly in older versions (esp the 5.0.x line). And of course, if you are using UDP instead of unix domain or tcp. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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