Re: [SNMP4J] Sending an object identifier

2010-06-30 Thread Gian Marco Gallo
Fock ha scritto: Hi, Object identifiers are specified in dotted notation: each sub-identifier separated by a dot ('.'). For example: 1.3.6.1.4.1 Best regards, Frank On 29.06.2010 12:39, Gian Marco Gallo wrote: Good day I'm trying to send a notification with snmp4j and to add

[SNMP4J] Sending an object identifier

2010-06-29 Thread Gian Marco Gallo
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
); 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 Elaide SRL Email: gianmarco.ga...@elaide.com Phone: +39 049 4102390

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Gian Marco Gallo
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 Message- From: Gian Marco Gallo [mailto:gianmarco.ga...@elaide.com] Sent: Wednesday, June 23

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Gian Marco Gallo
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...@elaide.com] Sent: Wednesday, June 23

[SNMP4J] Unsupported security model

2010-06-22 Thread Gian Marco Gallo
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.UserTarget