On 2020-05-06 22:10, Łukasz Bolda wrote: > > -----Original Message----- > From: Bart Van Assche <bvanass...@acm.org> > Sent: Thursday, May 7, 2020 6:45 AM > >> Is it really necessary to check whether the AgentX connection is still >> operational? Isn't there a mechanism in Net-SNMP that automatically restores >> that connection if necessary? > > Thank you for your interest in the topic :) > Yes, it is necessary for me, because sometimes snmpd may crash or hang up and > be unresponsive. It should not happen, but every software may have some > hidden bugs, and it happened to me in the past. In that case it may be needed > to restart snmpd daemon. Also i need to report every possible susspension and > log it. > There may be also many different lower level problems which Net-SNMP > mechanism can't repair. > > So, I really would like to focus on possible solutions how to check > connection (for example how to properly send only one ping). > Does anyone know how to do it?
Feel free to suggest a patch that modifies Net-SNMP such that it meets your needs. Please note that we care a lot about backwards compatibility. That means that we neither want to break the API nor the ABI. Introducing new functions is allowed but changing the API or ABI of existing functions is not allowed. Thanks, Bart. _______________________________________________ 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