Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-08-30 Thread Wes Hardaker
> On Tue, 30 Aug 2005 00:27:36 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> NETSNMP_DS_LIB_DONT_PERSIST_STATE (a 3-in-1 for the above) hasn't been Thomas> touched yet and still needs a better name (IMHO). Further suggestions? The name is bound, unfortunately, by publication

Re: glibc detected double free error

2005-08-30 Thread Wes Hardaker
> On Tue, 30 Aug 2005 11:54:38 -0400, Robert Story <[EMAIL PROTECTED]> said: Robert> On Mon, 29 Aug 2005 02:54:45 -0700 (PDT) jigar wrote: JC> Now I do some gets and sets on master agent. And then just sending sigterm JC> signal to sub agent after sometime when snmp subagent is going to down i

Re: Multi-Proxy likely Solution

2005-08-30 Thread Rex Huang
Thanks, Robert. Maybe we will: In the Proxy's snmpd.conf, add lines like #proxy -Cn agent-A.sysUpTime.0 -v 2c -c public agent-A-ip sysUpTime.0 #proxy -Cn agent-B.sysUpTime.0 -v 2c -c public agent-B-ip sysUpTime.0 . . . #proxy -Cn agent-N.sysUpTime.0 -v 2c -c public agent

Re: On the opening of sockets

2005-08-30 Thread Robert Story
On Fri, 26 Aug 2005 15:41:36 +0200 Magnus wrote: MF> On Thu, Aug 25, 2005 at 09:27:19AM +0100, Dave Shield wrote: MF> The solution in snmptrapd.c at about line 1133 looks as if it would break MF> if an IPv6 numeric address, or just a netsnmp address with transport MF> specifier, is used. probably.

Re: On the opening of sockets

2005-08-30 Thread Robert Story
On Thu, 25 Aug 2005 09:27:19 +0100 Dave wrote: DS> On Wed, 2005-08-24 at 22:52 +0200, Magnus Fromreide wrote: DS> This feels like a hold-over from the change to a modular transport DS> system, which effectively deprecated the 'local_port' field. We DS> ran into a similar problem with the handling

Re: mem leak in net-snmp libs

2005-08-30 Thread Robert Story
On Tue, 30 Aug 2005 15:54:32 +0200 Radek wrote: RV> Now my understanding, which may well be incorrect, is that the callback RV> function is used to handle a response to the trap? Is that correct? If RV> so, why do we pass in a NULL pointer for the callback function? First of all, traps do not ge

Re: glibc detected double free error

2005-08-30 Thread Robert Story
On Mon, 29 Aug 2005 02:54:45 -0700 (PDT) jigar wrote: JC> Now I do some gets and sets on master agent. And then just sending sigterm JC> signal to sub agent after sometime when snmp subagent is going to down it JC> is showing the following glibc double free error. *** glibc detected *** JC> double

Re: SNMP v3 to SNMP V2 conversion

2005-08-30 Thread Robert Story
On Mon, 29 Aug 2005 13:09:56 +0530 Suresh (Suresh) wrote: PS> What I want to do is the following: PS> 1. host1 gets a SNMP v3 request. It converts the request to SNMP v2 and PS> forwards it to host2 who understands only SNMP v2. PS> 2. host2 sends back the response to host1 using SNMP v2. Yo

Re: Data types

2005-08-30 Thread Robert Story
On Fri, 26 Aug 2005 00:23:46 -0700 (PDT) Alaios wrote: A> Good norning to all ... poking aroung in the A> sources... i have noticed the following declarations A> [...] A> Can u plz me explain what SYNTAX_MASK stands for? Look up a little further at the comments. A> What i already know is the add_

Re: Multi-Proxy likely Solution

2005-08-30 Thread Robert Story
On Thu, 25 Aug 2005 14:22:50 +0800 Rex wrote: RH> It seems net-snmp cannot proxy to multi-SNMP-hosts (we say all of the RH> Agents). Sure it can. Why do you think it can't? -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consul

Re: Errors during net-snmp 5.2.x tests not recognized

2005-08-30 Thread Robert Story
On Tue, 23 Aug 2005 10:03:25 +0100 Dave wrote: DS> The problem with the RFC1213 tests is that they blindly assume DS> that all the objects being tested will be available (on every DS> architecture). So a missing object (which is *known* to be DS> missing on a particular system) will cause the test

Re: rfc: library SONAME

2005-08-30 Thread Robert Story
On Sat, 27 Aug 2005 00:20:30 +0200 Thomas wrote: TA> It looks like we're left with the following options: TA> TA> 1) leave things as-is (everyone seems to have voted against this) TA> 2) drop libtool and set SONAME by other means (likely yielding to TA> portability problems) TA> 3) hack our lo

Re: SNMP Programming

2005-08-30 Thread Robert Story
On 25 Aug 2005 10:48:39 +0530 Peeyush wrote: PB> I want to know the proper steps for configuring the SNMP protocol for PB> monitoring. PB> PB> I have done it using "snmpconf -g basic_setup". But after configuration PB> it is not working properly as i am not receving any snmp traps. Did you confi

mem leak in net-snmp libs

2005-08-30 Thread Radek Vokál
Hi folks, I've got a problem with net-snmp which upsets one of our customers. The problem is a high memory consumption. This problem refers to net-snmp-5.0.9 and it seems that its still present in net-snmp-5.0.10. I would appreciate any comments to this problem, thanks a lot... After further e

Re: Problem in mib2c when index of a table is of type IMPLIED

2005-08-30 Thread Robert Story
On Tue, 23 Aug 2005 11:27:59 +0530 Jyoti wrote: JY> I am facing a problem in generating code via mib2c when the index JY> element is of type IMPLIED. I am using Net-SNMP 5.0.8 version. I just JY> want to know is there any fix given to counter this problem? No, even some of the mib2c conf file in c

Re: rfc: shall "snmpd -u USER" imply "-r" for USER != root|#0?

2005-08-30 Thread Robert Story
On Thu, 25 Aug 2005 01:23:40 +0200 Thomas wrote: TA> is there a good reason to *not* set NETSNMP_DS_AGENT_NO_ROOT_ACCESS TA> (i.e. imply the "-r" option) if the agent is run as a *non-root* user TA> (through either "-u" option, "agentUser" token or setting TA> NETSNMP_DS_AGENT_USERID)? Not that

Re: MFD ifTable

2005-08-30 Thread Robert Story
On Thu, 25 Aug 2005 19:40:25 +0200 Torsten wrote: TZ> i´m just going nuts. to get in touch with net-snmp i try to go through the TZ> MFD ifTable tutorial. [...] i tried to run mib2c -c mib2c.mdf.conf ifTable TZ> but instead of getting all the funny files i get "Defaults for iftTable... TZ> unknown

Re: compile ucd-snmp mib for net-snmp

2005-08-30 Thread Robert Story
On Mon, 29 Aug 2005 08:06:49 -0700 (PDT) Alaios wrote: A> diffserv/diffServMib.c:6:20: config.h: No such file or A> directory Change the include to use net-snmp-config.h instead of config.h. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are reques