This is a discussion on question regarding snmp_synch_response within the SNMP Users forums, part of the Networking and Network Related category; --===============1945751307== Content-Type: multipart/alternative; boundary="----=_Part_20713_16651082.1181719087012" ------=_Part_20713_16651082.1181719087012 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1945751307==
Content-Type: multipart/alternative; boundary="----=_Part_20713_16651082.1181719087012" ------=_Part_20713_16651082.1181719087012 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello all, We have an application running over net-snmp 5.2.1. We are trying to send Informs in a synchronous manner by using the API call snmp_synch_response(). My question/query: To open the snmp session we have used the snmp_open API to which we pass the netsnmp_session session; we fill the session. retries = <Some Value > session. timeout = < Some Value > callback = < our app function > We need to retry the inform request if the peer fails to respond back with an Ack for the Inform. Is there any callback function available in the net-snmp code which will take care of retries on timer expiry which we can register with the session structure passed to snmp_open API Thanks & Regards anand ------=_Part_20713_16651082.1181719087012 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hello all,</div> <div> </div> <div> We have an application running over net-snmp 5.2.1. </div> <div> We are trying to send Informs in a synchronous manner by using the API call snmp_synch_response().</div> <div> </div> <div> My question/query:</div> <div> </div> <div> &nb sp;   ;To open the snmp session we have used the snmp_open API to which we pass the </div> <div> </div> <div> &nb sp;   ; & nbsp; &nb sp;   ; netsnmp_session session;</div> <div> &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; &nb sp; we fill the session. retries = <Some Value ></div> <div> &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; session. timeout = < Some Value ></div> <div> &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; &nb sp;   ; callback = < our app function ></div> <div> </div> <div> &nb sp;   ;We need to retry the inform request if the peer fails to respond back with an Ack for the Inform.</div> <div> &nb sp;   ; </div> <div> &nb sp;   ;Is there any callback function available in the net-snmp code which will take care of retries on timer expiry which we can register with the session structure passed to snmp_open API</div> <div> </div> <div>Thanks & Regards</div> <div>anand </div> <div> &nb sp;   ; </div> <div> </div> <div> </div> ------=_Part_20713_16651082.1181719087012-- --===============1945751307== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1945751307== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/...net-snmp-users --===============1945751307==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|