Re: [PATCH] agent: change type of snmp_enableauthentraps to long

2011-07-18 Thread Robert Story
On Mon, 18 Jul 2011 04:31:08 +0400 Ilya wrote: IY> Type of snmp_enableauthentraps variable is changed from int to long. IY> This fixes the bug with writing to snmpEnableAuthenTraps if server is IY> compiled for 64bit (snmpset reports wrong length). This bug was IY> introduced a long time ago (by fa

Re: snmp_sess_synch_response always returns STAT_TIMEOUT

2011-07-18 Thread Robert Story
On Sat, 16 Jul 2011 14:02:50 -0700 Shivanand wrote: SV> I have a multi-threaded app, that creates & uses netsnmp (5.5.2) sessions, SV> and performs snmp_sess_synch_response on them. Note that the v3 code is not thread safe. See README.threads. SV> however, every request to an alive snmpd fails wi

Re: SNMPV3 problems.

2011-07-18 Thread Robert Story
On Mon, 18 Jul 2011 08:51:51 +0530 Sudheer IN BLR SISL wrote: MSIBS> MSIBS> Is it ok to customize netsnmp library according to my requirements ? MSIBS> MSIBS> Any restrictions\complince are applicable to change the source code. See the licenses in COPYING in the top level directory of the source

Re: How to implement a very long enumerated variable

2011-07-18 Thread Robert Story
On Mon, 18 Jul 2011 10:28:58 +0200 Giuseppe wrote: GM> The only possibility I see to implement two SNMP variables in the agent is to store the last volume level inside the agent before muting the amplifier: GM> GM> old_volume = volume_get(); GM> volume_set(-1); GM> GM> So when the amplifier

Re: Debian Bug 593197

2011-07-18 Thread Robert Story
On Mon, 18 Jul 2011 14:26:13 -0400 Swaroop wrote: SS> - Yes we were able to reproduce this bug on version 5.2.3 SS> - The backtrace is below: 5.2.3 is pretty old and is unsupported. Also, the stack trace you included does not include line numbers, which makes it less useful. Please try and reprod

Re: How to implement a very long enumerated variable

2011-07-18 Thread Fulko Hew
On Mon, Jul 18, 2011 at 4:28 AM, Giuseppe Modugno wrote: > ** > On 15 Jul 2011 at 8:26, Fulko Hew wrote: > > On Fri, Jul 15, 2011 at 3:10 AM, Giuseppe Modugno > > wrote: > > > In this case, when the amplifier is muted, there's no idea > > > about the last gain level to restore w

Re: How to implement a very long enumerated variable

2011-07-18 Thread Giuseppe Modugno
On 15 Jul 2011 at 8:26, Fulko Hew wrote: > On Fri, Jul 15, 2011 at 3:10 AM, Giuseppe Modugno > wrote: > > In this case, when the amplifier is muted, there's no idea > > about the last gain level to restore when the switch is open > > again turning the encod

snmp_sess_synch_response always returns STAT_TIMEOUT

2011-07-18 Thread Shivanand Velmurugan
Hi, I have a multi-threaded app, that creates & uses netsnmp (5.5.2) sessions, and performs snmp_sess_synch_response on them. The query being made is SNMP v3 get, with authPriv, DES. however, every request to an alive snmpd fails with STAT_TIMEOUT. If I make the same request from the command line