Re: [SNMP4J] Sending an object identifier

2010-06-30 Thread Gian Marco Gallo
Hi Yeah, I've solved that problem but now I'm not sure I'm going in the right direction. In fact my code is: private PDU pdu; private Snmp snmp; private VariableBinding oid; private VariableBinding mib_method; private VariableBinding object; private

[SNMP4J] Sending an object identifier

2010-06-29 Thread Gian Marco Gallo
Good day I'm trying to send a notification with snmp4j and to add informations in my pdu (so the mib in the server can print the right message in the server log). So I've tried this: pdu = new PDU(); pdu.setType(PDU.TRAP); pdu.add(new

Re: [SNMP4J] Sending an object identifier

2010-06-29 Thread Frank Fock
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 informations in my pdu (so