[SNMP4J] Access denied when sending out a notification

2009-07-15 Thread Jozsef Lazar
Hi,

I'm using the modified version of the TestAgent.java code with my own 
test scalars and stuff. As soon as I try to send out a notification I 
receive the following:

INFO: Notification 1.3.6.1.4.1.33687.1.2.0.1 issued with 
[1.3.6.1.4.1.33687.1.1.2.2.0 = bubu]
2009.07.15. 16:54:24 org.snmp4j.log.JavaLogAdapter log
WARNING: Access denied by VACM for 1.3.6.1.4.1.33687.1.2.0.1
2009.07.15. 16:54:24 org.snmp4j.log.JavaLogAdapter log
WARNING: Access denied by VACM for 1.3.6.1.4.1.33687.1.2.0.1

Any useful ideas? Thanks in advance.

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


Re: [SNMP4J] Turn on logging

2009-07-06 Thread Jozsef Lazar
Frank Fock wrote:
 Which logging adapter are you using?
log4j

 Frank

 Jozsef Lazar wrote:
 I have problems with my VACM and want find out what is that. Can 
 anyone please help me how can I turn on debugging globally in SNMP4j 
 so that I can see all logger messages? I'm using the TestAgent.java 
 as agent.

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


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


[SNMP4J] USM question

2009-07-01 Thread Jozsef Lazar
Yes, but TestAgent extends BaseAgent and can overwrite the addUsmUser 
method. The AgentConfigManager class has no such method. How can I do it 
then? The same holds true for VIEWS.

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


Re: [SNMP4J] USM question

2009-07-01 Thread Jozsef Lazar
Frank Fock wrote:
 Joseph,

 The TestAgent example shows the USM/VACM initialization
 using code. This can be used with the SampleAgent too.
Yes, but TestAgent extends BaseAgent and can overwrite the addUsmUser 
method. The AgentConfigManager class has no such method. How can I do it 
then? The same holds true for VIEWS.

-- josef

 Best regards,
 Frank

 Jozsef Lazar wrote:
 I'm quite new to this topic so please be patient with me ;-)

 I'm trying to build a very simple agent with a few scalars (for test 
 only). This program is only a model for a real application. To make 
 things simple I took SampleAgent.java as an example and put my 
 scalars into it. I see that user authentication is done via the 
 property file. My question is how can I (using this agent model) do 
 it programmatically? Or should I use some other agent models? Please 
 give me a hint.

 -- joseph

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


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