Re: Is it policy to strip comments from the source code that we commit?

2010-05-21 Thread Omer Zak
Oh, this explains why I was forced to spend days (elapsed time weeks) understanding the Net-SNMP agent code, which I need to modify in order to implement an audit log feature. AARRRH!! A while ago, I posted to the Net-SNMP users mailing list a question about a guide to the source code

Re: Transport changes

2010-05-21 Thread Wes Hardaker
> On Thu, 20 May 2010 23:15:14 +0200, Magnus Fromreide > said: MF> With that said I have to admit to like using autoconf for things like MF> this. But that goes against all the other modular additions that we have in place. In particular, we don't require third-party plugin authors to

Re: CPU usage can't be shown correctly on ver:5.2.x

2010-05-21 Thread Wes Hardaker
> On Fri, 21 May 2010 18:34:20 +0800, "Brian Lu" said: BL> How can i get correct cpu usage value from ver:5.2.x ? BL> Any suggestions will be appreciated!!! The best thing to do, of course, is upgrade! Or compare the two releases and find the patch that fixes the problem. I believe, howeve

Re: Is it policy to strip comments from the source code that we commit?

2010-05-21 Thread Wes Hardaker
> On Fri, 21 May 2010 19:04:43 -0400, Doug Manley > said: DM> I've submitted numerous patches to the net-snmp project for errors so DM> esoteric that it took days to find and understand them. I'd have to go back and chase the details to figure out who committed the patch, why it might h

Re: Is it policy to strip comments from the source code that we commit?

2010-05-21 Thread Stephen Hemminger
On Fri, 21 May 2010 19:04:43 -0400 Doug Manley wrote: > Hi, team! > > I've submitted numerous patches to the net-snmp project for errors so > esoteric that it took days to find and understand them. > > In my painful searches through the commentless code, I built up an > understanding of the nec

Is it policy to strip comments from the source code that we commit?

2010-05-21 Thread Doug Manley
Hi, team! I've submitted numerous patches to the net-snmp project for errors so esoteric that it took days to find and understand them. In my painful searches through the commentless code, I built up an understanding of the necessary components and added in many comments to help steer people in t

CPU usage can't be shown correctly on ver:5.2.x

2010-05-21 Thread Brian Lu
Hi All I found the CPU usage can be shown almost correct on ver:5.5 but the cpu usage value is very high on ver:5.2.x How can i get correct cpu usage value from ver:5.2.x ? Any suggestions will be appreciated!!! Best regards, Brian Lu ---

Socket leak in snmpd process when trapsink is configured

2010-05-21 Thread surya prakash
Hi, We are using net-snmp version 5.4.2.1. We do see socket leakage in net-snmp when we add trap receiver to snmpd.conf file and sending a SIGHUP signal to snmpd process to update configurations. Continual update of snmpd.conf file followed by SIGHUP signal quickly makes the file descriptor co