Re: rfv: mem HAL for IRIX

2006-10-27 Thread Thomas Anders
Wes Hardaker wrote: >> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: > > Err, the one thing that worries about this patch is that you're hard > coding block size values in various places: > > TA> +mem->size = meminfo.physmem + (swaptotal*512/pagesz); >

Re: rfv: mem HAL for IRIX

2006-10-27 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: Err, the one thing that worries about this patch is that you're hard coding block size values in various places: TA> +mem->size = meminfo.physmem + (swaptotal*512/pagesz); ^^^ a

RE: rfv(?): 5.4 ucd-snmp/memory: memTotalFree

2006-10-27 Thread Bruce Shaw
I don't like changing behaviours in mid-stream. I've got some other concerns with swap etc. reporting but for the moment I'll +1 * -Coders, ucd-snmp/memory in 5.4 uses the mem HAL and has (in agent/mibgroup/ucd-snmp/memory.c): case MEMORY_FR

rfv: mem HAL for IRIX

2006-10-27 Thread Thomas Anders
-Coders, this patch fixes the new mem HAL code for IRIX to report figures that actually make sense and match those reported by the "top" utility. As memory figures are among the ones most often monitored, reporting bad values really sucks, IMHO, so please consider voting for inclusion in 5.4. Th

Re: rfv(?): 5.4 ucd-snmp/memory: memTotalFree

2006-10-27 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> ucd-snmp/memory in 5.4 uses the mem HAL and has (in TA> agent/mibgroup/ucd-snmp/memory.c): +1 assuming it works. Didn't test. -- Wes Hardaker Sparta, Inc. - Using

rfv(?): 5.4 ucd-snmp/memory: memTotalFree

2006-10-27 Thread Thomas Anders
-Coders, ucd-snmp/memory in 5.4 uses the mem HAL and has (in agent/mibgroup/ucd-snmp/memory.c): case MEMORY_FREE: /* XXX - or NS_MEM_TYPE_VIRTMEM */ mem_info = netsnmp_memory_get_byIdx( NETSNMP_MEM_TYPE_PHYSMEM, 0 ); if (!m

Re: RFV: Enable & fix library DLL support for Windows

2006-10-27 Thread Wes Hardaker
AB> I would like to enable DLL support for the applications including AB> snmpd and snmptrapd. We currently only support using the library DLL AB> when building the Perl module. Looks good to me. -- Wes Hardaker Sparta, Inc. -

Re: rfv: fix mfd code to set length of bits

2006-10-27 Thread Dave Shield
On 27/10/06, Robert Story <[EMAIL PROTECTED]> wrote: > The code generated by the mfd template does not correctly calculate the length > of a bits field when all the bits between a byte boundary are 0, but a later > byte does have some bits set (eg 0x8f008e). This patch fixes the code > template.

Re: RFV: man page alias creation patch

2006-10-27 Thread Dave Shield
On 27/10/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > The patch below fixes the problem stated in patch #1578339 but in a > different way +1 Dave - Using Tomcat but need to do more? Need to support web services, security? G

Re: initializing scalars

2006-10-27 Thread Dave Shield
On 27/10/06, Avnindra Singh <[EMAIL PROTECTED]> wrote: > Yeah. I'm aware of the implementation in the main agent. Requirements > are to make it a part of a subagent. So configure the main agent to not include this module, and compile a subagent that *does* include these files. There's no need to

Re: Re: snmpd crash

2006-10-27 Thread Dave Shield
On 27/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > Forgot to give my snmpd.conf file. > rocommunity gbbf > rwcommunity gbbf >From the FAQ: How do I configure access control? - Note that it is *not* necessary (and not advisible) to specify the same c

Re: rc1 on friday or saturday or ...?

2006-10-27 Thread Thomas Anders
Wes Hardaker wrote: > The last week or so has been relatively stable and I'd like to release > a rc1 on the 27th - 29th or so (patch proposals being the biggest > thing to wait for). thoughts? I still need to come up with a minimized set of changes to fix the pain related to nlist errors on 64-bi

Re: rfv: fix mfd code to set length of bits

2006-10-27 Thread Thomas Anders
Robert Story wrote: > The code generated by the mfd template does not correctly calculate the length > of a bits field when all the bits between a byte boundary are 0, but a later > byte does have some bits set (eg 0x8f008e). This patch fixes the code > template. > > There is no code in any net-s

Re: rc1 on friday or saturday or ...?

2006-10-27 Thread Robert Story
On Thu, 26 Oct 2006 16:28:30 -0700 Wes wrote: WH> WH> The last week or so has been relatively stable and I'd like to release WH> a rc1 on the 27th - 29th or so (patch proposals being the biggest WH> thing to wait for). thoughts? I vote for Saturday, or late today (PST).

Re: rfv: fix mfd code to set length of bits

2006-10-27 Thread Wes Hardaker
> "RS" == Robert Story <[EMAIL PROTECTED]> writes: RS> The code generated by the mfd template does not correctly RS> calculate the length of a bits field when all the bits between a RS> byte boundary are 0, but a later byte does have some bits set (eg RS> 0x8f008e). This patch fixes the code t

rfv: fix mfd code to set length of bits

2006-10-27 Thread Robert Story
The code generated by the mfd template does not correctly calculate the length of a bits field when all the bits between a byte boundary are 0, but a later byte does have some bits set (eg 0x8f008e). This patch fixes the code template. There is no code in any net-snmp module that has this incorrec

Re: snmpd crash

2006-10-27 Thread Venkata Guddeti
Hi All I messed up my snmpd configuration some how, but I have not touched snmpd.conf though. Now my problem is that when I try to do snmpset on any of the writable variables, I get error "notWritable". I have done checks to see the how the agent is registering and the MIB file. They all seem to b

Re: RFV: man page alias creation patch

2006-10-27 Thread Thomas Anders
Wes Hardaker wrote: > The patch below fixes the problem stated in patch #1578339 but in a > different way (IE, the way we've been doing it in the past). But now > rather than creating a zillion .so files in CVS, the makefile > generates them and cleans them up... A bit more efficient. However, >

Re: RFV: man page alias creation patch

2006-10-27 Thread Robert Story
On Thu, 26 Oct 2006 16:27:28 -0700 Wes wrote: WH> The patch below fixes the problem stated in patch #1578339 but in a WH> different way (IE, the way we've been doing it in the past). But now WH> rather than creating a zillion .so files in CVS, the makefile WH> generates them and cleans them up...

Re: RFV: Enable & fix library DLL support for Windows

2006-10-27 Thread Thomas Anders
Alex Burger wrote: > The attached patch fixes the externs, and allows for building with the > DLL in the MSVC command line build system. > > This should not affect non-Windows in any way, and will only affect > Windows by allowing the user to build with the DLL without having to > modify the build

Re: initializing scalars

2006-10-27 Thread Avnindra Singh
I generated sub agent code for scalars in HOST-RESOURCES_MIB using: >> env MIBS="+HOST-RESOURCES-MIB" mib2c -c mib2c.scalar.conf hrSystem > > > I presume you realise that the Net-SNMP agent already implements this > particular group? (See agent/mibgroup/host/hr_system.c) > Dave, Thanks for you r