This is a discussion on RE: How to control agent sending SNMP request multiple times within the SNMP Users forums, part of the Networking and Network Related category; --===============0034335842== Content-Type: multipart/alternative; boundary="0-323195850-1192185096=:48329" Content-Transfer-Encoding: 8bit --0-323195850-1192185096=:48329 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0034335842==
Content-Type: multipart/alternative; boundary="0-323195850-1192185096=:48329" Content-Transfer-Encoding: 8bit --0-323195850-1192185096=:48329 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, Thanks for the reply. I did as u told but still its forwarding the requests to subagent multiple timings. But this time the request id is the same. Previously it was different. But I want the request to be sent only one time. For this wat else I need to do. Please do help me in this regard. Thanks, Message Hi, The default value of no of agentxRetries (from SNMPD to Subagent for Agentx requests) is 5. You can configure this by specifying the token agentxRetries in snmpd.conf file as below. agentxRetries 0 # This means 0 retries. And the default value of no of retries of any snmp request (snmpget, snmpset, snmpgetnext, etc from snmp manager to SNMPD) is also 5. You can specify any other value for retries using -r option in snmp request. Example is given below. snmpgetnext -v2c -c public -r 0 localhost 1 Regards, Suresh. -----Original Message----- From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of snmpgi Sent: Friday, October 12, 2007 11:18 AM To: net-snmp-users@lists.sourceforge.net Subject: How to control agent sending SNMP request multiple times Hi, I am running an MasterAgent and a Subagent. When I send a snmpget request the master is sending the same to subagent through agentx about 50 times before timeout. Is there any way by which i can control the master to forward the snmp request to subagent only for 4 to 5 times and not more than that. Since this creating a problem in our system. --------------------------------- Unlimited freedom, unlimited storage. Get it now --------------------------------- Why delete messages? Unlimited storage is just a click away. --0-323195850-1192185096=:48329 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi,<br> Thanks for the reply. I did as u told but still its forwarding the requests to subagent multiple timings. But this time the request id is the same. Previously it was different. But I want the request to be sent only one time. For this wat else I need to do. Please do help me in this regard.<br>Thanks,<br><br><b><i></i></b><br><blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><title>Message</title> <meta content="MSHTML 6.00.2900.3132" name="GENERATOR"> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">Hi,</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">The default value of no of agentxRetries (from SNMPD to Subagent for Agentx requests) is 5.</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">You can configure this by specifying the token agentxRetries in snmpd.conf file as below.</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">agentxRetries 0 </font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"># This means 0 retries.</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">And the default value of no of retries of any snmp request (snmpget, snmpset, snmpgetnext, etc from snmp manager to SNMPD) is also 5. You can specify any other value for retries using -r option in snmp request. Example is given below.</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">snmpgetnext -v2c -c public -r 0 localhost 1</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">Regards,</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2">Suresh.</font></span></div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="707283108-12102007"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <blockquote style="margin-right: 0px;"> <div></div> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] <b>On Behalf Of </b>snmpgi<br><b>Sent:</b> Friday, October 12, 2007 11:18 AM<br><b>To:</b> net-snmp-users@lists.sourceforge.net<br><b>Subject:</b> How to control agent sending SNMP request multiple times<br><br></font></div>Hi,<br> I am running an MasterAgent and a Subagent. When I send a snmpget request the master is sending the same to subagent through agentx about 50 times before timeout. Is there any way by which i can control the master to forward the snmp request to subagent only for 4 to 5 times and not more than that. Since this creating a problem in our system.<br><br><br><br><br><br> <div><!--2--> </div><hr size="1"> Unlimited freedom, unlimited storage. <a href="http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Get it now</a></blockquote></blockquote><br><p> <!--1--><hr size=1></hr> Why delete messages? Unlimited storage is <a href="http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">just a click away.</a> --0-323195850-1192185096=:48329-- --===============0034335842== 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============0034335842== 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 --===============0034335842==-- |