Frank Fock | 1 Nov 2011 12:32
Favicon

Re: Description of issues fixed in SNMP4J?

Hi Kristoffer,

The JIRA system is not public. It is accessible for
all users which have a valid support contract.

The issue description was:
The Windows Vista JDK (versions unknown) throws a SocketClosed exception 
on a "Time-to-live exceeded" error although the socket can still be used.
Attached is a patch by XXXXXX which has been reported to solve this issue.

The solution description was:
Socket exceptions thrown in ListenThread no longer stops the thread if 
forwarding runtime exceptions is disabled in SNMP4JSettings.

Best regards,
Frank

Am 28.10.2011 15:43, schrieb Kristoffer Peterhaensel:
> Hey.
>
> I was wondering if there is supposed to be a public issue
> tracking system somewhere. Where we can see the full
> description of the issues fixed. Specifically I'd really
> like to know what SFJ-35 - that was fixed in 2.0.0 -
> covers. As we are seeing an issue where it seems SNMP4J
> will en up with a closed socket that never recovers,
> without us closing it in our code. So it would be helpful
> if this could possibly be a fix for that.
>
> Unfortunately it is very hard to reproduce that issue. So
(Continue reading)

Frank Fock | 1 Nov 2011 20:36
Favicon

Re: thread lock in org.snmp4j.mp.MPv3.prepareResponseMessage

Hi Shangtang,

No, I do not understand it. The stack traces do not indicate
an dead lock. Thus, some code in a notification handling
routine has not returned in a timely fassion.
But this code is not part of SNMP4J. So you will
have to debug that yourself.

Best regards,
Frank

Am 26.10.2011 12:30, schrieb shangtang wei:
> hi,Frank,
>
> we have 4 snmp instance, these share one mpv3 instance.
>
> the trap receiver thread pool have 50 threads, but only one thread works,
> others blocked. we configured 5k devices, when the snmp thread is blocked,
> some devices are in communication loss state.
> do you understand my question?
>
> thanks
> -shangtang
> On Wed, Oct 26, 2011 at 6:00 PM,<snmp4j-request@...>  wrote:
>
>> Send SNMP4J mailing list submissions to
>>         snmp4j@...
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.agentpp.org/mailman/listinfo/snmp4j
(Continue reading)

Frank Fock | 1 Nov 2011 21:25
Favicon

Re: usmStatsNotInTimeWindows and then usmStatsWrongDigests

Hi Adi,

The problem seems to be that the manager (SNMP4J) resets
its MPv3 cache, because enigne boots and engine time are
reset (0 and 7 instead 1 and 2861+7+x).

At time x after the first successful request was sent, someone
deleted the Snmp instance and/or the contained MPv3
object or used a second Snmp instance with a new MPv3
instance which did not had any cache entry for the specific
SNMPv3 target engine ID.

Best regards,
Frank

Am 25.10.2011 13:38, schrieb Adi Leibovich:
> Hi guys,
>
> We have a simple manager built over SNMP4J where we encounter the following situation:
>
> 1. Manager is trying to discover agent's engine id
> 2. Agent is returning report in response
> 3. Manager is sending set request
> 4. Agent is sending usmStatsNotInTimeWindows report
> 5. Manager tries to recover (I think) and sends another set request, agent responds
> 6. After 7 secs, manager seems to send another request, which cannot be decrypted by wireshark, and is
answered by usmStatsWrongDigests which my java wrapper then receives in the response pdu.
>
> Please see wireshark log below. Would very much appreciate your assistance on this.
>
(Continue reading)

Frank Fock | 1 Nov 2011 21:29
Favicon

Re: Please remove me from this list

Hi Fridtjof,

You can remove yourself through the same way you
subscribed at:
http://lists.agentpp.org/mailman/listinfo/snmp4j

Sending unsubscribe requests to the mailing list
is not polite, because several hundred people need
to read it.

Best regards,
Frank

Am 01.11.2011 20:37, schrieb Fridtjof Berlin:
> _______________________________________________
> SNMP4J mailing list
> SNMP4J@...
> http://lists.agentpp.org/mailman/listinfo/snmp4j
adireddy.aswin | 2 Nov 2011 02:54
Picon

Issues with SET on a read-write column

Resending the mail.

-----Original Message-----
From: Aswin, Adireddy 
Sent: Tuesday, November 01, 2011 5:33 PM
To: 'Frank Fock'
Subject: RE: [SNMP4J] Issues with SET on a read-write column

Hi Frank,

Thank you for a quick response. 
Here are my index definitions for the table mentioned earlier.

oidTestConfigEntry = new OID(new int[]{1, 3, 6, 1, 4, 1, 2197, 10, 1, 3, 12, 1});

OID oidIDXTestConfigHost = new OID(new int[]{1, 3, 6, 1, 4, 1, 2197, 10, 1, 3, 12, 1, 1});
OID oidIDXTestConfigParamName = new OID(new int[]{1, 3, 6, 1, 4, 1, 2197, 10, 1, 3, 12, 1, 2});

MOTableSubIndex[] testConfigEntryIndexes = new MOTableSubIndex[]{
    	moFactory.createSubIndex(oidIDXDispatcherRuntimeConfigHost, SMIConstants.SYNTAX_OCTET_STRING),
    	moFactory.createSubIndex(oidIDXDispatcherRuntimeConfigParamName, SMIConstants.SYNTAX_OCTET_STRING)
    };

