Re: [PATCH] agent: change type of snmp_enableauthentraps to long

2011-07-25 Thread Brad Huntting
How can using an explicitly sized int32_t expose more archetectual differences than using an archetecturely dependent long? Brad On Jul 23, 2011 11:43 PM, Garrett Cooper yaneg...@gmail.com wrote: On Sat, Jul 23, 2011 at 5:18 PM, Ilya Yanok ya...@emcraft.com wrote: Hi Robert, On 19.07.2011

patches from 5.4.2.1 to 5.5

2011-07-25 Thread Rudd, Michael
Currently we are building net-snmp version 5.4.2.1 / 12.fc11. We had numerous patches we had downloaded to apply as well as a few of our own. Now we are moving to centos 6 which has version 5.5 / 27.el6_0.1. We've noticed some of the 5.4.2.1 patches are applied to the source code and some

net-snmp 5.7 host mib missing part of hrStorageTable

2011-07-25 Thread Dennis Andrews
I downloaded net-snmp 5.7 (net-snmp-5.7.tar.gz) and built it with my normal build environment which includes the host mib, and discovered that it was building with an hrh_storage module. So I started looking at the host mib. A walk of the mib produced ( actually didn't produce ) the FixedDisk

HPUX question

2011-07-25 Thread Hegedus, John
I have app 100 HPUX 11.23 servers running iexpress net snmp App 25 of them have errors with snmpwalk as follows ./snmpwalk -c sa1nt wpsscc00 Timeout: No Response from wpsscc00 All others are working fine Can you tell me what to look for in diagnosing this problem? Best Regards

Re: [PATCH] agent: change type of snmp_enableauthentraps to long

2011-07-25 Thread Bart Van Assche
On Sun, Jul 24, 2011 at 8:06 PM, Garrett Cooper yaneg...@gmail.com wrote: FWIW I'm assuming that sizeof(int32_t) == sizeof(int) on all architectures until proven otherwise: There has been a time that sizeof(int) == 2 for most compilers. Net-SNMP development started back then. Bart.

Re: patches from 5.4.2.1 to 5.5

2011-07-25 Thread Bart Van Assche
On Fri, Jul 22, 2011 at 10:37 PM, Rudd, Michael michael.r...@tekelec.comwrote: Currently we are building net-snmp version 5.4.2.1 / 12.fc11. We had numerous patches we had downloaded to apply as well as a few of our own. * *** ** ** Now we are moving to centos 6 which has version 5.5 /

Re: [PATCH] agent: change type of snmp_enableauthentraps to long

2011-07-25 Thread Robert Story
On Sun, 24 Jul 2011 04:18:26 +0400 Ilya wrote: IY Why do we use long to store 32bit integers? Shouldn't we change it to be IY int32_t? At very least we should make it 'transparent' to the MIB code: IY it should be possible to register watched ASN_INTEGER instance with 4 IY bytes size and this

Re: net-snmp 5.7 host mib missing part of hrStorageTable

2011-07-25 Thread Niels Baggesen
On Fri, Jul 22, 2011 at 05:00:20PM -0700, Dennis Andrews wrote: I downloaded net-snmp 5.7 (net-snmp-5.7.tar.gz) and built it with my normal build environment What OS? /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not

Re: IPv6 entries not at MIBII tables with net-snmp V5.7

2011-07-25 Thread Robert Story
On Thu, 21 Jul 2011 22:26:58 +0200 Claus wrote: CK while working on my UBUNTU linux system with net-snmp V5.7 I missed most CK of the IPv6 configuration at the MIBII if, ip, and route-tables. CK So I tested the the net-snmp V5.6 with the same configuration and it CK works fine! Can you check

Re: net-snmp V5.7: error cannot find MIB module ...

2011-07-25 Thread Robert Story
On Sun, 24 Jul 2011 23:45:29 +0200 Claus wrote: CK When I use a snmpcmd as non root I get always errors about MIB loading. CK CK How can I prevent this? CK What has been changed with V5.7 about mib index handling? It's a bug.. Here's a temporary patch that can be applied to the source...

Re: net-snmp V5.7: error cannot find MIB module ...

2011-07-25 Thread Claus Klein
Thanks, that helps! A note about the general Mib index handling: The default is to create the MIB index at the persistentDir. But the default is owned by root and readonly, or sometime as on my macbook, not readable for users. So IMHO at leased the persistendDir should be configured at users

Re: net-snmp 5.7 host mib missing part of hrStorageTable

2011-07-25 Thread Thomas Anders
Niels Baggesen wrote: On Fri, Jul 22, 2011 at 05:00:20PM -0700, Dennis Andrews wrote: I downloaded net-snmp 5.7 (net-snmp-5.7.tar.gz) and built it with my normal build environment What OS? Based on the post, I'd say RHEL6. +Thomas