Hi,
Which version of Net-snmp are you using..?
With "-r 0" option in snmp request and agentxRetries as 0, there should
be only one request received by the subagent.
Are you sure snmpd is reading the same file "snmpd.conf" in which you
added "agentxRetries 0"..?
[You can check that by adding some invalid token/data in snmpd.conf and
see if it throws any error ]
Did you mention retries as 0 ( -r 0) while sending snmp request..?
Regards,
Suresh.
-----Original Message-----
From: snmpgi [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 4:02 PM
To: Pamidipati Suresh-G20238; net-snmp-users@lists.sourceforge.net
Subject: RE: How to control agent sending SNMP request multiple times
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,
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
<http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo
/mail/yahoomail/tools/tools-08.html/> it now
_____
Why delete messages? Unlimited storage is just
<http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo
/mail/yahoomail/tools/tools-08.html/> a click away.
-------------------------------------------------------------------------
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/
_______________________________________________
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