MOTableIndex testConfigEntryIndex = moFactory.createIndex(testConfigEntryIndexes, false);

MOColumn[] testConfigEntryColumns =  new MOColumn[3];
testConfigEntryColumns[0]=
	    	 moFactory.createColumn(1,
	    				SMIConstants.SYNTAX_OCTET_STRING,
	    				moFactory.createAccess(MOAccessImpl.ACCESSIBLE_FOR_READ_ONLY)); // testConfigHost  
(Continue reading)

nadeesh t v | 2 Nov 2011 04:49
Picon

Fwd: snmpwalk

that means "snmpwalk" utility ur not supporting?

On Mon, Oct 31, 2011 at 2:53 PM, Frank Fock <fock@...> wrote:

> Hi,
>
> "snmpwalk" is not a SNMP operation.
> Thus, it cannot be "supported". If you mean:
> "Can I use SNMP4J to walk a (sub-)MIB-tree
> with SNMP4J?", then the answer is "yes".
>
> Best regards,
> Frank
>
> On 31.10.2011 09:29, nadeesh t v wrote:
> > whether snmp4j 2.0.2 supporting snmpwalk
> > _______________________________________________
> > SNMP4J mailing list
> > SNMP4J@...
> > http://lists.agentpp.org/mailman/listinfo/snmp4j
>
> --
> AGENT++
> http://www.agentpp.com
> http://www.snmp4j.com
> http://www.mibexplorer.com
> http://www.mibdesigner.com
>
> _______________________________________________
> SNMP4J mailing list
(Continue reading)

nadeesh t v | 2 Nov 2011 11:25
Picon

snmp4j v3 configuration

hi ,

 Regarding this I guess this is my 3rd mail.

      I am an SNMP application developer. I am using your snmp4j-2.0.2.
I am trying snmpv3 get request.If am setting all the security related
parameters
I am getting the correct values. But if am giving anything wrong
(authUsername,passwd ,protocol etc) It's not returning the error. Some time
i
am getting some garbage values and some time I am getting error response as
null.

I am using Webnms SNMP agent simulator.

Earlier everything was perfectly fine with Netsnmp5.6.1 Manager  and same
agent

I am eagerly waiting for ur reply . Because then only I can proceed whether
to use snmp4j or not.

Expecting some reply

Regards,
Nadeesh TV
Peter Verthez | 2 Nov 2011 13:36
Favicon

Re: SnmpV3 Encryption Provider as Configurable parameter

Hi Frank,

To elaborate on this (because the context wasn't really explained in the 
original mail of Jones):

We found that in performance tests on our product (with a big number of 
agents) that there was a high thread contention for SNMPv3 managed 
agents.   A jstack showed that a lot of our threads were running in the 
following stack frame at the moment of the jstack, which indicates that 
this functionality generates a relatively big load:

"JM-282" prio=3 tid=0x000000013f032800 nid=0x391 runnable 
[0xfffffffc89f38000]
    java.lang.Thread.State: RUNNABLE
     at sun.security.pkcs11.wrapper.PKCS11.C_DestroyObject(Native Method)
     at sun.security.pkcs11.SessionKeyRef.dispose(P11Key.java:1070)
     at 
sun.security.pkcs11.SessionKeyRef.drainRefQueueBounded(P11Key.java:1046)
     at sun.security.pkcs11.SessionKeyRef.<init>(P11Key.java:1061)
     at sun.security.pkcs11.P11Key.<init>(P11Key.java:97)
     at sun.security.pkcs11.P11Key$P11SecretKey.<init>(P11Key.java:374)
     at sun.security.pkcs11.P11Key.secretKey(P11Key.java:266)
     at 
sun.security.pkcs11.P11SecretKeyFactory.createKey(P11SecretKeyFactory.java:222)
     at 
sun.security.pkcs11.P11SecretKeyFactory.convertKey(P11SecretKeyFactory.java:131)
     at sun.security.pkcs11.P11Cipher.engineGetKeySize(P11Cipher.java:828)
     at javax.crypto.Cipher.b(DashoA13*..)
     at javax.crypto.Cipher.a(DashoA13*..)
     at javax.crypto.Cipher.a(DashoA13*..)
(Continue reading)

Binh Le | 2 Nov 2011 21:23
Picon

SampleAgent/AgentConfigManager with persistent data ?

Greetings,

I tried to run the SampleAgent by both indicating "-c
persistentConfig" file and runtime  and hardcoded a value for
configFile in SampleAgent.java, but whatever configuration I applied
to the agent during its life were not stored and I didn't see that
persistent file created after hitting Ctrl-C to terminate the agent.
Can someone help to tell what I am missing?

Thanks,
Binh.
Binh Le | 2 Nov 2011 21:30
Picon

Re: SampleAgent/AgentConfigManager with persistent data ?

Found that I missed the shutdown hook :).

Thanks,
Binh.

On Wed, Nov 2, 2011 at 1:23 PM, Binh Le <lpbinh@...> wrote:
> Greetings,
>
> I tried to run the SampleAgent by both indicating "-c
> persistentConfig" file and runtime  and hardcoded a value for
> configFile in SampleAgent.java, but whatever configuration I applied
> to the agent during its life were not stored and I didn't see that
> persistent file created after hitting Ctrl-C to terminate the agent.
> Can someone help to tell what I am missing?
>
> Thanks,
> Binh.
>

Gmane