Re: Foot print size

2004-11-16 Thread Ajit Bhat
> On Sat, 13 Nov 2004 14:51:43 -0800 Ram wrote: > R> I am trying to reduce code size for my > snmp-agent. After selecting the > R> following configuration options my foot print > size is about 700 KB. > What platform and what compiler/toolchain you are using? = There are no cookbook meth

Re: Perl Module SNMP - set,get,fget,... regex bug

2004-11-16 Thread Alex Burger
Hi Max. Your break down of the regex should help me figure out why I changed it. I'll let you know what I find. It's too late for 5.2, so probably 5.2.1, 5.1.3. If the change is in 5.0.9, then the fix can go into 5.0.10 also. Thanks Alex Max Baker wrote: On Tue, Nov 16, 2004 at 08:31:20PM -05

Re: Perl Module SNMP - set,get,fget,... regex bug

2004-11-16 Thread Max Baker
On Tue, Nov 16, 2004 at 08:31:20PM -0500, Alex Burger wrote: > Hi Max. > That was my change. See patch 722075. I can't remember exactly why I > made the change, but I do remember changing it. I'll have to dig into > it a bit more to figure out what the reason was.. Thanks Alex, Let me know

RE: Problem to display OID (Index out of range)

2004-11-16 Thread Fong Tsui
I solve my problem by adding SIZE in the front of InetAddress when displaying as index. Thanks, Fong -Original Message- From: Robert Story (Coders) [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:35 PM To: Fong Tsui Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Pro

Re: Perl Module SNMP - set,get,fget,... regex bug

2004-11-16 Thread Alex Burger
Hi Max. Max Baker wrote: RE: The Perl module (SNMP::), of which my module SNMP::Info depends. Hi Coders, A user found a bug recently in SNMP.pm In the subs {get,set,fget,getnext,fgetnext,getbulk,bulkwalk} there is a regular expression that splits an OID from an iid. Code looks like this : #

Perl Module SNMP - set,get,fget,... regex bug

2004-11-16 Thread Max Baker
RE: The Perl module (SNMP::), of which my module SNMP::Info depends. Hi Coders, A user found a bug recently in SNMP.pm In the subs {get,set,fget,getnext,fgetnext,getbulk,bulkwalk} there is a regular expression that splits an OID from an iid. Code looks like this : # my ($tag, $iid) = ($va

RE: 5.2.rc3: fix for FreeBSD 5.2

2004-11-16 Thread Bruce Shaw
DS>I haven't looked at this in great detail (since I'm determined not to get sucked back into the mailing lists quite so quickly!), but I'd tend to agree. It feels to qualify under the working definition of "show stopper" that I floated last week, and it looks as safe as such things can be. DS>I'

Re: 5.2.rc3: fix for FreeBSD 5.2

2004-11-16 Thread Dave Shield
Robert> It seems that I was overly optimistic in hoping that there was Robert> a common structure for the ifIndex ioctl call Wes> I think this should be applied and warrants yet-another rc. Wes> Any other opinions? I haven't looked at this in great detail (since I'm determined not to get sucked b

Re: how to send context name in a v3 trap

2004-11-16 Thread madanagopal
> > On Tue, 9 Nov 2004 14:22:34 +0530 (IST), madanagopal <[EMAIL > > PROTECTED]> said: > > madanagopal> I want to send a v3 trap from agent. So i am using > madanagopal> send_v2trap(). I have defined v3 parameters using > madanagopal> trapsess line in snmpd.conf. But i want to send diffe

mtb and snmpwalk problems (bugs?)

2004-11-16 Thread P K
Hi, I'm using net-snmp-5.2.rc3. 1) I wrote some mib and then generated code using mib2c with mfd. In generated code there is no xyzTable_undo_setup function, but *interface.c assumes it's defined. Same with xyzTable_undo_cleanup fucntion. Same happes when I generate code for ifTable so problem is n

Re: snmp bogus ethernet traffic values

2004-11-16 Thread Peter Farrow
Hi Robert, Yes its an Opteron 242 (single), Thanks very much for that, you've confirmed my suspicion, can you point me to anywhere this might be documented.? ifconfig output gives the right values though Regards & best wishes Pete Robert Story (Coders) wrote: On Thu, 11 Nov 2004 20:18:08 +000

Re: Foot print size

2004-11-16 Thread Ram
Thank you Robert, I am trying to implement modules for external data. I am trying to map that external data to loop-context and data-context in table retrieval functions. This means I will ask agent to directly read/write data from the external location (actual location) if there is any get/s