On Tue, Oct 09, 2007 at 11:13:01PM +0100, Dave Shield wrote:
> On 03/10/2007, Pete Gillin <[EMAIL PROTECTED]> wrote:
> > Short version: I have a MIB which describes a table, and I want a
> > number of subagents on the machine to each provide one row of that
> > table.
> We don't have any documentat
On 12/10/2007, snmpgi <[EMAIL PROTECTED]> wrote:
> But I need another help. how can i check tat my agent is looking into which
> confi file from the 3 locations given above.?
Start the agent with the flags "-f -Le -Dread_config"
That will show you which config files are being read in.
It will
I'm using 5.4 version, and i added agentxRetries 0 in all the snmpd.conf
(/usr/local/share/snmp/snmpd.conf, /var/net-snmp/snmpd.conf
,/etc/snmp/snmpd.conf ) and its working fine now.
But I need another help. how can i check tat my agent is looking into which
confi file from the 3 locations give
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 reg
Hi,
I have a question concerning the netsnmp_extract_table_info() function.
My example:
for (request = requests; request; request = request->next) { char
szT1[80], szT2[80]; table_info = netsnmp_extract_table_info(request);
snprint_objid(szT1,sizeof(szT1)-1,request->requ
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 som
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 (snmpge
On 12/10/2007, repudi8or repudi8or <[EMAIL PROTECTED]> wrote:
> I would like to extend net-snmp to use some perl scripts producing output in
> a tabular format
> Ideally I want my snmp agent (in my case the Sun SMA Agent - net-snmp
> v5.0.9) to exec this script when polled and return the values in
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