Re: [SNMP4J] Sending an object identifier

2010-06-30 Thread Gian Marco Gallo
Now I'm thinking that with the code I'm not able to 'hit' the right mib... Thanks in advance Il 29/06/2010 19:12, Frank Fock ha scritto: > Hi, > > Object identifiers are specified in dotted notation: > each sub-identifier separated by a dot ('.').

[SNMP4J] Sending an object identifier

2010-06-29 Thread Gian Marco Gallo
nGroup NOTIFICATION-GROUP END Thanks in advance -- Gian Marco Gallo Elaide SRL Email: gianmarco.ga...@elaide.com Phone: +39 049 4102390 ___ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j

[SNMP4J] How to create a trap pdu

2010-06-24 Thread Gian Marco Gallo
= new ScopedPDU(); pdu.setType(ScopedPDU.TRAP); pdu.setContextName(new OctetString("CryptoExtWeb problem")); But now I don't understand how I can insert the values required by the .mib file. Should I create and construct a new object or what? Thanks for your help -- Gian Marco Gallo

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Gian Marco Gallo
- i.e., that you created with UsmUser. This tells what security settings > to use when sending traps (you can create more than one UsmUser with > different settings and use any of them in UserTarget). > > -Original Message----- > From: Gian Marco Gallo [mailto:gianmarco.ga...@elai

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Gian Marco Gallo
urity name, which is > first argument to UsmUser constructor. You use it later for adding this user > to USM instance (usm.addUser(user.getSecurityName(), user)). I just called > security name with "username", but it could be arbitrary string. > > -Original Messag

[SNMP4J] Unsupported security model

2010-06-22 Thread Gian Marco Gallo
imple snmp class. Thanks in advance -- Gian Marco Gallo Elaide SRL Email: gianmarco.ga...@elaide.com Phone: +39 049 4102390 package com.elaide.crypto.ext.web.snmp; import java.io.IOException; import org.apache.log4j.Logger; import org.snmp4j.ScopedPDU; import org.snmp4j.Snmp; import org.snmp4j.