Re: [SNMP4J] BaseAgent vs AgentXMasterAgent

2012-05-08 Thread ravi theja
I have written a proxy agent and assigned set of oids in experimental
section . When i give snmpbulkget for respective oid am getting response ,
but this
only with 1st 3 oids which i have declared . For remaining oids when i give
a response   , i get this response ..

enterprises.4976.10.1.1.1.1.1.1.0 = STRING:
org.snmp4j.log.LogFactory@1484a05


How do i fix this ??

ANY HELP ???


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


Re: [SNMP4J] BaseAgent vs AgentXMasterAgent

2012-05-08 Thread Rob Morton

   Thanks Frank...:-)

On 5/7/2012 7:22 PM, Frank Fock wrote:
 Hi Rob,

 When converting from a BaseAgent based agent to a AgentXMasterAgent
 you will have to make some modifications on your agent class implementation,
 because the AgentXMasterAgent is AgentConfigManager based.

 You can compare the examples TestAgent (BaseAgent) and SampleAgent
 (AgentConfigManager). Once you have converted your agent similar
 to SampleAgent (using AgentConfigManager) converting that one
 to AgentXMasterAgent should be very easy. Basically you only have
 to exchange the config manager and set same additional options
 for AgentX.

 Best regards,
 Frank


 Am 04.05.2012 21:21, schrieb Rob Morton:
 Hi,

I have a BaseAgent-based snmp agent and want to be able to convert
 to an AgentXMasterAgent-based agent so that I can connect sub-agents
 to my Master agent in the future.

What is the path of least resistance?

 Thanks,
 Rob


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


Re: [SNMP4J] BaseAgent vs AgentXMasterAgent

2012-05-07 Thread Frank Fock
Hi Rob,

When converting from a BaseAgent based agent to a AgentXMasterAgent
you will have to make some modifications on your agent class implementation,
because the AgentXMasterAgent is AgentConfigManager based.

You can compare the examples TestAgent (BaseAgent) and SampleAgent
(AgentConfigManager). Once you have converted your agent similar
to SampleAgent (using AgentConfigManager) converting that one
to AgentXMasterAgent should be very easy. Basically you only have
to exchange the config manager and set same additional options
for AgentX.

Best regards,
Frank


Am 04.05.2012 21:21, schrieb Rob Morton:
 Hi,

   I have a BaseAgent-based snmp agent and want to be able to convert 
 to an AgentXMasterAgent-based agent so that I can connect sub-agents 
 to my Master agent in the future.

   What is the path of least resistance?

 Thanks,
 Rob


-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231

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