Re: Dynamic Row Creation/Deletion using "RowStatus" Col

2005-10-11 Thread devsingh
Hi Robert, Thank you so much. Yes, you are right!. This script "mib2c.access_functions.conf" is part of "mib2c -c mib2c.iterate_access.conf" script. The following steps which I followed: step1: mib2c spiConnEntry /* Table Name */ step2: It asks for options like : 1) ucd-snmp style code

Re: Question about processing request in Net-SNMP

2005-10-11 Thread Ronnel P. Maglasang
as a general approach for udp based apps, forking a new process for processing each message is not a good idea, you basically consumes much of the cpu/memory resouces. there is already buffering implementation at the ip stack layer. If you're noticing the agent missing some of the request (due to

Re: duplicate tokens

2005-10-11 Thread Dave Shield
DS> There's DS> nothing inherently different between that situation, and a pair DS> of 'agentSecName'/'iquerySecName' settings. > Yes there is - mainly that the user has no idea that they are referring > to the same thing! They will if they can be bothered to read the documentation. (Once I've ha

Re: 5.2.x netsnmp_assert

2005-10-11 Thread Thomas Anders
Robert Story wrote: On Sun, 09 Oct 2005 23:41:05 +0200 Thomas wrote: TA> I'm able to reproducibly trigger a TA> TA> netsnmp_assert requests->agent_req_info == asp->reqinfo failed TA> snmp_agent.c:2374 netsnmp_check_requests_status() TA> TA> in V5-2-patches (but not in MAIN) when doing a SNMPv3

Re: Problems with tables in the same agent

2005-10-11 Thread Robert Story
On Mon, 10 Oct 2005 10:59:59 -0300 Jordan wrote: JJLDS> I´ve developed a agent with 2 tables(control table and result table). JJLDS> When I query the agent with snmpget or snmpset everything goes fine. JJLDS> The problem is when I use snmptable. If the control table is empty, a JJLDS> segmentation

Re: Question about processing request in Net-SNMP

2005-10-11 Thread Robert Story
On Tue, 11 Oct 2005 14:34:51 +0800 Pingping wrote: PH> Can Net-SNMP agent buffer requests? If can, how many request? No. The underlying OS may buffer incoming requests, but net-snmp processes them as they come in. PH> I trace the codes, It seems snmpd doesn't fork new process to process the PH>

Re: configure.in

2005-10-11 Thread Robert Story
On Tue, 11 Oct 2005 23:12:05 +1000 Andrew wrote: AH> CVS timestamp 2005:10:11:12:56:58UTC AH> AH> Is there an unmatched EOF at around line 1306? Yep. Fixing now, thanks for the note! -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: CVS: net-snmp/snmplib read_config.c,5.38

2005-10-11 Thread Robert Story
On Tue, 11 Oct 2005 00:15:30 +0200 Thomas wrote: TA> Robert Story wrote: TA> > - break apart reading of config files and persistent config files (allows TA> > proper handling of persistentDir token in config files) TA> TA> Can you please elaborate? What problems did you fix this change? Sure...

Re: 5.2.x netsnmp_assert

2005-10-11 Thread Robert Story
On Sun, 09 Oct 2005 23:41:05 +0200 Thomas wrote: TA> I'm able to reproducibly trigger a TA> TA> netsnmp_assert requests->agent_req_info == asp->reqinfo failed TA> snmp_agent.c:2374 netsnmp_check_requests_status() TA> TA> in V5-2-patches (but not in MAIN) when doing a SNMPv3 SET (multiple TA> va

Re: (no subject)

2005-10-11 Thread Robert Story
On Sun, 9 Oct 2005 15:04:58 +0530 Bharat wrote: BS> 1)What is the effect of configuring static routes over serial ip on the arp BS> cache/atTable? I don't see why it would matter where the configuration came from. BS> 2) in mib2 rfc(1213) i noticed BS> ipRouteNextHop OBJECT-TYPE BS> SYNTAX IpAd

Re: man pages installed in /

2005-10-11 Thread Robert Story
On Sat, 8 Oct 2005 17:43:16 +0100 Patrick wrote: PW> I find I need the attached patch (attached as it includes tabs) to stop PW> the man pages and mibs from being installed in /. It could be because I PW> am using fairly new autotools, indeed. What versions are you using? I don't think we can appl

Re: Dynamic Row Creation/Deletion using "RowStatus" Col

