Re: snmpd memory leak on overnight stress test ..

2009-02-25 Thread Magnus Fromreide
On Wed, 2009-02-25 at 22:44 -0800, Amit Kumar wrote: > please find the valgring traces : > ... lots of valgrind output... > Hi All, > > I am using net-snmp 5.4 version . while doing overnight stress > test i got a memory leak of 2 MB .. > i am not able to figure out the problem .. plea

snmpd memory leak on overnight stress test ..

2009-02-25 Thread Amit Kumar
Hi All,         I am using net-snmp 5.4 version . while doing overnight stress test i got a memory leak of 2 MB .. i am not able to figure out the problem .. please help me out ... Thanks in Advance.. Amit Kumar

net-snmp 5.4.2.1 'extend' "cat: write error: Broken pipe" when returning 9 or more lines of script results

2009-02-25 Thread Justin Amburn
Hi net-snmp community, I'm trying to use 'extend' functionality in 5.4.2.1 to feed indexed graph data to Cacti. I moved away from 5.1.2 because of the script looping issue with exec. Anyway, with 'extend', here's what I have going on: OS: RHEL4.6 Kernel: 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:

Re: Design options

2009-02-25 Thread Wes Hardaker
> On Wed, 25 Feb 2009 17:04:53 +0530, "Sanad Kumar Mishra" > said: SKM> So what all can be the design options for this. You should read: http://www.net-snmp.org/tutorial/ and the other related manual pages and documenation: http://www.net-snmp.org/docs/ http://www.net-snmp.org/

Re: Thesis

2009-02-25 Thread Wes Hardaker
> On Wed, 25 Feb 2009 16:03:43 +0100, Wim Calders > said: WC> Can somebody help me? You should read: http://www.net-snmp.org/tutorial/ and the other related manual pages and documenation: http://www.net-snmp.org/docs/ http://www.net-snmp.org/docs/man/ -- Wes Hardaker Sparta,

Re: Changing password first boot 5.3.2

2009-02-25 Thread Wes Hardaker
> On Wed, 25 Feb 2009 11:12:47 +, Dave Shield > said: DS> When creating a new user, it is an 'inconsistentName' DS> error for a set operation to refer to this object DS> unless it is previously or concurrently initialized DS> through a set operation on the corresponding instance DS>

RE: Question on SNMP version

2009-02-25 Thread Bell, Adam
Thanks for the pointer, will try it. -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Wednesday, February 25, 2009 5:56 AM To: Bell, Adam Cc: [email protected] Subject: Re: Question on SNMP version

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
By the way, one thing that I've notice in the tests that I'm sure that has already been notice by someone. If the "if" clause of "cloneFrom" is in place and if we create a user in persistent snmpd.conf that has limited oid access (defined in the other snmpd.conf), there is no way of changing thi

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
You're right. I was only considering one initial user. I understood your suggestion but it made me think. If the function for altering the password or key came from the USMUSEROWNAUTHKEYCHANGE or USMUSEROWNPRIVKEYCHANGE case of the switch placed on var_usmUser() then it indicates that the perso

Thesis

2009-02-25 Thread Wim Calders
Hi, I am Wim Calders from Belgium. For my thesis is NetSNMP installed. Now need to register a subagent, I tried "snmpconf", but it didn't work. The subagent is written in Perl (see files) and has to stand in "C:\Perl-script". The handler should work for oid "1.3.6.1.3.1.1" (experimental

Re: Changing password first boot 5.3.2

2009-02-25 Thread Dave Shield
2009/2/25 Sergio Cabaço : > The if condition that you pointed out in past mails, is the place where I'm > working. > I was thinking in placing another condition in the if clause that tests if it > is the only > existent user (complementing the cloneFrom test). No - that feels the wrong thing to

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
As I said, I'm trying to manipulate the source code in order to accept changes to the initial user's password in the first boot. The if condition that you pointed out in past mails, is the place where I'm working. I was thinking in placing another condition in the if clause that tests if it is

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
Ok, you're right. I have read Wes answer again and it was written with the meaning of what you've just said and not by the way I've read it. Thanks for the correction. I was misinterpreting his answer. So, in this case, I can change the source code in some of the places that you've pointed to o

Re: Changing password first boot 5.3.2

2009-02-25 Thread Dave Shield
2009/2/25 Sergio Cabaço : > There is no specification in the RFC that says that initial > master user can't change its own password in the first boot? Correct. The RFC specification doesn't say *anything* about "first boot". Once a user has been created (which is where the cloneFrom stuff comes in

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
I didn't answer to this and now I understand the Wes answer context. This aspect may resolve the problem with the initial user password change but it creates another problem. The problem with the cloned users that RFC specifies. I cannot comment out the if(uptr->cloneFrom) because it creates an

Design options

2009-02-25 Thread Sanad Kumar Mishra
Hi I am going to develop an SNMP agent using NetSNMP in linux. I had to come up with the design options for integrating my agent with the lower layer data model. What NetSNMP does is the stub code generation via mib2c tool. Required is the filling up of the TODO sections. The agent might b

Re: Changing password first boot 5.3.2

2009-02-25 Thread Dave Shield
2009/2/25 Sergio Cabaço : > I'm consulting the RFC 3414 and I'm not finding the place where it is > described that the initial user can't change its own password. That's not quite what Wes said. He claimed that: "...you can't set your password if the user hasn't been

Re: Question on SNMP version

2009-02-25 Thread Dave Shield
2009/2/24 Bell, Adam : > The table in question is using a Textual Convention definition for an > octet string that is fixed 18 bytes in length. > Therefore when encoding the index I expect > >        table.entry.firstrow.18bytesOfOID > rather than >        table.entry.18.18bytesOfOID. That sounds

Re: Copyright issues

2009-02-25 Thread Dave Shield
2009/2/24 Bell, Adam : > I have been requested to ask for some feedback from the net-snmp group > regarding the Copyright notices is the code files for net-snmp. > We see lots of > > Copyright Sun Microsystems > Copyright Carnegie Mellon University etc > How does this impact the GPL license

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
I'm consulting the RFC 3414 and I'm not finding the place where it is described that the initial user can't change its own password. Can you tell me which point or page talks about it? I'm asking this because I've only found the follow text "It is recommended to also instantiate a set of templ

Copyright issues

2009-02-25 Thread Bell, Adam
Hi All, I have been requested to ask for some feedback from the net-snmp group regarding the Copyright notices is the code files for net-snmp. We are running version 5.2.4 We see lots of Copyright Sun Microsystems Copyright Carnegie Mellon University Copyright Patrick Powell Copyright Network

RE: Question on SNMP version

2009-02-25 Thread Bell, Adam
Hi all, I have a very specific question about the encoding of a multi-oid table index. The table in question is using a Textual Convention definition for an octet string that is fixed 18 bytes in length. Therefore when encoding the index I expect table.entry.firstrow.18bytesOfOID rath

RE: Changing password first boot 5.3.2

2009-02-25 Thread Sergio Cabaço
Hello, Thank you very much. I'll take a look in the source code to see your advised changes. I'll also have to take a look in the RFC because if it says that the password, as Wes said, only can be change when the user is cloned, then I have a problem. Once again thank you very much. I'll make