rfv: net-snmp.spec patch for 64-bit

2006-11-22 Thread Thomas Anders
The attached patch fixes dist/net-snmp.spec to allow for building RPMs on 64-bit platforms by consistently using proper %{_libdir} (translating to /usr/lib64 on x86_64) instead of hard-coding /usr/lib. Tested on RHEL4/x86 and RHEL4/x86_64. I'm calling for quick votes to include this in 5.4. +Tho

RPM spec file updated for 5.4

2006-11-22 Thread Thomas Anders
I've just updated dist/net-snmp.spec in CVS MAIN. I've tested it on Fedora 5 i586 and it works for me. Is there anyone willing to test it on other Fedora versions (FC6 preferred), architectures (x86_64) and/or "--without embedded_perl"? Feedback appreciated. +Thomas -- Thomas Anders (thomas.a

Re: UCD MIB clarifications

2006-11-22 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: DS> I presume I'm free to go ahead and apply these changes then? Yep. DS> If I get the chance (and it's a bloody big if at the moment), DS> would people be happy for me to do a similar exercise with DS> some of the other groups? I'd say yes

FW: [osol-code] Re: freemem

2006-11-22 Thread Bruce Shaw
For what it's worth, he's the lowdown on how freemem is calculated for Solaris. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gavin Maltby Sent: Wednesday, November 22, 2006 3:38 AM To: Neale Ferguson Cc: [email protected] Subject: Re: [osol-

RE: UCD MIB clarifications

2006-11-22 Thread Bruce Shaw
DS> If I get the chance (and it's a bloody big if at the moment), DS> would people be happy for me to do a similar exercise with DS> some of the other groups? TA>Fine by me. Me, too. This communication is intended for the use of the recipient to which it is addressed, and may contain confidentia

Re: UCD MIB clarifications

2006-11-22 Thread Thomas Anders
Dave Shield wrote: > I presume I'm free to go ahead and apply these changes then? > > If I get the chance (and it's a bloody big if at the moment), > would people be happy for me to do a similar exercise with > some of the other groups? Fine by me. +Thomas -- Thomas Anders (thomas.anders at b

Re: snmp_parse_oid() function clarifications

2006-11-22 Thread Dave Shield
On 22/11/06, Shanmugha Mari <[EMAIL PROTECTED]> wrote: > I am using ifIndex as index for my one of the table, if the OID is say big > number (EX - 1.3.6.1.4.1.24625.2.1.4.2.1.1.268967936) . That should be fine. Each numeric subidentifier can be anything up to 2^32-1 (=4294967295) You're comfort

snmp_parse_oid() function clarifications

2006-11-22 Thread Shanmugha Mari
HI, I am using ifIndex as index for my one of the table, if the OID is say big number (EX - 1.3.6.1.4.1.24625.2.1.4.2.1.1.268967936) . The function snmp_parse_oid(const char *argv, oid * root, size_t * rootlen) is returning error, but for other OID it's working fine. So how to parse the Exa

Re: UCD MIB clarifications

2006-11-22 Thread Dave Shield
On 22/11/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > The changes (with comments taken care of) look good. I have only one > other suggestion and that's to rename "ErrorFlag" to "UCDErrorFlag" to > avoid the likely conflict with something else at some point. Yup - that's sensible (and easy to d

Re: UCD MIB clarifications

2006-11-22 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: DS> Of course. I'd forgotten about that clause. Dave, The changes (with comments taken care of) look good. I have only one other suggestion and that's to rename "ErrorFlag" to "UCDErrorFlag" to avoid the likely conflict with something else

Re: rfv: man page alias creation patch

2006-11-22 Thread Marcus Rueckert
hi, +1 for the patch darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge

Re: UCD MIB clarifications

2006-11-22 Thread Thomas Anders
Dave Shield wrote: > Updated patch attached A few initial minor remarks. Don't have time for a full review atm. > ucdavis MODULE-IDENTITY > -LAST-UPDATED "20061107Z" > +LAST-UPDATED "20061122Z" > ORGANIZATION "University of California, Davis" > CONTACT-INFO >

Re: rfv: man page alias creation patch

2006-11-22 Thread Thomas Anders
Wes Hardaker wrote: > 1) create a makefile rule for creating each alias file. I think this >is not as easily maintainable, but is probably the more proper >"make" solution in a strict sense. > > 2) create a temp file that acts as a "have done it" flag. This is >what the patch below d

Re: rfv: snmptrapd -A

2006-11-22 Thread Dave Shield
> snmptrapd in net-snmp 5.3 and later was meant to ship with a new "-A" option > to > append to the logfile rather than truncating it. > However, as correctly noted in bug #1587759, we've actually missed to add "-A" > to the list of legal options! Patch #1598968, submitted by Peter Eckel and > at

Re: rfv: fix #elif

2006-11-22 Thread Dave Shield
> Unfortunately there has been a small, but significant mistake in my patch that > neither my testing nor the reviews revealed. > The attached trivial patch (a slightly modified variant of his proposed patch > #1598966) fixes this. I'm calling for votes to apply this before 5.4 final. +1 This w

Re: UCD MIB clarifications

2006-11-22 Thread Dave Shield
On 22/11/06, Juergen Schoenwaelder <[EMAIL PROTECTED]> wrote: I suggest to use UNITS clauses to document units. Some applications can then show the appropriate unit automatically. Of course. I'd forgotten about that clause. Updated patch attached Dave Index: UCD-SNMP-MIB.txt ==

Re: UCD MIB clarifications

2006-11-22 Thread Juergen Schoenwaelder
On Wed, Nov 22, 2006 at 11:21:43AM +, Dave Shield wrote: > Please find attached the proposed changes to UCD-SNMP-MIB.txt. > This basically clarifies the descriptions of the memory and systemStats > groups - defining the actual behaviour in much greater detail, rather than > leaving things impl

UCD MIB clarifications

2006-11-22 Thread Dave Shield
Please find attached the proposed changes to UCD-SNMP-MIB.txt. This basically clarifies the descriptions of the memory and systemStats groups - defining the actual behaviour in much greater detail, rather than leaving things implicit or vague. I'd like to see this included in 5.4, if at all possi

Re: about netsnmp v3 traps

2006-11-22 Thread bhushan
thanks Sir, As you said i set like this in my conf trapsess -v 3 . localhost:162 snmp trap are received by snmptrapd so port number might be the problem. thanks you very much Sir Regards bhushan. E . Sonawane On 11/22/06, Dave Shield <[EMAIL PROTECTED]> wrote: On 22/11/06, bhushan <[EMAIL P

Re: about netsnmp v3 traps

2006-11-22 Thread Dave Shield
On 22/11/06, bhushan <[EMAIL PROTECTED]> wrote: > 1) trapsess -v 3 -e 0x010203040506 -a MD5 -A auth_password -l authPriv -u > my_user -x AES128 -X priv_password localhost > 2 )trap2sink localhost public 162 > dump of snmptrapd as follows when i send trap using my code > > Received 107 bytes