[SNMP4J] AgentX problem

2009-11-30 Thread Fokusas
Hi,

When i try to register OID with subagent, and master agent shows me this
message:
*SEVERE: ASN.1 parse error (message is not a sequence)
Nov 30, 2009 9:57:32 AM org.snmp4j.log.JavaLogAdapter log
SEVERE: java.io.IOException: Unexpected end of input stream at position 2
*
What does it mean?

Fokusas
___
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


[SNMP4J] Trying to understand what snmp4jAgentJMX does and if it suits what I need.

2009-11-30 Thread Ben Katz
Hi,

I've been trying to write an snmp wrapper agent for my JMX Enabled
application which will translate all the information that is layd out in JMX
MBeans into SNMP attributes.

I'm a bit at loss in trying to understand where to start and what to use.
From what I've read, snmp4j is probably the go to snmp library for Java but
I couldn't manage to understand the code examples that are in the
Snmp4jAgent.

Also, from reading the description http://www.snmp4j.org/ for
SNMP4JAgentJMX in the authors web site I think Snmp4jAgentJMX could help me
write this agent but I could not understand how to use it. Actually, looking
at the example code (org.snmp4j.agent.mo.jmx.example.JMXTestAgent) I could
not find the part where the code registers with any MBean or JMX Factory,
which led me to assume that what I did not understand correctly what this
code does.

I would very much appreciate code examples and/or some tutorials or
documentation for someone who has not had experience with SNMP.

Thank you!!
___
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


Re: [SNMP4J] AgentX problem

2009-11-30 Thread Frank Fock
It means, someone send an incorrect message format.
If you need more information, please provide more
(i.e., versions, software you used for master and
subagent, configuration..)

Fokusas wrote:
 Hi,
 
 When i try to register OID with subagent, and master agent shows me this
 message:
 *SEVERE: ASN.1 parse error (message is not a sequence)
 Nov 30, 2009 9:57:32 AM org.snmp4j.log.JavaLogAdapter log
 SEVERE: java.io.IOException: Unexpected end of input stream at position 2
 *
 What does it mean?
 
 Fokusas
 ___
 SNMP4J mailing list
 SNMP4J@agentpp.org
 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
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


Re: [SNMP4J] AgentX problem

2009-11-30 Thread Fokusas
I am trying master agent and subagent from agentX library:
http://www.snmp4j.org/snmp4j-agentx-1.2.2.zip. Compiled them with Eclipse.
MasterAgent starting parameters: tcp:127.0.0.1/705 udp:127.0.0.1/705,
subagents starting parameters: 127.0.0.1/705
I am working on Win 7 OS.

**

2009/11/30 Frank Fock f...@agentpp.com

 It means, someone send an incorrect message format.
 If you need more information, please provide more
 (i.e., versions, software you used for master and
 subagent, configuration..)

 Fokusas wrote:

 Hi,

 When i try to register OID with subagent, and master agent shows me this
 message:
 *SEVERE: ASN.1 parse error (message is not a sequence)
 Nov 30, 2009 9:57:32 AM org.snmp4j.log.JavaLogAdapter log
 SEVERE: java.io.IOException: Unexpected end of input stream at position 2
 *
 What does it mean?

 Fokusas
 ___
 SNMP4J mailing list
 SNMP4J@agentpp.org
 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
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


[SNMP4J] (no subject)

2009-11-30 Thread Yogesh Joshi - ERS, HCL Tech


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
___
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j