2005-10-11 Thread Robert Story
On Sat, 8 Oct 2005 12:12:35 +0530 [EMAIL PROTECTED] wrote: DCI> - To generate the code I have used - DCI> "mib2c.access_functions.conf" scripts. That script is not intended to be used directly - is it part of the mib2c.iterate_access.conf. -- NOTE: messages sent directly to m

Re: rfc: mib dir .index

2005-10-11 Thread Dave Shield
On Tue, 2005-10-11 at 11:58 -0400, Robert Story wrote: > On Mon, 10 Oct 2005 15:20:25 +0100 Dave wrote: > DS> How about > DS> > DS> /var/net-snmp/mib-index.1 (2, 3, 4 ...) > DS> > DS> each file containing the name of the MIB directory concerned, > DS> followed by the list of MIB file/module

Re: duplicate tokens

2005-10-11 Thread Robert Story
On Mon, 10 Oct 2005 13:17:49 +0100 Dave wrote: DS> There's DS> nothing inherently different between that situation, and a pair DS> of 'agentSecName'/'iquerySecName' settings. Yes there is - mainly that the user has no idea that they are referring to the same thing! DS> I'm inclined to rely on pr

Re: rfc: mib dir .index

2005-10-11 Thread Robert Story
On Mon, 10 Oct 2005 15:20:25 +0100 Dave wrote: DS> On Fri, 2005-10-07 at 19:53 -0400, Robert Story wrote: DS> > On Fri, 07 Oct 2005 11:41:26 +0200 Thomas wrote: DS> > TA> Has anyone ever thought of replacing the ".index" handling with DS> > TA> something better? DS> > DS> > I'm sure it was done f

Re: net-snmp

2005-10-11 Thread Robert Story
On Sat, 8 Oct 2005 08:23:50 +0800 Yen Mei wrote: GYM> Could you please recommend me which net-snmp version or files to GYM> download and how to install or compile to avoid memory leak? Thanks. The most recent versions are the least likely to leak. I would stay away form 5.0.x. 5.1.x should be ok.

Re: rfc: generic table API

2005-10-11 Thread Robert Story
On Mon, 10 Oct 2005 13:51:34 +0100 Dave wrote: DS> What's the interface to this iteration mechanism? DS> I've had a quick poke through the 'container_binary_array.c' DS> file, and found mention of various _ba_iterator routines. DS> But what's the public interface that I should be using? void *it =

Re: On the opening of sockets

2005-10-11 Thread Robert Story
On Sun, 9 Oct 2005 13:12:24 +0200 Magnus wrote: MF> I can of course add another member, f_create_from_tstring_new or some such, MF> last in the struct and call that one if and only if the old one is NULL. MF> With this change everything except for the size of the struct is preserved, MF> It also su

Re: configure.in

2005-10-11 Thread Thomas Anders
Andrew Hood wrote: CVS timestamp 2005:10:11:12:56:58UTC Is there an unmatched EOF at around line 1306? What CVS branch? I get an error about command 'EOF' not found. When running what? autoconf? ./configure? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ---

configure.in

2005-10-11 Thread Andrew Hood
CVS timestamp 2005:10:11:12:56:58UTC Is there an unmatched EOF at around line 1306? I get an error about command 'EOF' not found. -- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who --- This S

Re: patches for build of net-snmp perl modules

2005-10-11 Thread Robert Story
On Tue, 11 Oct 2005 19:07:36 +1000 Danny wrote: DT> I finally managed to install a current version of NetSNMP completely DT> separate to the version already installed, and to also install the perl DT> modules under a non-system perl (/opt/bin/perl). DT> DT> I ran into a few problems which I believ

Re: perl path

2005-10-11 Thread Dave Shield
On Mon, 2005-10-10 at 16:56 -0700, Wes Hardaker wrote: > > On Mon, 10 Oct 2005 18:26:06 +0200, Thomas Anders <[EMAIL PROTECTED]> > > said: > > Thomas> is there a good reason why a few of the perl scripts we ship contain > a > Thomas> "#!/usr/local/bin/perl" shebang line rather than the

Question about processing request in Net-SNMP

2005-10-11 Thread Pingping Han
Hi,   I have a question:   Can Net-SNMP agent buffer requests? If can, how many request?   I trace the codes, It seems snmpd doesn't fork new process to process the accepted request. right?   Thank you very much.     - Thanks Aileen