Re: rfc: slight change to behaviour of -Dall

2010-02-23 Thread Magnus Fromreide
On Tue, 2010-02-23 at 10:04 -0500, Robert Story wrote: > On Tue, 23 Feb 2010 06:58:43 +0100 Magnus wrote: > MF> > I'd like to change that, and search for excluded tokens when -Dall is > MF> > specified. e.g. -Dall,-trace,-wtest > MF> > MF> I'd love that. > MF> I assume that the implication of that

Re: Autoconf version

2010-02-23 Thread Wes Hardaker
> On Tue, 23 Feb 2010 13:28:05 +0100, Jan Safranek > said: JS> Do we have any policy which autoconf/autoheader to use? I've noticed JS> autoconf-2.59 was the last used in the 5.2 branch and I have installed JS> autoconf-2.63 (Fedora 12) The policy is that we don't upgrade autoconf on

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2010-02-23 Thread Bart Van Assche
On Tue, Feb 23, 2010 at 4:21 PM, Robert Story wrote: > On Tue, 23 Feb 2010 09:11:40 +0100 Bart wrote: > BVA> Handling alarms via SIGALRM was already broken by r16831 ( > BVA> > http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=16831 > ). > BVA> In that revision a helper thread

Re: Problem with AgentX subagent and send_v2trap()

2010-02-23 Thread Robert Story
On Mon, 28 Dec 2009 15:37:08 -0500 Muhammad wrote: MAM> I'm having issues with sending traps using send_v2trap() from an AgentX MAM> subagent on Solaris 9. MAM> MAM> When the subagent sends series of traps, the subagent and master agent MAM> both get blocked on the sendto() call. It does not m

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2010-02-23 Thread Robert Story
On Tue, 23 Feb 2010 09:11:40 +0100 Bart wrote: BVA> Handling alarms via SIGALRM was already broken by r16831 ( BVA> http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=16831). BVA> In that revision a helper thread was added in BVA> agent/mibgroup/if-mib/data_access/interface_linu

Re: Autoconf version

2010-02-23 Thread Thomas Anders
Jan, > Do we have any policy which autoconf/autoheader to use? http://www.net-snmp.org/wiki/index.php/Build_System#Tool_Versions +Thomas -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself.

Re: custom container implementation

2010-02-23 Thread Robert Story
On Tue, 23 Feb 2010 15:27:33 +0100 Gerlando wrote: GF> How would I add the indexes to the snmp_container though (if, for GF> instance, rows are added from another thread)? I would have to make the GF> other threads SNMP-aware, which is not something I'd love to do. Well, you have two choices.

Re: rfc: slight change to behaviour of -Dall

2010-02-23 Thread Robert Story
On Tue, 23 Feb 2010 06:58:43 +0100 Magnus wrote: MF> > I'd like to change that, and search for excluded tokens when -Dall is MF> > specified. e.g. -Dall,-trace,-wtest MF> MF> I'd love that. MF> I assume that the implication of that is to treat ALL as the name of the MF> empty string ALL currently

Re: SF.net SVN: net-snmp:[18190] trunk/net-snmp/snmplib/snmp_api.c

2010-02-23 Thread Robert Story
On Tue, 23 Feb 2010 06:17:23 +0100 Magnus wrote: MF> You are using %zu - the z length specifier is new in C99 and I have not MF> heard about a baseline change. The correct thing to do is to use MF> MF> printf("bla bla %" NETSNMP_PRIz "u bla bla...", ...) I wondered about that... Thanks.. --

Re: Autoconf version

2010-02-23 Thread Robert Story
On Tue, 23 Feb 2010 13:28:05 +0100 Jan wrote: JS> Do we have any policy which autoconf/autoheader to use? I've noticed JS> autoconf-2.59 was the last used in the 5.2 branch and I have installed JS> autoconf-2.63 (Fedora 12). Fedora should have an autoconf259 package you can install... Use that t

Re: custom container implementation

2010-02-23 Thread Gerlando Falauto
On 02/23/2010 03:47 AM, Robert Story wrote: > On Mon, 22 Feb 2010 23:02:54 +0100 Gerlando wrote: > GF> Or are you suggesting I don't even create a new container type (and use > GF> the standard container to keep just the indexes of the existing rows, > GF> and then use that information in my own

apps/snmptrap.c

2010-02-23 Thread maxim maxim
Where i can to find some explanation about 'apps/snmptrap.c'? Thanks -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for

Autoconf version

2010-02-23 Thread Jan Safranek
Hi, I'm working on compilation with new rpm-4.6 (see SVN rev. 18193). I've added some checks to e.g. V5-2-patches/net-snmp/configure.in and now I need to generate new configure script. Do we have any policy which autoconf/autoheader to use? I've noticed autoconf-2.59 was the last used in the 5

Re: traps v1 and 2

2010-02-23 Thread Dave Shield
On 23 February 2010 10:53, maxim maxim wrote: > 1. Can i send the trap only from snmp agent or subagent? The agent (/subagent) can send traps - yes. See the man page 'snmp_trap_api(3)' There are examples of this in the file agent/snmpd.c But this is not the *only* way you can send traps. > 2.

traps v1 and 2

2010-02-23 Thread maxim maxim
Hi to all, I new in a net-snmp. I try to send traps in SNMPv1 and SNMpv2, and i have some questions? 1. Can i send the trap only from snmp agent or subagent? If yes i need some examples. 2. If no i have the application for get message (the file is attached), how i can to change it for sending the

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2010-02-23 Thread Bart Van Assche
On Tue, Feb 23, 2010 at 6:02 AM, Robert Story wrote: > On Mon, 21 Dec 2009 09:47:00 +0100 Bart wrote: > BVA> If I do not receive any feedback, I will apply the patch below whithin > BVA> a few days. This patch does not modify the behavior of the Net-SNMP > BVA> agent itself (snmpd). It only modif