Re: AgentX bug?

2010-05-17 Thread Dave Shield
On 17 May 2010 20:48, X Z wrote: >> Which version of the agent are you working with? > > 5.3.1. It would definitely be worth trying with either 5.5 or 5.4.3.rc3 If the problem still exists there, then it'll need further investigation. But that's probably the quickest way to check whether this is

RE: AgentX bug?

2010-05-17 Thread X Z
Please see my responses inline. > Date: Mon, 17 May 2010 19:54:29 +0100 > Subject: Re: AgentX bug? > From: d.t.shi...@liverpool.ac.uk > To: b...@live.com > CC: net-snmp-users@lists.sourceforge.net > > On 17 May 2010 16:57, X Z wrote: > > I added two scalars to NET-SNMP-EXAMPLES MIB: MyVal1 and

Re: AgentX bug?

2010-05-17 Thread Dave Shield
On 17 May 2010 16:57, X Z wrote: > I added two scalars to NET-SNMP-EXAMPLES MIB: MyVal1 and MyVal2 which are > ASN_COUNTER64 type. And I wrote an AgentX subagent to answer snmpget > requests for the two Counter64 scalars. > A snmpget on a single OID can return the correct value. > For example: > s

AgentX bug?

2010-05-17 Thread X Z
Hi, I added two scalars to NET-SNMP-EXAMPLES MIB: MyVal1 and MyVal2 which are ASN_COUNTER64 type. And I wrote an AgentX subagent to answer snmpget requests for the two Counter64 scalars. A snmpget on a single OID can return the correct value. For example: snmpget -v2c -c public xxx NET-SNMP-EXA

Re: skipNFSInHostResources

2010-05-17 Thread Dave Shield
On 17 May 2010 15:49, Jacob Steinberger wrote: > Are there any patches available for skipNFSInHostResources so it > affects the way Net-SNMP gathers data in all parts of the software? I > understand a patch wasn't ready for the 5.5 release, but I was hoping > something might be available. I am cu

setting ifAdminStatus when interface cannot go up

2010-05-17 Thread Lewis Adam-VNQM87
just wondering if anyone had any advice on how to handle a request to set ifAdminStatus up when the condition of the unit meant the operation could not currently be supported (e.g. ifOperStatus = notPresent). 1. Do we allow the ifAdminStatus to be set but happily ignore it (according to rfc 2863, s

skipNFSInHostResources

2010-05-17 Thread Jacob Steinberger
Are there any patches available for skipNFSInHostResources so it affects the way Net-SNMP gathers data in all parts of the software? I understand a patch wasn't ready for the 5.5 release, but I was hoping something might be available. Jacob -

Regarding snmpwalk.

2010-05-17 Thread Ankit Agarwal
Hi, I am new to snmp. I have install it on suse. And when i execute snmpwalk -v 2c -c public it executes but with some error logs in /var/log/snmpd.log file. 2010-05-17 16:24:37 netsnmp_assert !"cache == valid" failed mibII/ip.c:253 ip_handler() 2010-05-17 16:24:37 netsnmp_assert !"cache == v

Re: Delay in processing get next request for host MIB tree

2010-05-17 Thread A Singh
Hi Dave, Please find my answers below. On Thu, May 13, 2010 at 1:20 PM, Dave Shield wrote: > On 13 May 2010 05:27, A Singh wrote: >>> What happens if you compare the response times of >>> >>>      snmpget ... hrMemorySize.0 >>> and >>>      snmpgetnext   hrMemorySize >> >> Response time of b

Net-SNMP 5.4.3.rc3 and 5.2.6.rc3 available for testing

2010-05-17 Thread Dave Shield
New release candidate versions of the 5.4.x and 5.2.x packages are now available from the SourceForge download servers. The main changes since the rc2 versions are concerned with building under Windows (both using Visual Studio, Cygwin and MinGW) The 5.2.6 release is envisaged as being the final

Re: Please help me to fix a issue:Reason: authorizationError (access denied to that object)

2010-05-17 Thread Dave Shield
On 15 May 2010 14:48, 德顺 孟 wrote: > Now I add a user to the system: > > net-snmp-config --create-snmpv3-user -ro -a MD5 -A "" fff I'm no expert on SNMPv3 security, but I've got a feeling that repeated patterns in SNMPv3 passwords are a Bad Idea. > Then ,I run the bellow cmd

Please help me to fix a issue:Reason: authorizationError (access denied to that object)

2010-05-17 Thread 德顺 孟
Hi: I have already installed net-snmp (net-snmp-5.5),the whole setup process use the defaul value. Now I add a user to the system:     net-snmp-config --create-snmpv3-user -ro -a MD5 -A "" fff     Then ,I run the bellow cmd :     snmpget -v 3 -u fff -l authNoPriv -a MD5 -A 4